Re: Compiling Ubuntu 7.04's kernel from source
On Tue, Aug 5, 2008 at 5:04 PM, John McCabe-Dansted <[EMAIL PROTECTED]> wrote: > On Tue, Aug 5, 2008 at 4:31 PM, Peter Teoh <[EMAIL PROTECTED]> wrote: >> I started compiling the kernel as provided by Ubuntu source ISO and I compiled the source codes for Linux Kernel as modified by Ubuntu, downloaded from the source codes ISO provided. And the error during the compilation process happened as described before. >> encountered the following error while compiling: >> >> /sda2/linux-source-2.6.20-2.6.20>ALSA lib >> confmisc.c:670:(snd_func_card_driver) cannot find card '0' >> ALSA lib conf.c:3500:(_snd_config_evaluate) function > > What command did you just type? > (Not "ALSA lib" surely?) > > I think we should move this offlist, since this is more of a bug or > support request than "discussion relating to development of Ubuntu". > Well, I am just doing some bug reporting for Ubuntu. Not sure where to go. But when I switched to Fedora Core to compile the kernel there is completely no problem. And if I compile the source codes git-pulled from Linus tree, INSIDE THE Ubuntu 7.04 environment, there is no issue: CC [M] sound/sound_core.o LD [M] sound/soundcore.o CC [M] sound/ac97_bus.o CC [M] sound/core/oss/mixer_oss.o CC [M] sound/core/oss/pcm_oss.o CC [M] sound/core/oss/pcm_plugin.o CC [M] sound/core/oss/io.o CC [M] sound/core/oss/copy.o CC [M] sound/core/oss/linear.o CC [M] sound/core/oss/mulaw.o CC [M] sound/core/oss/route.o CC [M] sound/core/oss/rate.o LD [M] sound/core/oss/snd-mixer-oss.o LD [M] sound/core/oss/snd-pcm-oss.o CC [M] sound/core/seq/seq_device.o CC [M] sound/core/seq/seq_dummy.o CC [M] sound/core/seq/seq_midi_emul.o CC [M] sound/core/seq/seq_midi_event.o CC [M] sound/core/seq/seq_midi.o CC [M] sound/core/seq/seq_virmidi.o CC [M] sound/core/seq/seq.o CC [M] sound/core/seq/seq_lock.o CC [M] sound/core/seq/seq_clientmgr.o CC [M] sound/core/seq/seq_memory.o CC [M] sound/core/seq/seq_queue.o CC [M] sound/core/seq/seq_fifo.o CC [M] sound/core/seq/seq_prioq.o CC [M] sound/core/seq/seq_timer.o CC [M] sound/core/seq/seq_system.o CC [M] sound/core/seq/seq_ports.o CC [M] sound/core/seq/seq_info.o LD [M] sound/core/seq/snd-seq.o LD [M] sound/core/seq/snd-seq-device.o LD [M] sound/core/seq/snd-seq-midi-event.o LD [M] sound/core/seq/snd-seq-dummy.o LD [M] sound/core/seq/snd-seq-virmidi.o LD [M] sound/core/seq/snd-seq-midi.o LD [M] sound/core/seq/snd-seq-midi-emul.o CC [M] sound/core/seq/oss/seq_oss.o CC [M] sound/core/seq/oss/seq_oss_init.o CC [M] sound/core/seq/oss/seq_oss_timer.o CC [M] sound/core/seq/oss/seq_oss_ioctl.o CC [M] sound/core/seq/oss/seq_oss_event.o CC [M] sound/core/seq/oss/seq_oss_rw.o CC [M] sound/core/seq/oss/seq_oss_synth.o CC [M] sound/core/seq/oss/seq_oss_midi.o CC [M] sound/core/seq/oss/seq_oss_readq.o CC [M] sound/core/seq/oss/seq_oss_writeq.o LD [M] sound/core/seq/oss/snd-seq-oss.o CC [M] sound/core/hwdep.o CC [M] sound/core/memalloc.o CC [M] sound/core/sgbuf.o CC [M] sound/core/pcm.o CC [M] sound/core/pcm_native.o sound/core/pcm_native.c: In function 'snd_pcm_fasync': sound/core/pcm_native.c:3262: warning: label 'out' defined but not used CC [M] sound/core/pcm_lib.o CC [M] sound/core/pcm_timer.o CC [M] sound/core/pcm_misc.o CC [M] sound/core/pcm_memory.o CC [M] sound/core/rawmidi.o CC [M] sound/core/rtctimer.o CC [M] sound/core/timer.o CC [M] sound/core/sound.o CC [M] sound/core/init.o CC [M] sound/core/memory.o CC [M] sound/core/info.o CC [M] sound/core/control.o CC [M] sound/core/misc.o CC [M] sound/core/device.o CC [M] sound/core/isadma.o CC [M] sound/core/sound_oss.o CC [M] sound/core/info_oss.o CC [M] sound/core/vmaster.o LD [M] sound/core/snd.o LD [M] sound/core/snd-hwdep.o LD [M] sound/core/snd-timer.o LD [M] sound/core/snd-rtctimer.o LD [M] sound/core/snd-pcm.o LD [M] sound/core/snd-page-alloc.o LD [M] sound/core/snd-rawmidi.o CC [M] sound/drivers/dummy.o CC [M] sound/drivers/mtpav.o CC [M] sound/drivers/mts64.o CC [M] sound/drivers/portman2x4.o CC [M] sound/drivers/virmidi.o LD [M] sound/drivers/snd-dummy.o LD [M] sound/drivers/snd-virmidi.o LD [M] sound/drivers/snd-mtpav.o LD [M] sound/drivers/snd-mts64.o LD [M] sound/drivers/snd-portman2x4.o CC [M] sound/drivers/mpu401/mpu401_uart.o CC [M] sound/drivers/mpu401/mpu401.o LD [M] sound/drivers/mpu401/snd-mpu401-uart.o LD [M] sound/drivers/mpu401/snd-mpu401.o CC [M] sound/drivers/opl3/opl3_lib.o CC [M] sound/drivers/opl3/opl3_synth.o CC [M] sound/drivers/opl3/opl3_seq.o CC [M] sound/drivers/opl3/opl3_midi.o CC [M] sound/drivers/opl3/opl3_drums.o CC [M] sound/drivers/opl3/opl3_oss.o LD [M] sound/driv
Compiling Ubuntu 7.04's kernel from source
I started compiling the kernel as provided by Ubuntu source ISO and encountered the following error while compiling: /sda2/linux-source-2.6.20-2.6.20>ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default Not sure how it is related to: http://ubuntuforums.org/archive/index.php/t-518320.html But my error happened during compilation. System->Preference->Sound also does not opened any GUI (a temporary icon "Starting sound" appeared in the panel below but after sometime it disappeared. But in /var/log/apport.log there is some info about gnome-sound-properties: apport (pid 13660) Tue Aug 5 16:24:12 2008: executable: /usr/bin/gnome-sound-properties (command line "gnome-sound-properties") apport (pid 13660) Tue Aug 5 16:24:12 2008: apport: report /var/crash/_usr_bin_gnome-sound-properties.0.crash already exists and unseen, doing nothing to avoid disk usage DoS And the _usr_bin.crash file can be sent if requested/needed. The system also does not seemed to have any sound at all.except for those from the pc speaker. But if I reboot to my other images (eg Fedora Core) there is no problem - basically machine is ok. Help please? -- Regards, Peter Teoh -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Problem with yum etc after installing Ubuntu 7.10.....
On Thu, May 15, 2008 at 1:14 PM, Christopher Halse Rogers <[EMAIL PROTECTED]> wrote: On > the other hand, I'm don't think that installing programs through yum > is a good idea on an Ubuntu system. I may be wrong here, though. Why > do we even have that package? :) > First thank you to everyone here...I am new in this Ubuntu. Firstly i have two requirements: a. I need git to do linux kernel development. b. I need flash for my firefox. So I downloaded the rpm file. So in Fedora Core, normally I will do "yum install xxx.rpm" where xxx.rpm is the downloaded flash rpm file from adobe, and yum automatically will do a recursive download of all dependent packages and install it at the same time. "rpm" cannot do that. Sorry for all these...for flash I think I found the answer in: http://ubuntuguide.org/wiki/Ubuntu:Gutsy and for the kernel I found it here: https://wiki.ubuntu.com/KernelGitGuide Ok...problem solvedthank you for the guide on git-core everyone ...etc! -- Regards, Peter Teoh -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Problem with yum etc after installing Ubuntu 7.10.....
a. install ubuntu b. apt-get install yum* c. apt-get install git Next I tried "git", I got "command not found", but reattempted to "apt-get install git" will give me: [EMAIL PROTECTED]:/tmp# apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 211 not upgraded. I tried to yum install some other stuff, I got the following: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named cElementTree Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is: 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] If you cannot solve this problem yourself, please send this message to <[EMAIL PROTECTED]>. Can someone help? -- Regards, Peter Teoh -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss