Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-07 Thread David C. Rankin
On Tuesday 01 December 2009 17:34:42 and regarding:
 Did you reboot during this time frame? Perhaps the alsa modules were
 loaded, and when you finally rebooted (on the 20th?), they weren't
 there to be re-loaded.

Oh, yes, sorry for not including that. This is on my laptop so it get booted at 
least once daily. I know I'm missing a piece of the puzzle here. Obviously the 
software was doing what it was supposed to, I just ended up in some whacked out 
config where -- the fact I ended up in that state is what took me by surprise. 
I didn't have time to pick this one apart 'log entry-by-log entry', so I just 
chocked it up to my reasonable suspicion of operator error :-)

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-04 Thread ludovic coues
2009/12/3 Raghavendra Prabhu raghu.prabh...@gmail.com


 haha...
 I think we may soon see RTFM replacing DTFG(Do the F* Googling) or
 something
 better


It is not Do that Friendly Google ? : )

-- 

Cordialement, Coues Ludovic
06 148 743 42
--
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-04 Thread Raghavendra Prabhu
It depends on what you put for F in RTFM,same thing in DTFG.

On Fri, Dec 4, 2009 at 5:57 PM, ludovic coues cou...@gmail.com wrote:
 2009/12/3 Raghavendra Prabhu raghu.prabh...@gmail.com


 haha...
 I think we may soon see RTFM replacing DTFG(Do the F* Googling) or
 something
 better


 It is not Do that Friendly Google ? : )

 --

 Cordialement, Coues Ludovic
 06 148 743 42
 --
 ()  ascii ribbon campaign - against html e-mail
 /\  www.asciiribbon.org   - against proprietary attachments



Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-03 Thread Raghavendra Prabhu



 Thanks again DR. Next time, just send me back the following link:

 http://www.justfuckinggoogleit.com/


haha...
I think we may soon see RTFM replacing DTFG(Do the F* Googling) or something
better




Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-02 Thread RedShift

David C. Rankin wrote:

Guys,

This is really strange. Sound used to work on my laptop, now it is just -- 
gone. The hardware hasn't changed (obviously):




David


Just an observation I'm making here, when I sift through the e-mail archives of 
the Arch e-mailinglist about every 7th or 8th post is yours... That's quite a 
lot compared to how many members are subscribed. When reading back those post 
most issues are trivial and solved 2 or 3 posts later... It also occurs to me 
you run testing as well - which will definitely break stuff as that is the 
nature of testing. The issue you've had right now would also have been 
prevented if you would have paid closer attention to pacman's output.


I'm not talking about your right to post to this list, I'm merely suggesting 
maybe you should take more time analyzing your problem instead of immediately 
posting your problem here.


Best regards,

Glenn


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-01 Thread David C. Rankin
On Monday 30 November 2009 18:08:21 and regarding:
 I'd guess that you have a corrupt filesystem and due to an fsck (or
 something else) the modules are gone.
 

Thank you for your help Flavio!

fsck was fine, but see my other post about files in /usr/x86_84-unknown-linux-
gnu and /usr/x86_84-unknown-linux-uclibc??

 Try doing a ls -la
 /lib/modules/2.6.31-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko.
 And this: pacman -Q kernel26 | grep snd-hda-intel
 

03:26 alchemy:~/dt/kdm/themes ls -la /lib/modules/2.6.31-
ARCH/kernel/sound/pci/hda/snd-hda-intel.ko
ls: cannot access /lib/modules/2.6.31-ARCH/kernel/sound/pci/hda/snd-hda-
intel.ko: No such file or directory

03:26 alchemy:~/dt/kdm/themes pacman -Q kernel26 | grep snd-hda-intel
You have mail in /var/mail/david


