LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: tyfrlj

6.0-testing-20041003已经完成,还有很多问题请大家帮忙

[复制链接]
发表于 2004-12-10 17:38:08 | 显示全部楼层
呵呵,这些问题全遇到了,这么好的帖子竟然沉了,真是可惜。
不知道楼主声卡问题解决了没有。在编译内核时在声音选择时有一项是关于/dev/dsp的,选择后就可以了。
不知道make xconfig 找不到QT 怎么解决。
已经设定QTDIR=/usr 还是提示找不到,郁闷
发表于 2004-12-31 21:29:17 | 显示全部楼层

linux2.6 alsa声卡的加载

你把 lsmod 列表贴出来看看
snd_pcm_oss 模块加载了吗?否则找补到 /dev/dsp 设备的。
Post by tyfrlj
其实很多编译通不过是gcc的问题,net-tools、zhcon...都是
zhcon的问题我这样解决
先下载zhcon-0.2.3.tar.gz和
http://gentoo.linuxsir.cn/downlo ... n-0.2.3-gcc34.patch
http://gentoo.linuxsir.cn/downlo ... 3-config.h.in.patch
两个补丁,放在同一目录下,然后用下面命令打补丁并编译安装:
tar -xvzf zhcon-0.2.3.tar.gz &&
cd zhcon-0.2.3 &&
patch -Np1 -i ../zhcon-0.2.3-config.h.in.patch &&
patch -Np1 -i ../zhcon-0.2.3-gcc34.patch &&
./configure && make && make install

现在最让我恼火的还是声卡问题,在以前安装过的所有发行版都可以正常使用,在LFS下怎么就认不出呢,alsaconf莫名其妙地已经可以运行了,可我实在是没有做过什么啊,但是检测结果却没有认出我的声卡
 楼主| 发表于 2005-2-16 15:31:30 | 显示全部楼层
好久没有玩LFS了,玩户外一段时间,工作忙了一段时间,楼上两位兄弟的建议我回去试试
昨晚发现我的LFS引导时有如下提示:

  1. ******************************************************
  2. * Warning: The dma on your hard drive is turned off. *
  3. * This may really slow down the fsck process.        *
  4. ******************************************************
  5. Reiserfs super block in block 16 on 0x302 of format 3.6 with standard journal
  6. Blocks (total/free): 502031/402203 by 4096 bytes
  7. Filesystem marked as cleanly umounted
  8. Filesystem seems mounted read-only. Skipping journal replay.
  9. Checking internal tree..finished                                                                                     [  OK  ]
  10. Remounting root file system in read-write mode...                                                                    [  OK  ]
  11. Recording existing mounts in /etc/mtab...                                                                            [  OK  ]
  12. Mounting remaining file systems...
复制代码


