kernel help
Hi, Here is my situation: - I have built a 2.6.26 debian kernel and generated a .deb file with aditional patches applied and built into the kernel (built in as well as modules). I also need to use the madwifi driver for my atheros, chipset wireless card. So how can I add the ath_pci module to my already built kernel with my custom patches? Can I grab the source for the kernel, apply my patches again and also apply the madwifi patch? Is there a madwifi patch around that I could just apply to the source of the kernel and then rebuild? It's a bit of a pain since the kernel compilation does take a while, but I guess I have to do it. So what's the best solution for this? Thanks for any help, Daniel -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: kernel help
On 12/18/08 15:20, Daniel Dalton wrote: Hi, Here is my situation: - I have built a 2.6.26 debian kernel and generated a .deb file with aditional patches applied and built into the kernel (built in as well as modules). I also need to use the madwifi driver for my atheros, chipset wireless card. So how can I add the ath_pci module to my already built kernel with my custom patches? Can I grab the source for the kernel, apply my patches again and also apply the madwifi patch? Is there a madwifi patch around that I could just apply to the source of the kernel and then rebuild? It's a bit of a pain since the kernel compilation does take a while, but I guess I have to do it. So what's the best solution for this? Does this deb replace your existing kernel? If so, I'd change that first, so that you have a known-good fall back. Then, I'd just try to add the madwifi patch to your patched kernel and see what happens. -- Ron Johnson, Jr. Jefferson LA USA How does being physically handicapped make me Differently-Abled? What different abilities do I have? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: kernel help
On Thu, Dec 18, 2008 at 04:20:09PM EST, Daniel Dalton wrote: [..] It's a bit of a pain since the kernel compilation does take a while, but I guess I have to do it. So what's the best solution for this? If you haven't done so already, now may be a good time to go through your kernel's configuration, read the help for each and every option, and make sure you are not enabling stuff that is not relevant to your context desiderata. Did that a couple of years ago and found that kernel compile elapsed time was divided by a factor of 4-5! With nothing major running at the same time, kernel compiles that used to take over 2 hours now take less than 30 minutes (PIII - 650MHZ and 384M of RAM). Just make sure you save your .config file so you can start over if you screw up. CJ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: kernel help
On 12/18/2008 03:20 PM, Daniel Dalton wrote: Is there a madwifi patch around that I could just apply to the source of the kernel and then rebuild? I do not use madwifi, so have zero experiential help, but have you tried the existing madwifi-source package? It appears to use module-assistant, so there will be a /usr/share/doc/madwifi-source/README.Debian file that will document how to build and install the madwifi kernel module. Make sure you have non-free in your sources.list and 'apt-get install madwifi-source' and take a look. Sounds a whole lot easier than compiling the entire kernel ;) -- Kind Regards, Michael Shuler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: kernel help
Thanks for all the replies, I'll try a few things, but I'll probably end up staying with what I have since madwifi doesn't seem to like the newer kernel (compilation errors). Cheers, Daniel On Thu, Dec 18, 2008 at 06:23:37PM -0600, Michael Shuler wrote: On 12/18/2008 03:20 PM, Daniel Dalton wrote: Is there a madwifi patch around that I could just apply to the source of the kernel and then rebuild? I do not use madwifi, so have zero experiential help, but have you tried the existing madwifi-source package? It appears to use module-assistant, so there will be a /usr/share/doc/madwifi-source/README.Debian file that will document how to build and install the madwifi kernel module. Make sure you have non-free in your sources.list and 'apt-get install madwifi-source' and take a look. Sounds a whole lot easier than compiling the entire kernel ;) -- Kind Regards, Michael Shuler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
need kernel help (2.6)
I just upgraded my kernel in Debian testing release from 2.4.27 to 2.6.18 and ran into some problems I would appreciate help with. I built the kernel from the Debian kernel source package which has some bug fixes and patches not found in the upstream (official) kernel sources but I asked around and these don't seem to be related to my problems. I built the .config from scratch (took 3.5 hours). Total time for the kernel project was 9 hours heh! Problem 1: Since devfs has been replaced by udev (dynamic device naming) there is no longer a /dev/ttyS0 for my serial modem. Also this was symlinked to /dev/modem and that device is also no longer present in 2.6.18. Do I just need to change /var/lib/setserial/autoserial.conf so it uses /dev/tty0? How can I create a /dev/modem block device? Problem 2: Something weird is happening with my CDROM. netrek:~# mount /dev/hdc /cdrom mount: block device /dev/hdc is write-protected, mounting read-only netrek:~# cd /cdrom netrek:/cdrom# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 9906644 9240328163080 99% / tmpfs 128628 0128628 0% /lib/init/rw udev 1024044 10196 1% /dev tmpfs 128628 0128628 0% /dev/shm /dev/hdc693330693330 0 100% /cdrom netrek:/cdrom# ls 0001.tmp dxsetup movies01.mix scores.mixsizzle1.vqa autoplay.wav install multi.mix setup ts1.dsk autorun.exe license.doc readme.docsetup.exe westwood.hlp autorun.inf maps01.mix readme.txtsidecd01.mix wolapi netrek:/cdrom# ls -l /tmp/license.doc -r-xr-xr-x 1 root root 26112 Jun 8 16:02 /tmp/license.doc It took a very long time for such a small file (nearly 40 seconds) and /var/log/messages showed: Jun 8 16:02:38 netrek kernel: hdc: irq timeout: status=0xd0 { Busy } Jun 8 16:02:38 netrek kernel: ide: failed opcode was: unknown Jun 8 16:02:38 netrek kernel: hdc: ATAPI reset complete However when I removed the file in /tmp and copied it over again this time it worked instantaneously as it should. So i think my ide/ATAPI is setup wrong but the .config has so many options i'm not sure which ones i may have set wrong, I can send you my kernel .config if that would help. Further I noticed some other messages, possibly related, from boot up in my /var/log/syslog: Jun 8 15:47:57 netrek kernel: ide-cd: cmd 0x28 timed out Jun 8 15:47:57 netrek kernel: hdc: DMA interrupt recovery Jun 8 15:47:57 netrek kernel: hdc: lost interrupt Jun 8 15:47:57 netrek kernel: hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest } Jun 8 15:47:57 netrek kernel: ide: failed opcode was: unknown Jun 8 15:47:57 netrek kernel: hdc: drive not ready for command Jun 8 15:47:57 netrek kernel: hdc: status timeout: status=0xd0 { Busy } Jun 8 15:47:57 netrek kernel: ide: failed opcode was: unknown Jun 8 15:47:57 netrek kernel: hdc: DMA disabled Jun 8 15:47:57 netrek kernel: hdc: drive not ready for command Jun 8 15:47:57 netrek kernel: hdc: ATAPI reset complete Jun 8 15:47:59 netrek kernel: Warning: /proc/ide/hd?/settings interface is obsolete, and will be removed soon! And what should I do about /proc/ide/hd?/settings? Problem 3: In my /var/log/syslog I see tons of messages on boot dealing with class_uevent and class_device_create_uevent is this a problem or not? Below I have included the logfile excerpt. Problem 4: Something is wrong with gconfd. Note I do not have NFS installed nor supported in the kernel. From /var/log/syslog: Jun 8 15:49:36 netrek gconfd (zu22-3557): starting (version 2.16.1), pid 3557 user 'zu22' Jun 8 15:49:36 netrek gconfd (zu22-3555): starting (version 2.16.1), pid 3555 user 'zu22' Jun 8 15:49:36 netrek gconfd (zu22-3555): Failed to get lock for daemon, exiting: Failed to lock '/tmp/gconfd-zu22/lock/ior': probably another process has the lock, or your operating system has NFS file locking misconfigured (Resource temporarily unavailable) Jun 8 15:49:36 netrek gconfd (zu22-3557): Resolved address xml:readonly:/etc/gconf/gconf.xml.mandatory to a read-only configuration source at position 0 Jun 8 15:49:36 netrek gconfd (zu22-3557): Resolved address xml:readwrite:/home/zu22/.gconf to a writable configuration source at position 1 Jun 8 15:49:36 netrek gconfd (zu22-3557): Resolved address xml:readonly:/etc/gconf/gconf.xml.defaults to a read-only configuration source at position 2 Jun 8 15:49:36 netrek gconfd (zu22-3557): Resolved address xml:readonly:/var/lib/gconf/debian.defaults to a read-only configuration source at position 3 Jun 8 15:49:36 netrek gconfd (zu22-3557): Resolved address xml:readonly:/var/lib/gconf/defaults to a read-only configuration source at position 4 Here is some information on the system. It is a Latitude C600 laptop. Output of df: FilesystemSize Used Avail Use% Mounted on /dev/hda2 9.5G 8.9G 160M 99% / tmpfs
Re: need kernel help (2.6)
On Sat, Jun 09, 2007 at 09:07:10PM -0400, Zach wrote: I just upgraded my kernel in Debian testing release from 2.4.27 to 2.6.18 and ran into some problems I would appreciate help with. I built the kernel from the Debian kernel source package which has some bug fixes and patches not found in the upstream (official) kernel sources but I asked around and these don't seem to be related to my problems. I built the .config from scratch (took 3.5 hours). Total time for the kernel project was 9 hours heh! Why build from source? What do you need that the binary kernel images don't provide? Problem 1: Since devfs has been replaced by udev (dynamic device naming) there is no longer a /dev/ttyS0 for my serial modem. Also this was symlinked to /dev/modem and that device is also no longer present in 2.6.18. Do I just need to change /var/lib/setserial/autoserial.conf so it uses /dev/tty0? How can I create a /dev/modem block device? Strange. My udev-based Etch system has a /dev/ttyS0 present. Have you modified anything in your udev configuration? Problem 2: Something weird is happening with my CDROM. netrek:~# mount /dev/hdc /cdrom mount: block device /dev/hdc is write-protected, mounting read-only That is normal. netrek:~# cd /cdrom netrek:/cdrom# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 9906644 9240328163080 99% / tmpfs 128628 0128628 0% /lib/init/rw udev 1024044 10196 1% /dev tmpfs 128628 0128628 0% /dev/shm /dev/hdc693330693330 0 100% /cdrom That is also normal. netrek:/cdrom# ls 0001.tmp dxsetup movies01.mix scores.mixsizzle1.vqa autoplay.wav install multi.mix setup ts1.dsk autorun.exe license.doc readme.docsetup.exe westwood.hlp autorun.inf maps01.mix readme.txtsidecd01.mix wolapi It is a directory listing. Nothing looks out of sorts there. netrek:/cdrom# ls -l /tmp/license.doc -r-xr-xr-x 1 root root 26112 Jun 8 16:02 /tmp/license.doc Everything is OK here as well. It took a very long time for such a small file (nearly 40 seconds) and /var/log/messages showed: Jun 8 16:02:38 netrek kernel: hdc: irq timeout: status=0xd0 { Busy } Jun 8 16:02:38 netrek kernel: ide: failed opcode was: unknown Jun 8 16:02:38 netrek kernel: hdc: ATAPI reset complete That could indicate a damaged CD or failing drive. What is the output of 'hdparm /dev/hdc' and also 'hdparm -i /dev/hdc'? However when I removed the file in /tmp and copied it over again this time it worked instantaneously as it should. So i think my ide/ATAPI is setup wrong but the .config has so many options i'm not sure which ones i may have set wrong, I can send you my kernel .config if that would help. It happens instantaneously the second tume because the file is small enough to fit in the drive's cache. No need to read it back from the CD all over again. Further I noticed some other messages, possibly related, from boot up in my /var/log/syslog: Jun 8 15:47:57 netrek kernel: ide-cd: cmd 0x28 timed out Jun 8 15:47:57 netrek kernel: hdc: DMA interrupt recovery Jun 8 15:47:57 netrek kernel: hdc: lost interrupt Jun 8 15:47:57 netrek kernel: hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest } Jun 8 15:47:57 netrek kernel: ide: failed opcode was: unknown Jun 8 15:47:57 netrek kernel: hdc: drive not ready for command Jun 8 15:47:57 netrek kernel: hdc: status timeout: status=0xd0 { Busy } Jun 8 15:47:57 netrek kernel: ide: failed opcode was: unknown Jun 8 15:47:57 netrek kernel: hdc: DMA disabled Jun 8 15:47:57 netrek kernel: hdc: drive not ready for command Jun 8 15:47:57 netrek kernel: hdc: ATAPI reset complete Jun 8 15:47:59 netrek kernel: Warning: /proc/ide/hd?/settings interface is obsolete, and will be removed soon! If this is happening at boot, you have a failing drive or motherboard. And what should I do about /proc/ide/hd?/settings? Depends on what is trying to access it. Problem 3: In my /var/log/syslog I see tons of messages on boot dealing with class_uevent and class_device_create_uevent is this a problem or not? Below I have included the logfile excerpt. Not sure. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: need kernel help (2.6)
On 6/9/07, Roberto C. Sánchez [EMAIL PROTECTED] wrote: Why build from source? What do you need that the binary kernel images don't provide? Hi Roberto, I wanted a leaner and faster kernel and I wanted my sound card supported at kernel level. Also it was learning experience. Strange. My udev-based Etch system has a /dev/ttyS0 present. Have you modified anything in your udev configuration? I have never used udev before and don't even know how to modify it ! :) I think I must have done something wrong in my kernel .config, can I send it to you? That could indicate a damaged CD or failing drive. What is the output of 'hdparm /dev/hdc' and also 'hdparm -i /dev/hdc'? But this does not happen in my 2.4.27 kernel, I get no such error messages and when I cp file from my CD drive in 2.4.27 it is instantaneously and does not take the 40 seconds to do it the first time as happens in 2.6.18, again I think this is problem in my .config but it is so big I am not sure what part needs fixed. My friend said maybe I did not enable support for the 8250 serial driver, do you know how I can enable this in my .config? And if I must recompile how can i tell make to read in my old .config but then let me change it and save changes before proceeding with kernel compile? If this is happening at boot, you have a failing drive or motherboard. My motherboard and drive is fine, I get none of these messages in my 2.4.27, if you wish I can post output of dmesg from my 2.4.27 kerenel ok? Depends on what is trying to access it. It says these will be removed in future so how do I handle this? udev is so confusing, I have no idea why kernel developers decided it was better than devfs :( any simple document to read which explains udev and how to use it clearly? Problem 3: In my /var/log/syslog I see tons of messages on boot dealing with class_uevent and class_device_create_uevent is this a problem or not? Below I have included the logfile excerpt. Not sure. It seems to need register every device (physical device, character device, block device), does this happen with your udev too? Zach
Re: need kernel help (2.6)
On Sat, Jun 09, 2007 at 09:25:50PM -0400, Zach wrote: On 6/9/07, Roberto C. Sánchez [EMAIL PROTECTED] wrote: Why build from source? What do you need that the binary kernel images don't provide? Hi Roberto, I wanted a leaner and faster kernel and I wanted my sound card supported at kernel level. Also it was learning experience. Fair enough. Strange. My udev-based Etch system has a /dev/ttyS0 present. Have you modified anything in your udev configuration? I have never used udev before and don't even know how to modify it ! :) I think I must have done something wrong in my kernel .config, can I send it to you? That could indicate a damaged CD or failing drive. What is the output of 'hdparm /dev/hdc' and also 'hdparm -i /dev/hdc'? But this does not happen in my 2.4.27 kernel, I get no such error messages and when I cp file from my CD drive in 2.4.27 it is instantaneously and does not take the 40 seconds to do it the first time as happens in 2.6.18, again I think this is problem in my .config but it is so big I am not sure what part needs fixed. My friend said maybe I did not enable support for the 8250 serial driver, do you know how I can enable this in my .config? And if I must recompile how can i tell make to read in my old .config but then let me change it and save changes before proceeding with kernel compile? Let me encourage you then to install a stock kernel image first and get everything working with that. The 2.4 - 2.6 transition is a big one. Best eliminate as many variables as possible. Once everything is working properly under 2.6, then you can go ahead and start working on a custom kernel. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Compiling Vanilla 2.4.22 Kernel Help Needed
Hi, Iam having a big and strange problem I have Installed Debian Sarge on to the systems of our research lab I have to implement a patch onto 2.4.22 kernel (vannila) I patched it and compiled the kernel the deb way (Forgot to tell u that i have copied the config file that came with Sarge). I installed the kernel and reboot the system .. I get this following error RAMDISK: cramfs filesystem found at block 0 RAMDISK: loading 3276 blocks [1 disk] into ram disk... done. Freeing initrd memory: 3276k freed cramfs: wrong magic Kernel panic: VFS: Unable to miunt root fs on 22:02 Can somebody tell me where exactly iam going wrong And well iam using lilo for another wierd reason.. Regards Phani Kumar Arava Grad Student Ohio State University 1560 Worthington Street Columbus Ohio 43201 Contact: (614)-291-8950 URL : www.cse.ohio-state.edu/~arava/ mailto: [EMAIL PROTECTED],[EMAIL PROTECTED], [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Compiling Vanilla 2.4.22 Kernel Help Needed
On Tuesday 04 January 2005 04:09 pm, PHANI ARAVA wrote: Hi, Iam having a big and strange problem I have Installed Debian Sarge on to the systems of our research lab I have to implement a patch onto 2.4.22 kernel (vannila) I patched it and compiled the kernel the deb way (Forgot to tell u that i have copied the config file that came with Sarge). I installed the kernel and reboot the system .. I get this following error RAMDISK: cramfs filesystem found at block 0 RAMDISK: loading 3276 blocks [1 disk] into ram disk... done. Freeing initrd memory: 3276k freed cramfs: wrong magic Kernel panic: VFS: Unable to miunt root fs on 22:02 Can somebody tell me where exactly iam going wrong And well iam using lilo for another wierd reason.. You do not mention if you ran mkinitrd? The default Debian kernels use an initrd.img to boot, compiles things as modules. Sounds like, at least, the file system driver is not being loaded, the kernel panic. I would either; not use the an initrd.img to make one for your system, I don't use them so I am no help there :) -- Greg C. Madden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Compiling Vanilla 2.4.22 Kernel Help Needed
On Tue, 2005-01-04 at 20:09 -0500, PHANI ARAVA wrote: Hi, Iam having a big and strange problem I have Installed Debian Sarge on to the systems of our research lab I have to implement a patch onto 2.4.22 kernel (vannila) I patched it and compiled the kernel the deb way (Forgot to tell u that i have copied the config file that came with Sarge). I installed the kernel and reboot the system .. I get this following error RAMDISK: cramfs filesystem found at block 0 RAMDISK: loading 3276 blocks [1 disk] into ram disk... done. Freeing initrd memory: 3276k freed cramfs: wrong magic Kernel panic: VFS: Unable to miunt root fs on 22:02 Can somebody tell me where exactly iam going wrong And well iam using lilo for another wierd reason.. == Warning: You are using the initrd option, that may not work unless you have applied the initrd cramfs patch to the kernel, or modified mkinitrd not to use cramfs by default. The cramfs initrd patch, is included in the Debian supplied kernel sources, but is not present in pristine kernel sources. By default, I assume you know what you are doing, and I apologize for being so annoying. Should I abort[Ny]? == Have you applied this patch? I'm not sure when it was merged upstream but it looks like you don't have support for cramfs initrd. /* Do sanity checks on the superblock */ if (super.magic != CRAMFS_MAGIC) { /* check at 512 byte offset */ memcpy(super, cramfs_read(sb, 512, sizeof(super)), sizeof(super)); if (super.magic != CRAMFS_MAGIC) { printk(KERN_ERR cramfs: wrong magic\n); goto out; } } I believe the patch adds magic to the in-memory version of the cramfs superblock for initrd support. Check the Debian 2.4.22 sources for relevant patches (or you could use something other than cramfs in mkinitrd). -- Eric Gaumer [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Compiling Vanilla 2.4.22 Kernel Help Needed
On Tue, 2005-01-04 at 22:58 -0500, PHANI ARAVA wrote: I tried to get that patch but never found it .. I tried to google for it and still didnt get it I have made the initrd image but still i suppose iam still getting a kernel panic Phani Kumar Arava Grad Student 1560 Worthington Street Columbus Ohio 43201 Contact: (614)-291-8950 URL : www.cbit.ac.in/~phanikumar mailto: [EMAIL PROTECTED],[EMAIL PROTECTED], [EMAIL PROTECTED] It should be included in the Debian sources. Just diff the cramfs stuff if you don't see a clean patch in that source (it may already be applied). Why are you using vanilla sources? I assume because you needed to apply some third party patch and it didn't apply cleanly to the Debian sources. You could either apply your patch to the Debian sources or extract the cramfs patch from the Debian sources and apply it to the vanilla sources. Can you try a more recent 2.4 kernel? It may have the cramfs patches in it. I know the 2.6 kernel does (no need to patch it). The easiest solution is to not use the initrd. Just compile your filesystem modules directly into the kernel and you wont need an initrd. -- Eric Gaumer [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Kernel help - ICH4 (82801DB) onboard sound
Thanks to all who helped earlier. I've now found that I may be able to get sound using a kernel 2.5.11 or above (http://www.intel.com/support/graphics/linux/audio.htm), is there a specific version that anyone could recommend? Also I've only ever used kernel sources supplied with the distribution before, is there a deb package I need and a debian specific procedure or should I just RTFM and post again when I've buggered it up? Thanks Paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel help - ICH4 (82801DB) onboard sound
Paul W [EMAIL PROTECTED] writes: I've now found that I may be able to get sound using a kernel 2.5.11 or above (http://www.intel.com/support/graphics/linux/audio.htm), is there a specific version that anyone could recommend? I'd stay far, far away from the 2.5.x kernel series; it's the development branch of the kernel, and any given release will probably be badly broken. Looking in the 2.4.19 kernel source, though, the i810_audio driver seems to believe in Intel ICH4 hardware, so you might try a current (2.4.19 or 2.4.20) kernel. Also I've only ever used kernel sources supplied with the distribution before, is there a deb package I need and a debian specific procedure or should I just RTFM and post again when I've buggered it up? You can use Debian or normal Linux kernel sources, they work the same way. You probably want to install the kernel-package package, though, and use that to build Debian packages out of your kernels. See http://www.debian.org/doc/FAQ/ch-kernel.en.html for some pointers. -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ Theoretical politics is interesting. Politicking should be illegal. -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel help - ICH4 (82801DB) onboard sound
On a sidenote, has anyone found a way to get DMA working with the ICH4 and a 2.4 kernel? Paul W sez: } I've now found that I may be able to get sound using a kernel 2.5.11 } or above (http://www.intel.com/support/graphics/linux/audio.htm), is } there a specific version that anyone could recommend? I've been using ALSA under 2.4.19 with the 82801DB with great success. Try ALSA before using an unstable development kernel. The reason 2.5 can get sound out of ICH4 is that ALSA has been accepted as part of the kernel source. You'll want to apt-get install alsa-source. } Also I've only ever used kernel sources supplied with the distribution } before, is there a deb package I need and a debian specific procedure } or should I just RTFM and post again when I've buggered it up? Someone already mentioned kernel-package, which provides make-kpkg. If you don't already have it installed, install the appropriate kernel-source or kernel-headers package for your current kernel. (If you use kernel-source then you will have to go to the /usr/src directory and tar xjf the archive the package installs.) Once you have that and the alsa-source package installed, unpack the alsa-source archive in the /usr/src directory (it will create a modules directory). All you should need to do at that point is make-kpkg modules_image to produce an installable .deb in /usr/src. The alsa-source install will let you choose your sound card, incidentally. } Thanks } Paul --Greg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
First time Custom Kernel help - No suck file of directory
Good Morning, I've been down with a cold, up with antihistamines, and whacked out on cough syrup for a few days so I figured I'd build my first custom kernel. Strangely enough I find I need some help. A little history: I'm running woody and a 2.4.9 kernel that I installed from kernel-image-2.4.9-686. Then I pulled the source .deb, unzipped it in /usr/src/kernel-source-2.4.9. I made a symbolic link from /usr/src/linux to /usr/src/kernel-source-2.4.9. As root I cd'd to /usr/src/kernel-source-2.4.9 and ran make config and discovered I didn't have make installed. Installed make and ran make config again. Finishing make config gives you the message to run make dep. I ran make dep and discovered I didn't have gcc installed. I installed gcc. Now when I run make dep I get a substantial number of No such file or directory errors in this format: scripts/mkdep.c:33: ctype.h: No such file or directory These error messages are all related to include lines in the script and I've found the *.h files but obviously they're not where the program is expecting them. Then the process errors out with this message: make: *** [scripts/mkdep] Error 1 1. Can anyone tell me what I've done wrong and how I go about fixing it? In my fumblings I've run apt-get dist-upgrade and checked that I have the correct versions of the programs from the kernel source documentation. 2. Once upon a time I ran across a tutorial on building a custom Kernel the debian way but I can no longer find it. Has anyone seen a good one they could steer me to? 3. When I read the error messages the voice in my head sounds like Apu from the Simpsons and this cannot be a good thing oh no! Please to be telling where the setting is to change this perhaps to Jessica Rabbit! Thanks, John Purser
Re: First time Custom Kernel help - No suck file of directory
John Purser wrote: snip 2. Once upon a time I ran across a tutorial on building a custom Kernel the debian way but I can no longer find it. Has anyone seen a good one they could steer me to? If you have done so already, install kernel-package; then look at README in /usr/share/doc/kernel-package. I hope this helps. -- Jerome
Re: Installed X4 and Nvidia Kernel, help getting a window scheme like wmaker setup
My solution would be to create a ~/.xsession file, and put in the line: exec wmaker ...then restart X and see what you get. AFAIK, .xinitrc only works when you're starting x from the console (IE: 'startx'), whereas xdm/kdm/gdm use .xsession (actually, .xsession works for me from 'startx' as well...) -b3 On Wed, Apr 11, 2001 at 01:49:40PM +0100, Wayne Brown wrote: Hi, I have installed Debian 2.2.r2 ok. I have a Geforce II Card so had to install X4 and the Nvidia Kernel modules. X4 was installed using the Xinstall script, on top of my existing 3.3 installation. Created a XF86config file ok, this works fine. When I boot up, I get a graphical login box (plain white) on a grey background. I log in and get a grey screen with a small white terminal window top left with a prompt. You cant move the window. I can start say wmaker by typing this at the prompt and it starts up fine but I cant get it to boot into wmaker automatically ( or anything else for that matter). Someone suggested checking I my .xinitrc file in my home directory. There isnt one probably because its never run before. And there is no default xinitrc in any other directorys. I created a file called xinitrc with a line: exec wmaker and put this in my home directory and rebooted and it didnt work. XDM starts up ok, but I am confused as to where files should now be stored. It seems I have files under /etc/X11/ and /usr/X11R86/ . Please Help! TIA Wayne. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Installed X4 and Nvidia Kernel, help getting a window scheme like wmaker setup
Hi, I have installed Debian 2.2.r2 ok. I have a Geforce II Card so had to install X4 and the Nvidia Kernel modules. X4 was installed using the Xinstall script, on top of my existing 3.3 installation. Created a XF86config file ok, this works fine. When I boot up, I get a graphical login box (plain white) on a grey background. I log in and get a grey screen with a small white terminal window top left with a prompt. You cant move the window. I can start say wmaker by typing this at the prompt and it starts up fine but I cant get it to boot into wmaker automatically ( or anything else for that matter). Someone suggested checking I my .xinitrc file in my home directory. There isnt one probably because its never run before. And there is no default xinitrc in any other directorys. I created a file called xinitrc with a line: exec wmaker and put this in my home directory and rebooted and it didnt work. XDM starts up ok, but I am confused as to where files should now be stored. It seems I have files under /etc/X11/ and /usr/X11R86/ . Please Help! TIA Wayne.
Re: Installed X4 and Nvidia Kernel, help getting a window scheme like wmaker setup
As far as I know, xdm uses .xsession and startx uses .xinitrc Try creating an .xsession file along these lines: xterm exec wmaker Hope this helps Tiarnan __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/