Yep, they're gone... WTF? How can I reinstall them? Hardly seems like a 
problem to warrant a wipe-and-reinstall, but at least I have all the current 
packages if that becomes necessary. I bet it was gnome that did it :p. I think 
I have another x86_64 Arch install for my laptop, maybe I could pull the 
missing files from there. But how to tell what I need to copy?



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-01 Thread Xavier
On Tue, Dec 1, 2009 at 10:32 AM, David C. Rankin
drankina...@suddenlinkmail.com wrote:

 03:26 alchemy:~/dt/kdm/themes ls -la /lib/modules/2.6.31-
 ARCH/kernel/sound/pci/hda/snd-hda-intel.ko
 ls: cannot access /lib/modules/2.6.31-ARCH/kernel/sound/pci/hda/snd-hda-
 intel.ko: No such file or directory

 03:26 alchemy:~/dt/kdm/themes pacman -Q kernel26 | grep snd-hda-intel
 You have mail in /var/mail/david


Maybe you also need to understand what you are doing and what the
commands mean instead of brainless copy/paste.

if /lib/modules/2.6.31-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko does
not exist, you need to go all the way up to /lib/modules to see what
exist, if anything at all.
You can also just 'find /lib/modules' to display all files in there.

and pacman -Q kernel26 tells you whether kernel26 is installed or not.
It's probably a good idea to check that too, maybe you removed it ?

You also need to check running kernel (uname -r) matches the one installed.

If you want to check which files are inside kernel26 , you have to do :
pacman -Ql kernel26

pacman -Ql kernel26 | grep snd-hda-intel
would be much more interesting and meaningful than
pacman -Q kernel26 | grep snd-hda-intel
which was just a small typo or overlook of Flavio.


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-01 Thread Flavio Costa
On Tue, Dec 1, 2009 at 1:11 PM, Xavier shinin...@gmail.com wrote:

 On Tue, Dec 1, 2009 at 10:32 AM, David C. Rankin
 drankina...@suddenlinkmail.com wrote:
 
  03:26 alchemy:~/dt/kdm/themes ls -la /lib/modules/2.6.31-
  ARCH/kernel/sound/pci/hda/snd-hda-intel.ko
  ls: cannot access /lib/modules/2.6.31-ARCH/kernel/sound/pci/hda/snd-hda-
  intel.ko: No such file or directory
 
  03:26 alchemy:~/dt/kdm/themes pacman -Q kernel26 | grep snd-hda-intel
  You have mail in /var/mail/david
 

 Maybe you also need to understand what you are doing and what the
 commands mean instead of brainless copy/paste.

 if /lib/modules/2.6.31-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko does
 not exist, you need to go all the way up to /lib/modules to see what
 exist, if anything at all.
 You can also just 'find /lib/modules' to display all files in there.

 and pacman -Q kernel26 tells you whether kernel26 is installed or not.
 It's probably a good idea to check that too, maybe you removed it ?

 You also need to check running kernel (uname -r) matches the one installed.


I was under the impression he was not using a custom kernel (since he didn't
mentioned) that why I didn't bother to check.



 If you want to check which files are inside kernel26 , you have to do :
 pacman -Ql kernel26

 pacman -Ql kernel26 | grep snd-hda-intel
 would be much more interesting and meaningful than
 pacman -Q kernel26 | grep snd-hda-intel
 which was just a small typo or overlook of Flavio.


Indeed it was a typo.