DMA的选项我记得在编译内核时打开了,难道弄错了?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-16 23:36:50 | 显示全部楼层
重新配置、编译了一下内核,UDMA正常了
不过我自己都没有明白,你们帮我看看两个配置文件,要是看出关键所在,不要忘了告诉我哦
cfg3是没有打开UDMA的配置文件,cfg4是打开UDMA的配置文件。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-16 23:46:38 | 显示全部楼层
声卡还是没有搞定,运行alsamixer可以正确认出声卡,但是运行alsaconf却认不出,下面是我的一次操作实例:

  1. root@[lfs]:~# ls /dev
  2. adsp       gpmctl  hda6   hdb3     log    null   ram3    snd     tap4     tty14  tty27  tty4   tty52  tty8      vcs2
  3. agpgart    hda     hda7   hdb4     loop0  port   ram4    stderr  tap5     tty15  tty28  tty40  tty53  tty9      vcs3
  4. arpd       hda1    hda8   hdb5     loop1  psaux  ram5    stdin   tap6     tty16  tty29  tty41  tty54  ttyS0     vcs4
  5. audio      hda10   hda9   hdb6     loop2  ptmx   ram6    stdout  tap7     tty17  tty3   tty42  tty55  ttyS1     vcs5
  6. cdrom      hda11   hdb    hdb7     loop3  pts    ram7    tap0    tap8     tty18  tty30  tty43  tty56  ttyS2     vcs6
  7. console    hda12   hdb1   hdb8     loop4  ram0   ram8    tap1    tap9     tty19  tty31  tty44  tty57  ttyS3     vcsa
  8. core       hda13   hdb10  hdb9     loop5  ram1   ram9    tap10   tcpdiag  tty2   tty32  tty45  tty58  ttyS4     vcsa1
  9. dnrtmsg    hda14   hdb11  hdc      loop6  ram10  random  tap11   tty      tty20  tty33  tty46  tty59  ttyS5     vcsa2
  10. dsp        hda15   hdb12  hdd      loop7  ram11  rawctl  tap12   tty0     tty21  tty34  tty47  tty6   ttyS6     vcsa3
  11. fb0        hda16   hdb13  initctl  lp0    ram12  route   tap13   tty1     tty22  tty35  tty48  tty60  ttyS7     vcsa4
  12. fd         hda2    hdb14  input    md0    ram13  route6  tap14   tty10    tty23  tty36  tty49  tty61  urandom   vcsa5
  13. fd0        hda3    hdb15  ip6_fw   mem    ram14  rtc     tap15   tty11    tty24  tty37  tty5   tty62  usersock  vcsa6
  14. full       hda4    hdb16  kmem     mixer  ram15  shm     tap2    tty12    tty25  tty38  tty50  tty63  vcs       xfrm
  15. fwmonitor  hda5    hdb2   kmsg     nflog  ram2   skip    tap3    tty13    tty26  tty39  tty51  tty7   vcs1      zero
  16. root@[lfs]:~# lsmod
  17. Module                  Size  Used by
  18. ntfs                  105716  1
  19. nls_cp936             121344  11
  20. vfat                   11776  5
  21. fat                    34208  1 vfat
  22. snd_mpu401_uart         5888  0
  23. snd_rawmidi            16576  1 snd_mpu401_uart
  24. snd_seq_device          5900  1 snd_rawmidi
  25. gameport                2944  0
  26. snd_intel8x0           22876  0
  27. snd_ac97_codec         49912  1 snd_intel8x0
  28. snd_pcm_oss            39720  0
  29. snd_mixer_oss          14464  1 snd_pcm_oss
  30. snd_pcm                57604  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
  31. snd_timer              17668  1 snd_pcm
  32. snd_page_alloc          6536  2 snd_intel8x0,snd_pcm
  33. snd                    34276  9 snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
  34. soundcore               6112  1 snd
  35. floppy                 46192  0
  36. ide_cd                 32032  0
  37. cdrom                  27932  1 ide_cd
  38. ide_tape               26320  0
  39. sd_mod                 18560  0
  40. usbserial              20712  0
  41. usb_storage            47040  0
  42. scsi_mod               83268  2 sd_mod,usb_storage
  43. uhci_hcd               24720  0
  44. ehci_hcd               22788  0
  45. piix                    9888  0 [permanent]
  46. md5                     4224  0
  47. sunrpc                102756  0
  48. lp                      9100  0
  49. parport_pc             28096  1
  50. parport                24520  2 lp,parport_pc
  51. root@[lfs]:~# esd
  52. Audio device open for 44.1Khz, stereo, 16bit failed
  53. Trying 44.1Khz, 8bit stereo.
  54. Audio device open for 44.1Khz, stereo, 8bit failed
  55. Trying 48Khz, 16bit stereo.
  56. root@[lfs]:~# alsaconf
  57. ------------------------------------------------------
  58.       No supported PnP or PCI card found.
  59. Would you like to probe legacy ISA sound cards/chips?
  60.               < Yes >         < No >
  61. ------------------------------------------------------
  62. root@[lfs]:~# lsmod
  63. Module                  Size  Used by
  64. ntfs                  105716  1
  65. nls_cp936             121344  11
  66. vfat                   11776  5
  67. fat                    34208  1 vfat
  68. snd_page_alloc          6536  0
  69. floppy                 46192  0
  70. ide_cd                 32032  0
  71. cdrom                  27932  1 ide_cd
  72. ide_tape               26320  0
  73. sd_mod                 18560  0
  74. usbserial              20712  0
  75. usb_storage            47040  0
  76. scsi_mod               83268  2 sd_mod,usb_storage
  77. uhci_hcd               24720  0
  78. ehci_hcd               22788  0
  79. piix                    9888  0 [permanent]
  80. md5                     4224  0
  81. sunrpc                102756  0
  82. lp                      9100  0
  83. parport_pc             28096  1
  84. parport                24520  2 lp,parport_pc
  85. root@[lfs]:~#
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-16 23:56:49 | 显示全部楼层
声卡还是没有搞定,运行alsamixer可以正确认出声卡,但是运行alsaconf却认不出,下面是我的一次操作实例:

  1. root@[lfs]:~# ls /dev
  2. adsp       gpmctl  hda6   hdb3     log    null   ram3    snd     tap4     tty14  tty27  tty4   tty52  tty8      vcs2
  3. agpgart    hda     hda7   hdb4     loop0  port   ram4    stderr  tap5     tty15  tty28  tty40  tty53  tty9      vcs3
  4. arpd       hda1    hda8   hdb5     loop1  psaux  ram5    stdin   tap6     tty16  tty29  tty41  tty54  ttyS0     vcs4
  5. audio      hda10   hda9   hdb6     loop2  ptmx   ram6    stdout  tap7     tty17  tty3   tty42  tty55  ttyS1     vcs5
  6. cdrom      hda11   hdb    hdb7     loop3  pts    ram7    tap0    tap8     tty18  tty30  tty43  tty56  ttyS2     vcs6
  7. console    hda12   hdb1   hdb8     loop4  ram0   ram8    tap1    tap9     tty19  tty31  tty44  tty57  ttyS3     vcsa
  8. core       hda13   hdb10  hdb9     loop5  ram1   ram9    tap10   tcpdiag  tty2   tty32  tty45  tty58  ttyS4     vcsa1
  9. dnrtmsg    hda14   hdb11  hdc      loop6  ram10  random  tap11   tty      tty20  tty33  tty46  tty59  ttyS5     vcsa2
  10. dsp        hda15   hdb12  hdd      loop7  ram11  rawctl  tap12   tty0     tty21  tty34  tty47  tty6   ttyS6     vcsa3
  11. fb0        hda16   hdb13  initctl  lp0    ram12  route   tap13   tty1     tty22  tty35  tty48  tty60  ttyS7     vcsa4
  12. fd         hda2    hdb14  input    md0    ram13  route6  tap14   tty10    tty23  tty36  tty49  tty61  urandom   vcsa5
  13. fd0        hda3    hdb15  ip6_fw   mem    ram14  rtc     tap15   tty11    tty24  tty37  tty5   tty62  usersock  vcsa6
  14. full       hda4    hdb16  kmem     mixer  ram15  shm     tap2    tty12    tty25  tty38  tty50  tty63  vcs       xfrm
  15. fwmonitor  hda5    hdb2   kmsg     nflog  ram2   skip    tap3    tty13    tty26  tty39  tty51  tty7   vcs1      zero
  16. root@[lfs]:~# lsmod
  17. Module                  Size  Used by
  18. ntfs                  105716  1
  19. nls_cp936             121344  11
  20. vfat                   11776  5
  21. fat                    34208  1 vfat
  22. snd_mpu401_uart         5888  0
  23. snd_rawmidi            16576  1 snd_mpu401_uart
  24. snd_seq_device          5900  1 snd_rawmidi
  25. gameport                2944  0
  26. snd_intel8x0           22876  0
  27. snd_ac97_codec         49912  1 snd_intel8x0
  28. snd_pcm_oss            39720  0
  29. snd_mixer_oss          14464  1 snd_pcm_oss
  30. snd_pcm                57604  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
  31. snd_timer              17668  1 snd_pcm
  32. snd_page_alloc          6536  2 snd_intel8x0,snd_pcm
  33. snd                    34276  9 snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
  34. soundcore               6112  1 snd
  35. floppy                 46192  0
  36. ide_cd                 32032  0
  37. cdrom                  27932  1 ide_cd
  38. ide_tape               26320  0
  39. sd_mod                 18560  0
  40. usbserial              20712  0
  41. usb_storage            47040  0
  42. scsi_mod               83268  2 sd_mod,usb_storage
  43. uhci_hcd               24720  0
  44. ehci_hcd               22788  0
  45. piix                    9888  0 [permanent]
  46. md5                     4224  0
  47. sunrpc                102756  0
  48. lp                      9100  0
  49. parport_pc             28096  1
  50. parport                24520  2 lp,parport_pc
  51. root@[lfs]:~# esd
  52. Audio device open for 44.1Khz, stereo, 16bit failed
  53. Trying 44.1Khz, 8bit stereo.
  54. Audio device open for 44.1Khz, stereo, 8bit failed
  55. Trying 48Khz, 16bit stereo.
  56. root@[lfs]:~# alsaconf
  57. ------------------------------------------------------
  58.       No supported PnP or PCI card found.
  59. Would you like to probe legacy ISA sound cards/chips?
  60.               < Yes >         < No >
  61. ------------------------------------------------------
  62. root@[lfs]:~# lsmod
  63. Module                  Size  Used by
  64. ntfs                  105716  1
  65. nls_cp936             121344  11
  66. vfat                   11776  5
  67. fat                    34208  1 vfat
  68. snd_page_alloc          6536  0
  69. floppy                 46192  0
  70. ide_cd                 32032  0
  71. cdrom                  27932  1 ide_cd
  72. ide_tape               26320  0
  73. sd_mod                 18560  0
  74. usbserial              20712  0
  75. usb_storage            47040  0
  76. scsi_mod               83268  2 sd_mod,usb_storage
  77. uhci_hcd               24720  0
  78. ehci_hcd               22788  0
  79. piix                    9888  0 [permanent]
  80. md5                     4224  0
  81. sunrpc                102756  0
  82. lp                      9100  0
  83. parport_pc             28096  1
  84. parport                24520  2 lp,parport_pc
  85. root@[lfs]:~#
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-17 00:44:54 | 显示全部楼层
下载了dialog-1.0-20050206安装后alsaconf可以运行了
newt-0.51.6编译通不过么,可能又是gcc的问题,不知道哪里能找到对应的patch。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-2 22:07:25 | 显示全部楼层
我的是磐正4PDA3I主板,板载ALC655声卡芯片
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表