|
楼主 |
发表于 2005-2-17 01:01:57
|
显示全部楼层
好久没有玩LFS了,玩户外一段时间,工作忙了一段时间,
下载了dialog-1.0-20050206安装后alsaconf可以运行了,,
newt-0.51.6编译通不过么,可能又是gcc的问题,不知道哪里能找到对应的patch。
声卡还是没有搞定,运行alsamixer可以正确认出声卡,但是运行alsaconf却认不出,下面是我的一次操作实例:
[code:1]
root@[lfs]:~# ls /dev
adsp gpmctl hda6 hdb3 log null ram3 snd tap4 tty14 tty27 tty4 tty52 tty8 vcs2
agpgart hda hda7 hdb4 loop0 port ram4 stderr tap5 tty15 tty28 tty40 tty53 tty9 vcs3
arpd hda1 hda8 hdb5 loop1 psaux ram5 stdin tap6 tty16 tty29 tty41 tty54 ttyS0 vcs4
audio hda10 hda9 hdb6 loop2 ptmx ram6 stdout tap7 tty17 tty3 tty42 tty55 ttyS1 vcs5
cdrom hda11 hdb hdb7 loop3 pts ram7 tap0 tap8 tty18 tty30 tty43 tty56 ttyS2 vcs6
console hda12 hdb1 hdb8 loop4 ram0 ram8 tap1 tap9 tty19 tty31 tty44 tty57 ttyS3 vcsa
core hda13 hdb10 hdb9 loop5 ram1 ram9 tap10 tcpdiag tty2 tty32 tty45 tty58 ttyS4 vcsa1
dnrtmsg hda14 hdb11 hdc loop6 ram10 random tap11 tty tty20 tty33 tty46 tty59 ttyS5 vcsa2
dsp hda15 hdb12 hdd loop7 ram11 rawctl tap12 tty0 tty21 tty34 tty47 tty6 ttyS6 vcsa3
fb0 hda16 hdb13 initctl lp0 ram12 route tap13 tty1 tty22 tty35 tty48 tty60 ttyS7 vcsa4
fd hda2 hdb14 input md0 ram13 route6 tap14 tty10 tty23 tty36 tty49 tty61 urandom vcsa5
fd0 hda3 hdb15 ip6_fw mem ram14 rtc tap15 tty11 tty24 tty37 tty5 tty62 usersock vcsa6
full hda4 hdb16 kmem mixer ram15 shm tap2 tty12 tty25 tty38 tty50 tty63 vcs xfrm
fwmonitor hda5 hdb2 kmsg nflog ram2 skip tap3 tty13 tty26 tty39 tty51 tty7 vcs1 zero
root@[lfs]:~# lsmod
Module Size Used by
ntfs 105716 1
nls_cp936 121344 11
vfat 11776 5
fat 34208 1 vfat
snd_mpu401_uart 5888 0
snd_rawmidi 16576 1 snd_mpu401_uart
snd_seq_device 5900 1 snd_rawmidi
gameport 2944 0
snd_intel8x0 22876 0
snd_ac97_codec 49912 1 snd_intel8x0
snd_pcm_oss 39720 0
snd_mixer_oss 14464 1 snd_pcm_oss
snd_pcm 57604 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 17668 1 snd_pcm
snd_page_alloc 6536 2 snd_intel8x0,snd_pcm
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
soundcore 6112 1 snd
floppy 46192 0
ide_cd 32032 0
cdrom 27932 1 ide_cd
ide_tape 26320 0
sd_mod 18560 0
usbserial 20712 0
usb_storage 47040 0
scsi_mod 83268 2 sd_mod,usb_storage
uhci_hcd 24720 0
ehci_hcd 22788 0
piix 9888 0 [permanent]
md5 4224 0
sunrpc 102756 0
lp 9100 0
parport_pc 28096 1
parport 24520 2 lp,parport_pc
root@[lfs]:~# esd
Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.
root@[lfs]:~# alsaconf
------------------------------------------------------
No supported PnP or PCI card found.
Would you like to probe legacy ISA sound cards/chips?
< Yes > < No >
------------------------------------------------------
root@[lfs]:~# lsmod
Module Size Used by
ntfs 105716 1
nls_cp936 121344 11
vfat 11776 5
fat 34208 1 vfat
snd_page_alloc 6536 0
floppy 46192 0
ide_cd 32032 0
cdrom 27932 1 ide_cd
ide_tape 26320 0
sd_mod 18560 0
usbserial 20712 0
usb_storage 47040 0
scsi_mod 83268 2 sd_mod,usb_storage
uhci_hcd 24720 0
ehci_hcd 22788 0
piix 9888 0 [permanent]
md5 4224 0
sunrpc 102756 0
lp 9100 0
parport_pc 28096 1
parport 24520 2 lp,parport_pc
root@[lfs]:~#[/code:1]
昨晚发现新安装的LFS6.0引导时有如下提示:
[code:1]******************************************************
* Warning: The dma on your hard drive is turned off. *
* This may really slow down the fsck process. *
******************************************************
Reiserfs super block in block 16 on 0x302 of format 3.6 with standard journal
Blocks (total/free): 502031/402203 by 4096 bytes
Filesystem marked as cleanly umounted
Filesystem seems mounted read-only. Skipping journal replay.
Checking internal tree..finished [ OK ]
Remounting root file system in read-write mode... [ OK ]
Recording existing mounts in /etc/mtab... [ OK ]
Mounting remaining file systems...[/code:1]
重新配置、编译了一下内核,UDMA正常了
不过我自己都没有明白,你们帮我看看两个配置文件(在下面连接里),要是看出关键所在,不要忘了告诉我哦
cfg3是没有打开UDMA的配置文件,cfg4是打开UDMA的配置文件。
http://linuxsir.com/bbs/attachment.php?attachmentid=21742 |
|