I image /lib/modules contains some stuff, otherwise his system would be
totally f***'ed up and prolly wouldn't boot (or just would have no devices
like network cards working at all, which doesn't appear to be the case).

-- 
Flávio Coutinho da Costa


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-01 Thread David C. Rankin
On Tuesday 01 December 2009 09:11:00 and regarding:

 
 Maybe you also need to understand what you are doing and what the
 commands mean instead of brainless copy/paste.
 

Xavier,

I appologize if I sounded flippant in my approach to copying files back to 
replace the sound modules, but rest assured that I understand fully what I'm 
doing when I do it and if not, I read until I do. (now granted, I have 
misunderstood a man page or two in my days ;-) This issue is just so off-the-
wall that it has caught me somewhat off guard. It seems so narrowly tailored 
to the sound system that it is like the last kernel install just omitted the 
sound modules (and I think it did -- see below)

 if /lib/modules/2.6.31-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko does
 not exist, you need to go all the way up to /lib/modules to see what
 exist, if anything at all.
 You can also just 'find /lib/modules' to display all files in there.
 

I picked through the modules previously and missed what I think is the whole 
problem with the sound -- and it does look like the last kernel install simply 
failed to install the modules. I think this split screen view from konqueror 
provides the evidence of what is going on (sound-preoss.tar.bz2 was never 
extracted and installed). In the konqueror screenshot, my laptop is shown in 
the left vertical pane and another Arch x86_64 box is shown in the right pane. 
Now I do not understand why sound-preoss.tar.bz2 wasn't installed on my 
laptop, but it contains all the sound files:

http://www.3111skyline.com/download/Archlinux/bugs/sound-preoss-bz2.jpg

[12:11 alchemy:/lib/modules/2.6.31-ARCH] # tar -tjf sound-preoss.tar.bz2 | 
grep intel
kernel/sound/pci/snd-intel8x0m.ko
kernel/sound/pci/hda/snd-hda-intel.ko
kernel/sound/pci/hda/snd-hda-codec-intelhdmi.ko
kernel/sound/pci/snd-intel8x0.ko


Where can I look to try and find the reason sound-preoss-bz2.jpg was left 
uninstalled?

Can you think of a reason this could have happened during an update? The only 
way I update packages for the system is throught pacman -Syu when doing an 
update and that shouldn't have said don't install the sound.

Not knowing more about the way Arch handles the sound-preoss.tar.bz2 file or 
what post processing is needed, I'm unclear how to proceed. Is it safer to 
attempt a reinstall of the kernel, or is it safe to just extract the sound 
modules and then use modprobe?

 and pacman -Q kernel26 tells you whether kernel26 is installed or not.
 It's probably a good idea to check that too, maybe you removed it ?
 
 You also need to check running kernel (uname -r) matches the one installed.
 

12:08 alchemy:~/dt/kdm/themes uname -r
2.6.31-ARCH

12:28 alchemy:~/dt/kdm/themes pmq | grep kernel
kernel-headers 2.6.31.5-1
kernel26 2.6.31.6-1
kernel26-firmware 2.6.31-1

Hmm, kernel headers is a minor version behind, but that's the latest with the 
current updates. That shouldn't have done it, should it?

 If you want to check which files are inside kernel26 , you have to do :
 pacman -Ql kernel26
 
 pacman -Ql kernel26 | grep snd-hda-intel
 would be much more interesting and meaningful than
 pacman -Q kernel26 | grep snd-hda-intel
 which was just a small typo or overlook of Flavio.
 

Agreed,

12:28 alchemy:~/dt/kdm/themes pacman -Ql kernel26 | grep snd-hda-intel
kernel26 /lib/modules/2.6.31-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko

It's there, it's just sitting in sound-preoss.tar.bz2 right now. How to 
proceed??


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-01 Thread David C. Rankin
On Tuesday 01 December 2009 12:39:23 and regarding:
 
 Google is your friend:
 
 http://www.lmgtfy.com/?q=sound-preoss.tar.bz2
 
 Click the first link and it'll shed some light.
 
 DR
 

Oh brother

Thank you DR:

checking dependencies...

Remove (1): oss-4.2_2002-1.1

Total Removed Size:   5.82 MB

Do you want to remove these packages? [Y/n]
OSS not loaded.
(1/1) removing oss  
[#] 100%

-
 Open Sound System was now removed, and the ALSA kernel
 modules were restored.

 Please note that OSS stores some of its configuration files
 at /usr/lib/oss. If you don't plan to use OSS anymore, you
 can remove this directory.
-

now let us see if this box will make noise again...

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-01 Thread David C. Rankin
On Tuesday 01 December 2009 12:48:02 and regarding:

 
 Remove (1): oss-4.2_2002-1.1
 
 Total Removed Size:   5.82 MB
 
 Do you want to remove these packages? [Y/n]
 OSS not loaded.
 (1/1) removing oss
 [#] 100%
 
 -
  Open Sound System was now removed, and the ALSA kernel
  modules were restored.
 
  Please note that OSS stores some of its configuration files
  at /usr/lib/oss. If you don't plan to use OSS anymore, you
  can remove this directory.
 -
 
 now let us see if this box will make noise again...
 


Bingo -- The box makes noise once again! And... as a bonus, learning has 
occurred as to how oss handles alsa kernel modules. I don't know what wanted 
oss, but oss does a good job wiping out alsa. But, the oss removal script that 
restores alsa works as it is supposed to. Alsa restored, module loaded and 
sound is back to normal (although with a cool mixer in kde 4.3.4)

Thanks again DR. Next time, just send me back the following link:

http://www.justfuckinggoogleit.com/

:p

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-01 Thread Flavio Costa
You could try to check /var/log/pacman.log to see why oss was installed.
(If it was still installed pacman -Qi would give you this sort of info I
guess)

On Tue, Dec 1, 2009 at 5:18 PM, David C. Rankin 
drankina...@suddenlinkmail.com wrote:

 On Tuesday 01 December 2009 12:48:02 and regarding:

 
  Remove (1): oss-4.2_2002-1.1
 
  Total Removed Size:   5.82 MB
 
  Do you want to remove these packages? [Y/n]
  OSS not loaded.
  (1/1) removing oss
  [#] 100%
 
  -
   Open Sound System was now removed, and the ALSA kernel
   modules were restored.
 
   Please note that OSS stores some of its configuration files
   at /usr/lib/oss. If you don't plan to use OSS anymore, you
   can remove this directory.
  -
 
  now let us see if this box will make noise again...
 


 Bingo -- The box makes noise once again! And... as a bonus, learning has
 occurred as to how oss handles alsa kernel modules. I don't know what
 wanted
 oss, but oss does a good job wiping out alsa. But, the oss removal script
 that
 restores alsa works as it is supposed to. Alsa restored, module loaded and
 sound is back to normal (although with a cool mixer in kde 4.3.4)

 Thanks again DR. Next time, just send me back the following link:

 http://www.justfuckinggoogleit.com/

 :p

 --
 David C. Rankin, J.D.,P.E.
 Rankin Law Firm, PLLC
 510 Ochiltree Street
 Nacogdoches, Texas 75961
 Telephone: (936) 715-9333
 Facsimile: (936) 715-9339
 www.rankinlawfirm.com




-- 
Flávio Coutinho da Costa


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-01 Thread David C. Rankin
On Tuesday 01 December 2009 15:23:22 and regarding:
 You could try to check /var/log/pacman.log to see why oss was installed.
 (If it was still installed pacman -Qi would give you this sort of info I
 guess)
 

Flavio,

It was installed on 11/6 along with emovix, libmms, cdrdao, 
libmodplug, 
speex, libshout, mpg123, libasyncns, pulseaudio, wavpack and quanta. I'm not 
sure which recommended it as an option. The weird part is that sound continued 
working as normal until just this past week. From 11/6 through ~ 11/20, sound 
worked fine. Then another install or update evidently brought the issue to 
life. All is good now. Thank you for your help.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-12-01 Thread Daenyth Blank
 Flavio,

        It was installed on 11/6 along with emovix, libmms, cdrdao, 
 libmodplug,
 speex, libshout, mpg123, libasyncns, pulseaudio, wavpack and quanta. I'm not
 sure which recommended it as an option. The weird part is that sound continued
 working as normal until just this past week. From 11/6 through ~ 11/20, sound
 worked fine. Then another install or update evidently brought the issue to
 life. All is good now. Thank you for your help.

Did you reboot during this time frame? Perhaps the alsa modules were
loaded, and when you finally rebooted (on the 20th?), they weren't
there to be re-loaded.


Re: [arch-general] Help - Sound Disappeared -- Really! All modules - Gone?? (kernel bug?)

2009-11-30 Thread Flavio Costa
I'd guess that you have a corrupt filesystem and due to an fsck (or
something else) the modules are gone.

Try doing a ls -la
/lib/modules/2.6.31-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko.
And this: pacman -Q kernel26 | grep snd-hda-intel

On Mon, Nov 30, 2009 at 9:57 PM, David C. Rankin 
drankina...@suddenlinkmail.com wrote:

 Guys,

 This is really strange. Sound used to work on my laptop, now it is just --
 gone. The hardware hasn't changed (obviously):

 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
Subsystem: Toshiba America Info Systems Device ff08
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
 Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow TAbort-
 TAbort- MAbort- SERR- PERR- INTx-
Latency: 64, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 10
Region 0: Memory at f870 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
 PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

 but, there is NO /sys/module/snd -- Huh?

 [01:06 alchemy:~] # lsmod|grep '^snd' | column -t
 (returns nothing, there are no snd modules at all)

 Further, there is no sound dev:

 [01:06 alchemy:~] # l /dev/snd
 (nothing...)

  I've been throught the alsa wiki and it is still gone. I've tried adding
 the
 right module, but it isn't even on the system anymore:

 [17:21 alchemy:/etc/modprobe.d] # modprobe snd-hda-intel
 FATAL: Module snd_hda_intel not found.

 [17:45 alchemy:/media/disk/david] # modprobe snd_hda_intel
 FATAL: Module snd_hda_intel not found.

 Additinally, KDE prompts me to delete removed sound device HDA ATI SB,
 ALC268
 Digital...

 Running SuSE 11.2 on the same box (different hard drive) shows the
 following
 modules are configured for sound (works fine):

 08:39 alchemy:~/.kde4/share/config lsmod | grep snd
 snd_pcm_oss60032  0
 snd_mixer_oss  22728  1 snd_pcm_oss
 snd_seq78528  0
 snd_seq_device 10460  1 snd_seq
 snd_hda_codec_realtek   317868  1
 snd_hda_intel  37088  2
 snd_hda_codec 12  2 snd_hda_codec_realtek,snd_hda_intel
 snd_hwdep  11216  1 snd_hda_codec
 snd_pcm   117808  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
 snd_timer  32152  2 snd_seq,snd_pcm
 snd97608  14

 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
 snd_page_alloc 12600  2 snd_hda_intel,snd_pcm

 Here is the hwinfo output from the suse install:

 21: PCI 14.2: 0403 Audio device
  [Created at pci.310]
  UDI: /org/freedesktop/Hal/devices/pci_1002_4383
  Unique ID: 5Dex.CWqchpyBRV6
  SysFS ID: /devices/pci:00/:00:14.2
  SysFS BusID: :00:14.2
  Hardware Class: sound
  Model: ATI SBx00 Azalia
  Vendor: pci 0x1002 ATI Technologies Inc
  Device: pci 0x4383 SBx00 Azalia
  SubVendor: pci 0x1179 Toshiba America Info Systems
  SubDevice: pci 0xff08
  Driver: HDA Intel
  Driver Modules: snd_hda_intel
  Memory Range: 0xf870-0xf8703fff (rw,non-prefetchable)
  IRQ: 16 (461488 events)
  Module Alias: pci:v1002d4383sv1179sdFF08bc04sc03i00
  Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: modprobe snd_hda_intel
  Config Status: cfg=no, avail=yes, need=no, active=unknown

 Now how do I get the sound to re-appear in Arch??



 --
 David C. Rankin, J.D.,P.E.
 Rankin Law Firm, PLLC
 510 Ochiltree Street
 Nacogdoches, Texas 75961
 Telephone: (936) 715-9333
 Facsimile: (936) 715-9339
 www.rankinlawfirm.com




-- 
Flávio Coutinho da Costa