Multitech Modem MT9234ZBA-USB Uživatelský manuál Strana 37

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 48
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 36
AppendixDInstallingwithLinux
MultiTechSystems,Inc.MT9234ZBAUSBUserGuide 37
InstallingKernelSources
TobuildtheTIUSBdriveryoumusthavethematchingker nelsourcesforyourkernel.
Toverifythatyouhavematchingkernelsources:
1. Run"uname‐r"togettheversionoftherunningkernel.
2. Checkforthedirectory/usr/src/linux<version>,/lib/modules/<version>/source,
/lib/modules/<version>/build,or/usr/src/linux<stripped_version>,wherestripped_versionhastheextra
versioninformationremoved.
3. Inthesedirectorieslookforthefilesinclude/linux/autoconf.hand.config.
Ifyoudonotfindthecorrectkernelsourcedirectory,youmustfindandinstallthekernelsourcesfromyour
distributionCDsorothermedia.
PreparingKernelSources
Thisstepmayormaynotbenecessary,dependingonhowyourLinuxdistributioninstallsthekernelsources.
Loginasrootanddothefollowing:
Command Explanation
1.cd/usr/src/linux<version> Changetothesourcedirectory.
2.makemrproper Cleanupanyoldfiles.
3.Useeitherofthesecommands:
makeoldconfig
OR‐
makecloneconfig
Makeaconfigurationfiletomatchyour
runningkernel.
forRedHat
forSUSE
Forotherdistributionsthesesamecommands
mightwork,oryoumightneedtofinda
configfilein/bootorinaconfigsdirectory,
copyitto.co
nfig,andrun"makeoldconfig".
4.makedep Createthedependencyandversionfiles.
Ifyouhavebuiltyourownkernel,thekernelsourcesarealreadybeinstalledandprepared.Ifyouareusinga
kernelthatcamewithaLinuxdistribution,itcansometimesbediff iculttogetthekernelsourcescorrectly
installedandprepared,sinceeachLinuxdistributionhandleskernelsourcesslightlydifferently.
Forexample,ifyouge
terrorsaboutthewrongkernelversion,youmayhaveinstalledthewrongkernelsources,
oryoumayneedtoeditthekernelversioninthetoplevelMakefileofthekernelsources.Ifyougetcompilation
errors,perhapsyouforgottorun"makeoldconfig"and"makede
p".
Ifyouhavedifficulties,lookcarefullyattheerrormessageswheninstallingtheTGZorRPMpackages‐‐those
messagesshouldgiveyouanindicationofjustwhattheerroris.
Zobrazit stránku 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 47 48

Komentáře k této Příručce

Žádné komentáře