Re: Building Kernel for Sound
Doug Thistlethwaite wrote: > > Ed Cogburn wrote: > > > Doug Thistlethwaite wrote: > > > > > > Ok, I removed the .config file and ran make menuconfig... This worked fine > > > > > > I ran make-kpkg and got the following error: > > > > > > s.o ipc/ipc.o net/network.a \ > > > fs/filesystems.a \ > > > drivers/block/block.a drivers/char/char.a drivers/net/net.a > > > drivers/pci/pci.a \ > > > > > > /usr/src/kernel-source-2.0.33/arch/i386/lib/lib.a > > > /usr/src/kernel-source-2.0.33/lib/lib.a > > > /usr/src/kernel-source-2.0.33/arch/i386/lib/lib.a -o vmlinux > > > fs/filesystems.a(fat.o): In function `fat_readdirx': > > > fat.o(.text+0xf85): undefined reference to `utf8_wcstombs' > > > fs/filesystems.a(fat.o): In function `fat_put_super': > > > fat.o(.text+0x204b): undefined reference to `unload_nls' > > > fat.o(.text+0x2068): undefined reference to `unload_nls' > > > fs/filesystems.a(fat.o): In function `fat_read_super': > > > fat.o(.text+0x2f23): undefined reference to `load_nls' > > > fat.o(.text+0x2f47): undefined reference to `load_nls_default' > > > fat.o(.text+0x2f70): undefined reference to `load_nls' > > > fat.o(.text+0x2f94): undefined reference to `unload_nls' > > > fat.o(.text+0x2fa9): undefined reference to `load_nls_default' > > > fat.o(.text+0x2fd8): undefined reference to `unload_nls' > > > fat.o(.text+0x2fe8): undefined reference to `unload_nls' > > > make[1]: *** [vmlinux] Error 1 > > > make[1]: Leaving directory `/usr/src/kernel-source-2.0.33' > > > make: *** [all] Error 2 > > > > > > Any ideas? In the menuconfig I used the default .config and added > > > soundblaster sound > > > only. > > > > Do you have "Native Language Support" turned on in the kernel > > config? > > > > Not intentionally, Like I said, I was trying to get any kernel to compile so > I started with > the default (by removing the .config file) and running menuconfig. The only > box I checked > was the soundblaster comp device. Should I turn the native language support > off? I didn't > see anything like that when I was snooping around menuconfig. You need NLS to use VFAT/FAT32 support. From the error messages it seems you are trying to compile FAT support as a module (fat.o) but not NLS (nls.o) as well. With my custom kernel, in menuconfig-filesystems I have the following selected as modules (all selected = M): Native Language Support (Unicode, codepages) ... DOS FAT fs support MSDOS fs support ... VFAT (Windows 95) fs support Codepage 437 ... NLS ISO 8859-1 If you're not in US, then the last two would be different. > > > > > > > A second totally unrelated question... In my shells, If I hit the BS or > > > Delete key, it > > > deletes the character to the left of the cursor... Not ideal, but not to > > > bad. In > > > netscape writing mail, the delete and backspace key deletes the character > > > before the > > > cursor... Anyone else seen this? If so, what is the fix? > > > > > > Doug > > > > > > > This is a legacy of Linux's early history (IIRC, it had somthing to > > do with > > the type of keyboard Linus was using when he originally wrote Linux). The > > long answer is see "http://www.ibbnet.nl/~anne/keyboard.html";. The short > > answer is to use readline's inputrc config to control BS/Delete behavior at > > the bash shell command line. Use Netscape resources (in Xresources) to > > control BS/Delete behavior in Netscape (see the Netscape.ad file in > > Netscape's dir). > > > > Thanks for the info. My keyboard in netscape seems to be working fine... I > have no idea why > sense I didn't change anything yet... > > Ah, computers! > > Doug > -- Ed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
Ed Cogburn wrote: > Doug Thistlethwaite wrote: > > > > Ok, I removed the .config file and ran make menuconfig... This worked fine > > > > I ran make-kpkg and got the following error: > > > > s.o ipc/ipc.o net/network.a \ > > fs/filesystems.a \ > > drivers/block/block.a drivers/char/char.a drivers/net/net.a > > drivers/pci/pci.a \ > > > > /usr/src/kernel-source-2.0.33/arch/i386/lib/lib.a > > /usr/src/kernel-source-2.0.33/lib/lib.a > > /usr/src/kernel-source-2.0.33/arch/i386/lib/lib.a -o vmlinux > > fs/filesystems.a(fat.o): In function `fat_readdirx': > > fat.o(.text+0xf85): undefined reference to `utf8_wcstombs' > > fs/filesystems.a(fat.o): In function `fat_put_super': > > fat.o(.text+0x204b): undefined reference to `unload_nls' > > fat.o(.text+0x2068): undefined reference to `unload_nls' > > fs/filesystems.a(fat.o): In function `fat_read_super': > > fat.o(.text+0x2f23): undefined reference to `load_nls' > > fat.o(.text+0x2f47): undefined reference to `load_nls_default' > > fat.o(.text+0x2f70): undefined reference to `load_nls' > > fat.o(.text+0x2f94): undefined reference to `unload_nls' > > fat.o(.text+0x2fa9): undefined reference to `load_nls_default' > > fat.o(.text+0x2fd8): undefined reference to `unload_nls' > > fat.o(.text+0x2fe8): undefined reference to `unload_nls' > > make[1]: *** [vmlinux] Error 1 > > make[1]: Leaving directory `/usr/src/kernel-source-2.0.33' > > make: *** [all] Error 2 > > > > Any ideas? In the menuconfig I used the default .config and added > > soundblaster sound > > only. > > Do you have "Native Language Support" turned on in the kernel config? > Not intentionally, Like I said, I was trying to get any kernel to compile so I started with the default (by removing the .config file) and running menuconfig. The only box I checked was the soundblaster comp device. Should I turn the native language support off? I didn't see anything like that when I was snooping around menuconfig. > > > > A second totally unrelated question... In my shells, If I hit the BS or > > Delete key, it > > deletes the character to the left of the cursor... Not ideal, but not to > > bad. In > > netscape writing mail, the delete and backspace key deletes the character > > before the > > cursor... Anyone else seen this? If so, what is the fix? > > > > Doug > > > > This is a legacy of Linux's early history (IIRC, it had somthing to > do with > the type of keyboard Linus was using when he originally wrote Linux). The > long answer is see "http://www.ibbnet.nl/~anne/keyboard.html";. The short > answer is to use readline's inputrc config to control BS/Delete behavior at > the bash shell command line. Use Netscape resources (in Xresources) to > control BS/Delete behavior in Netscape (see the Netscape.ad file in > Netscape's dir). > Thanks for the info. My keyboard in netscape seems to be working fine... I have no idea why sense I didn't change anything yet... Ah, computers! Doug > -- > Ed > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
Doug Thistlethwaite wrote: > > Ok, I removed the .config file and ran make menuconfig... This worked fine > > I ran make-kpkg and got the following error: > > s.o ipc/ipc.o net/network.a \ > fs/filesystems.a \ > drivers/block/block.a drivers/char/char.a drivers/net/net.a > drivers/pci/pci.a \ > > /usr/src/kernel-source-2.0.33/arch/i386/lib/lib.a > /usr/src/kernel-source-2.0.33/lib/lib.a > /usr/src/kernel-source-2.0.33/arch/i386/lib/lib.a -o vmlinux > fs/filesystems.a(fat.o): In function `fat_readdirx': > fat.o(.text+0xf85): undefined reference to `utf8_wcstombs' > fs/filesystems.a(fat.o): In function `fat_put_super': > fat.o(.text+0x204b): undefined reference to `unload_nls' > fat.o(.text+0x2068): undefined reference to `unload_nls' > fs/filesystems.a(fat.o): In function `fat_read_super': > fat.o(.text+0x2f23): undefined reference to `load_nls' > fat.o(.text+0x2f47): undefined reference to `load_nls_default' > fat.o(.text+0x2f70): undefined reference to `load_nls' > fat.o(.text+0x2f94): undefined reference to `unload_nls' > fat.o(.text+0x2fa9): undefined reference to `load_nls_default' > fat.o(.text+0x2fd8): undefined reference to `unload_nls' > fat.o(.text+0x2fe8): undefined reference to `unload_nls' > make[1]: *** [vmlinux] Error 1 > make[1]: Leaving directory `/usr/src/kernel-source-2.0.33' > make: *** [all] Error 2 > > Any ideas? In the menuconfig I used the default .config and added > soundblaster sound > only. Do you have "Native Language Support" turned on in the kernel config? > > A second totally unrelated question... In my shells, If I hit the BS or > Delete key, it > deletes the character to the left of the cursor... Not ideal, but not to bad. > In > netscape writing mail, the delete and backspace key deletes the character > before the > cursor... Anyone else seen this? If so, what is the fix? > > Doug > This is a legacy of Linux's early history (IIRC, it had somthing to do with the type of keyboard Linus was using when he originally wrote Linux). The long answer is see "http://www.ibbnet.nl/~anne/keyboard.html";. The short answer is to use readline's inputrc config to control BS/Delete behavior at the bash shell command line. Use Netscape resources (in Xresources) to control BS/Delete behavior in Netscape (see the Netscape.ad file in Netscape's dir). -- Ed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
Ok, I removed the .config file and ran make menuconfig... This worked fine I ran make-kpkg and got the following error: s.o ipc/ipc.o net/network.a \ fs/filesystems.a \ drivers/block/block.a drivers/char/char.a drivers/net/net.a drivers/pci/pci.a \ /usr/src/kernel-source-2.0.33/arch/i386/lib/lib.a /usr/src/kernel-source-2.0.33/lib/lib.a /usr/src/kernel-source-2.0.33/arch/i386/lib/lib.a -o vmlinux fs/filesystems.a(fat.o): In function `fat_readdirx': fat.o(.text+0xf85): undefined reference to `utf8_wcstombs' fs/filesystems.a(fat.o): In function `fat_put_super': fat.o(.text+0x204b): undefined reference to `unload_nls' fat.o(.text+0x2068): undefined reference to `unload_nls' fs/filesystems.a(fat.o): In function `fat_read_super': fat.o(.text+0x2f23): undefined reference to `load_nls' fat.o(.text+0x2f47): undefined reference to `load_nls_default' fat.o(.text+0x2f70): undefined reference to `load_nls' fat.o(.text+0x2f94): undefined reference to `unload_nls' fat.o(.text+0x2fa9): undefined reference to `load_nls_default' fat.o(.text+0x2fd8): undefined reference to `unload_nls' fat.o(.text+0x2fe8): undefined reference to `unload_nls' make[1]: *** [vmlinux] Error 1 make[1]: Leaving directory `/usr/src/kernel-source-2.0.33' make: *** [all] Error 2 Any ideas? In the menuconfig I used the default .config and added soundblaster sound only. A second totally unrelated question... In my shells, If I hit the BS or Delete key, it deletes the character to the left of the cursor... Not ideal, but not to bad. In netscape writing mail, the delete and backspace key deletes the character before the cursor... Anyone else seen this? If so, what is the fix? Doug Nielsen wrote: > On Sat, 6 Jun 1998, Doug Thistlethwaite wrote: > > > Ok, I have the right package now. > > > > I looked at the make-kpkg man file and its a lot more complicated then I > > had hoped > > :) > > > > I ran make-kpkg and it just made the files again as I had before. > > > > I probably changed a ton of things in the .config file while I was messing > > things > > up with the stuff I was doing before. > > > > What is the easiest way for me to take the kernel I am currently using (the > > default one) and add the soundblaster support. Or if there isn't an easy > > way, what > > order of steps should I use to make a kernel? > > If the configuration is messed up, delete .config and run 'make > menuconfig' and it will start with the default set. > > > Bob Nielsen Internet: [EMAIL PROTECTED] > Tucson, AZ AMPRnet: [EMAIL PROTECTED] > DM42nh http://www.primenet.com/~nielsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
On Sat, 6 Jun 1998, Doug Thistlethwaite wrote: > Hello, > > I have a soundblaster card I wanted to get working under my bo system. > My system is currently running 2.0.33 so I downloaded the source so I > could make a version with the sound blaster support. > > Here is what I did > > 1. make menuconfig - go through list and remove all the stuff that > sounds like I don't need it. > > 2. make dep > > 3. make clean > > 4. make zImage - This errors out because of the kernel size. > > 5. make gzImage - Readme file says to do this if above didn't work > > 6. make modules > 7. make modules_install > 8. copy new kernel to /boot and make symbolic link to /linuz > 9. run sbin/lilo - This errors out saying the kernel is to big! > > The kernel size is about 1.4M where the one I downloaded during my > initial install is only ~600K. Why is mine so much bigger? The last try > I gutted everything that didn't seem to be required... Am I doing > anything wrong in my process above? There are two kernel files in the source tree after compilation, uncompressed and compressed. (I believe) Get the compressed one, in the arch tree called zImage... (I cant remember where it is) I know everyone else suggests kernel-package, but I like being in control. :) Michael Beattie ([EMAIL PROTECTED]) --- With code like Microsoft's, who needs viruses??? --- Debian GNU/Linux Ooohh You are missing out! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
On Sat, 6 Jun 1998, Doug Thistlethwaite wrote: > Ok, I have the right package now. > > I looked at the make-kpkg man file and its a lot more complicated then I had > hoped > :) > > I ran make-kpkg and it just made the files again as I had before. > > I probably changed a ton of things in the .config file while I was messing > things > up with the stuff I was doing before. > > What is the easiest way for me to take the kernel I am currently using (the > default one) and add the soundblaster support. Or if there isn't an easy way, > what > order of steps should I use to make a kernel? If the configuration is messed up, delete .config and run 'make menuconfig' and it will start with the default set. Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
Yo- > What is the easiest way for me to take the kernel I am currently using (the > default one) and add the soundblaster support. Or if there isn't an easy way, > what > order of steps should I use to make a kernel? Do you have x-windows running? If so, run 'make xconfig' in your kernel source directory. It is a GUI kernel config program and is much more intuitive than menuconfig. I will assume that you are referring to a SB16 PnP from here on. You want to compile sound support as a module and then add the correct IRQ, DMA, and addresses in the kernel config. Then you should compile with 'make dep; make clean; make zImage' when that is done run 'make modules; make modules_install' and your kernel should be OK. Copy it to /vmlinuz and reboot. You may then need to use isapnptools to set-up your sound card. Compile your kernel and then get that package. Hope that helps, -Ian _ Ian K. Setford [EMAIL PROTECTED] H: 940.566.0461 Pgr: 817.901.0255 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
Ok, I have the right package now. I looked at the make-kpkg man file and its a lot more complicated then I had hoped :) I ran make-kpkg and it just made the files again as I had before. I probably changed a ton of things in the .config file while I was messing things up with the stuff I was doing before. What is the easiest way for me to take the kernel I am currently using (the default one) and add the soundblaster support. Or if there isn't an easy way, what order of steps should I use to make a kernel? thanks again! Doug G. Kapetanios wrote: > Try the make-kpkg package. > Then make menuconfig > make-kpkg --revision (version nunber) buildpackage in /usr/src/linux > and dpkg -i kernel-imagedeb > and you are done > It is much simpler than the standard procedure > George > > --- > George Kapetanios > Churchill College > Cambridge, CB3 0DSE-Mail: [EMAIL PROTECTED] > U.K. WWW: http://garfield.chu.cam.ac.uk/~gk205/work_info.html > --- > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
On Sat, 6 Jun 1998, Doug Thistlethwaite wrote: > Hello, > > I have a soundblaster card I wanted to get working under my bo system. > My system is currently running 2.0.33 so I downloaded the source so I > could make a version with the sound blaster support. > > Here is what I did > > 1. make menuconfig - go through list and remove all the stuff that > sounds like I don't need it. > > 2. make dep > > 3. make clean > > 4. make zImage - This errors out because of the kernel size. > > 5. make gzImage - Readme file says to do this if above didn't work Do you mean "gzImage"? Shouldn't this be "bzImage"? > > 6. make modules > 7. make modules_install > 8. copy new kernel to /boot and make symbolic link to /linuz > 9. run sbin/lilo - This errors out saying the kernel is to big! > > The kernel size is about 1.4M where the one I downloaded during my > initial install is only ~600K. Why is mine so much bigger? The last try > I gutted everything that didn't seem to be required... Am I doing > anything wrong in my process above? > I wouldn't think that 'make gzImage' would do anything at all, but apparently it made an uncompressed kernel. Try 'make bzImage'. An easy way to do all this with Debian is to use 'make-kpkg', which is in kernel-package. This compiles the kernel and creates a .deb package. When you install this with dpkg, it puts everything where a Debian system expects it and runs lilo. Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
Doug Thistlethwaite wrote: > > Thanks for the input George, > > I have looked all through the bo archive (using dselect) for a package called > make-kpkg. I do not see one on my mirror by that name. That should be `kernel-package'. It should be in the `misc' section, IIRC. Noel -- transfer, n.: A promotion you receive on the condition that you leave town. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
On 6 Jun, Doug Thistlethwaite wrote: > Thanks for the input George, > > I have looked all through the bo archive (using dselect) for a package called > make-kpkg. I do not see one on my mirror by that name. ^ Try kernel-package instead. The program to run (after you have installed kernel-package) is indeed called make-kpkg. > > G Kapetanios wrote: > >> Try the make-kpkg package. >> Then make menuconfig >> make-kpkg --revision (version nunber) buildpackage in /usr/src/linux >> and dpkg -i kernel-imagedeb >> and you are done >> It is much simpler than the standard procedure >> George >> HTH, -- Stephen Ryan Debian GNU/Linux Mathematics graduate student, Dartmouth College -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
> Thanks for the input George, > > I have looked all through the bo archive (using dselect) for a package called > make-kpkg. I do not see one on my mirror by that name. The package is called kernel-package. HTH, Matthew -- Elen sila lumenn' omentielvo Steward-elect of the Cambridge Tolkien Society Selwyn College Computer Support http://www.geocities.com/Area51/Chamber/8841/ http://www.cam.ac.uk/CambUniv/Societies/tolkien/ http://pick.sel.cam.ac.uk/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
Thanks for the input George, I have looked all through the bo archive (using dselect) for a package called make-kpkg. I do not see one on my mirror by that name. Doug G Kapetanios wrote: > Try the make-kpkg package. > Then make menuconfig > make-kpkg --revision (version nunber) buildpackage in /usr/src/linux > and dpkg -i kernel-imagedeb > and you are done > It is much simpler than the standard procedure > George > > --- > George Kapetanios > Churchill College > Cambridge, CB3 0DSE-Mail: [EMAIL PROTECTED] > U.K. WWW: http://garfield.chu.cam.ac.uk/~gk205/work_info.html > --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Kernel for Sound
Try the make-kpkg package. Then make menuconfig make-kpkg --revision (version nunber) buildpackage in /usr/src/linux and dpkg -i kernel-imagedeb and you are done It is much simpler than the standard procedure George --- George Kapetanios Churchill College Cambridge, CB3 0DSE-Mail: [EMAIL PROTECTED] U.K. WWW: http://garfield.chu.cam.ac.uk/~gk205/work_info.html --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]