Re: On Learning Debian
hi there,
rebuilding the kernel really isn't as hard as you might think. I'm a
total newbie, and it was one of the first things I did (had to, didn't
do it by choice). I've attached a couple of files that really helped
me out -- I forgot who gave them t r Coin or Dman, I think,
but in any case they're gre itsources. You may need to tweak them a
bit, but they should help.
matt
On Wed, Oct 02, 2002 at 10:31:23PM -0700, Mark Seven Smith wrote:
> I wish to really master Debian. I've run Red Hat and SuSE; but I have
> switched to Debian, because I have always wanted it--and I don't like to
> have everything done for me, all my choices made for me, the way the two
> mentioned distros do. The thing is, having run those distros in the past,
> didn't really leave me prepared for a "real" Linux distribution like Debian.
>
> Now, I have printed out the Debian FAQ, and the Debian Reference and Quick
> Reference, and I am sort of having trouble geting started. There is so
> much to learn!
>
> What is the suggested course to follow, to learn? I have "Running Linux",
> but I can't really get any new books this month, and my health makes it
> difficult to read at the computer for long periods of time (which is why I
> made the printouts). I've made other printouts as well (the apt-get HOWTO,
> Debian installation manual, the Debian Kernel HOWTO, some other things, but
> where to start?)
>
> Any ideas, suggestions, what helped for you, etc. etc. would be appreciated.
>
> One thing I need to do, is to re-build my kernel so that I can use the
> experimental USB patch for USB support for my Sharp Zaurus--and in reading
> a recent thread started by a guy who has a SubWiki page on building the
> Debian kernel, has left me totally confused!
>
> TIA,
>
> --
> Mark Seven Smith: | markvii | AKA: Pampaluz
> Registered Linux User #122264, Debian GNU/Linux
> pampaluz@cox.net http://counter.li.org/
> * Remember To Update Your Linux Counter Info! *
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
# A compendium of helpful tips that I've used to maeke debian work on my ocmputer (running ABIT AT7 motherboard, Nvidia video card, USB-only input devices, Lexmark Printer, and
ALSA sound drivers for my onboard REALTEK ALC650 (with VIA 8223 chipset).
KERNEL COMPILATION
Basic Debian kernel strategy:
get kernel source from www.kernel.org, tar xjf the bz2 file in /usr/src, make mlink to /usr/src/linux. Then:
/usr/src/linux make xconfig (creates the .config file)
/usr/src/linux make-kpkg clean
make-kpkg -revision kernel.number -append-to-version extraversion kernel-image
make-kpkg modules_image
mv /lib/modules/kernel.number_extraversion /lib/modules/kernel.number_extraversion.old
/usr/src dpkg -t kernel-image-kernel.number_extraversion.deb
dpkg -i {any modules created}
Particular module components I need for my system:
For Nvidia video card:
Need both the Nvidia drivers and the utilities package
nvidia-kernel-src
nvidia-glx-src
Then do the following:
# apt-get install nvidia-glx-src nvidia-kernel-src
# tar xzvf nvidia-kernel-src.tar.gz
# cd /usr/src/linux
# (fakeroot) make-kpkg modules_image
# cd /usr/src/nvidia-glx-[TAB] ;
# (fakeroot) dpkg-buildpackage -us -uc
# cd /usr/src
# dpkg -i nvidia*.deb
also I think it's pretty important to have agpgart there
Then for USB: the problem is to make sure the right usb modules are installed in the kernel:
when I lsmod on my working kernel I get
usbkbd
input
usb-uhci
usbcore
but what I remember is that I relaly need to install
hid
usb-uhci (dman says usb-ohci for amd systems)
mousedev
also I might need to mknod /dev/xxxx c 13 63 (the numbers at the end identify the mouse as usb-oriented)
For Lexmark Printer:
here's a paste from my latest round with debian. But stuff only resally worked when I rebooted everything and started from scratch. Also, I don't seem to have the lexmark driver source anymore (need to alienate that etc):
1. turn up the LogLevel (cupsd.conf) to debug
2. make sure you're using the "lexmarkinkjet" cups driver. this probably were you went wrong, so I'll provide more details. You need the a PPD file that uses lexmark's filter (the rpm you installed). This is the "lexmarkinkjet" filter. I found it on rpmfind in a package called something like cups-lexmark-driverdrivers-lexmark. You need to copy this PPD file to /usr/share/cups/model/Lexmark.
3. restart cups, re-add your printer, etc. Cups should have added your printer to its dbase (you can check the error_log)
4. edit the /etc/cups/printers.conf file so that the DeviceURI line reads "test:/dev/null" instead of usb:/dev/usb/lp0, etc.
5. restart cups again and hope it works
Good luck.
-Paul
P.S. I can send ya my PPD file if you want.
> Hi everyone,
>
> yet another printing question. I've tried to use the recent threads
> about printer installation to get started, but haven't been ableto
> actually print anything yet. Here's the sitch:
>
> I have a lexmark z53 inkjet printer. I've nstalled cups*, foomatic*,
> and the lexmark drivers from lexmark.com (I installed them using dpkg
> after alienating the rpm package. I didn't get any interesting messages
> while doing so, though). I ran the lexmark foomatic kit and a printer
> was installed for me under cups. But when I try to print nothing comes
> out, and if I try restarting the job I get only errors. In the admin
> interface it reads "client-error-not-possible"; in
> /var/log/cups/error_log it's a bit more obscure, but here's a sample:
>
ALSA
well, I haven't gotten thatworking yet. There are a bunch of tips, but I can't tell if they wiljl work for me.
here are a couple:
well, I modified an alsabuild script -- maybe that will work for me.
then, there's some html help sources:
http://www.alsa-project.org/~valentyn/Alsa-sound-mini-HOWTO-2.html#ss2.2
http://alsa.opensrc.org/index.php?page=Quick+Install (this one is very very good)
Reply to: