Alpha Linux ġ Ȱ

    : ѵ / ddoch@hitel.kol.co.kr

     

 

1. 鼭

    ...
    Ƹ ڸ ϳ ý ̴. ϸ Ѱ ٶ ȥǰ 1ȣ ö? :)
    ۳⿡ 츮 湮ߴ ŵ嵶 Ȧ ȸ ܿ â þҴٰ ̾߱ϸ鼭, ڽŰ ̿ ־ õ ִ Ǽҵ带 ־. ŵ嵶  Բ ̸ ϸ鼭 ̾߱⸦ , ÿ ؼ  ϳİ ŵ嵶 ,  Ŀ ؼ ޸ غ ٰ , Ŀ PC ϰ ִٰ 亯ߴ. ̿ ŵ嵶 ڽ ٹϴ 縦 ý  ϰ, ʿ ο ߴٴ ̾߱⸦ 콺ν ǥ ִ .
    ƹư ̷ ؼ ۵Ǿ, Ŀ ý ְ Ǿ.

 

2. 64Ʈΰ?

    ׷. ó Ŀ 32Ʈ. ̶ 翡 Ÿ Ͽ Ͽ, ҽ ڵ带 ü Ͽ.

    ̶ Ŀ 1.0 ECOFF Ư ־, ũⰡ 峭 ƴϿٰ Ѵ. Ŀ ŵ嵶 ǰ, ׿Լ Jensen ӽ ( 迭 ) , ۾ ϰ ȴ. 1994 10 24, Ŀ 1.1.60 include/asm-alpha 丮 Ŀο ߰Ǿ. ̶ Ŀ gcc ʰ, ʿ䰡 н ִ Ϸ ߾. gcc DZ ̾. ð л XFree86 ̽Ÿ (Jay Eastabrook) ۼ ϷǾ, 64-bit ⺻ ġ ʿ ۾ Ǿ. ̵ ٽ ܺο ڸ ް ȴ. ⿡ C ̺귯 64Ʈ ǽ(Bob Manson) Ȯ ý ̺ 𽺹(David Mosberger-Tang) ԵǾ ־. ħ ð 귯 Ŀ 1.2 ö󰡰 ǰ, Ÿ ̺귯 GNU Ϻ 64Ʈ Ǿ.

    ó ̳ʸ ECOFF, 1996 7 GNU libc ELF ý ȯϿ ̺귯 ڿ ־.
    п ó ̸ 극̵(BRADE). ̰ ״ ʾƼ ɿ ־ , ̸ ڽŵ ҽ ֱ⸦ ġ ʾҴ. ˰ ִ ް ũƮũ(Craftwork) Ǹϰ ִ.
    RISC ŰĿ ư Ϻ 64Ʈ ü̴. Ұ Ǵ "32Ʈ ü: ʿ䰡 ִ.

     

3. Ķ ΰ?

    Ĵ Digital Equipment Corporation μ ø̴. CPU Ϲ CPU CISC Űİ ƴ, ٸ ణ , RISC 64Ʈ μ̴. 92⿡ ó 21064 迭 150MHz Ÿ ̾ 翡 21164 600MHz õǾ. 21264 迭 žư鼭 GIGA MHz Ѿ ӵ ̱ ư . ̼ ִ PC Ľý 21164 466~533MHz ž PC164LX 21164PC ž PC164SX ̾ ̴ UX,ZX  . ̿ܿ л翡 Ǹϴ ũ̼DZ ӽ鵵 ټ ִ.
    , Ŀ ư OS Linux, windows NT, DEC UNIX, Open/VMS ýۿ ư ƴϴ. DEC UNIX ٸ ڴ Open/VMS 浵 غ . DZ Linux, NT ̴.

     

4. ġ
 

     1) ϴ ϵ

    ϴ ϵ 캸.
     

    • AlphaPC64 (Cabriolet, Aspen Telluride)
    • AxpPCI33 (Noname)
    • EB64++ (Aspen Alpine)
    • EB66 (NekoTech Mach 1)
    • EB66+
    • Jensen (DEC PC 150, 2000 model 300, Cullean)
    • Universal Desktop Box (UDB, Multia θ)
    • AlphaStation 200, 250, 255, 400 (Avanti machines)
    • EB164 (Aspen Avalanche, Timberline, Summit; Microway Screamer)
    • Kinetics Platform 2000 ӽ
    • PC164 ӽ(Durango)
    • Alcor Ÿ ӽ (AlphaStation 500, 600; Maverick, Brett)
    • Alpha-XL
    • Alpha-XLT (XL 300, XL 366)
    • AlphaPC164LX
    • AlphaPC164SX (Montrose)  

    PC164LX PC164SX ֱٿ ̶ 5.0 ȴ. MILO ̹ ߰ ִ ý Ű 鿡 Ư ޶ Ƿ 4.2 ִ ϴ . SCSI Ʈѷ NCR 810, NCR 850, BusLogic PCI, Adaptec AHA2940 迭, Qlogic 1020 ISP, Jensen AHA1740 ư. ī PCI ǰ ϰ, 3Com, NE2000 ȣȯ ī嵵 ư. ׷ ī Ϲ S3 Ĩ ϰ, иϾ MGA II 5.0 ưٴ ϰ ϴ.

     

     2) ġ

    ġ ʱ ϰ ġ ϴ. ְ, ִ ϰڴ. ޻翡 ߸ϴ 뷫 50$ Ѵ. ̷ϴ Ʈ ޾Ƽ ġϴ ͵ . 쿡 ̳ʸ ִ 찡 Ƿ ϴ . ( 쿡 4.2 lp迭 ɾ Ÿ ƿƼ ߿ Ϻ ־, 5.0 ⺻ ̺귯 Ű¡Ǿ ־ ġ Ұߴ. ̷ ޾Ƽ õ ߻ ɼ ϰ...)
    LILO ʴ´. ٸ ̴. ϸ ̿ о̰, Ŀ δ б ù ° ϵ ũ ù κ̳ ÷Ǹ о, ϸ EEPROM(Flash ROM) ߿ оδ. ߿ ȴ.

    ̰ ̿ ϴ , Ѱ ⺻ ̿ NT ̿μ NT ġ ϱ Ǿ ־, ڿ ٴ ̴. ִ ƴұ Ѵ. ü ϸ鼭 ڻ ӽ NT ŭ̳ ڵ ϰ ұϰ, NT ϴ ׸ ó簡 ƴ϶ . Ǿ ٵ MS ȴ . · Ŀ ϴ ִ.

    MILO ̹ : MILO(MiniLoader) ϴ ϸ, ٸ OS
                             . MILO Ŀ, ECOFF ELF
                            Ŀ ִ. Ʈ ġ Ŀ
                            о ִ. MILO ڽ Flash ޸𸮿 ڽ ϰ,
                            Ŀ ϱ ޸𸮿 ڽ Ѵ.
    SRM ܼ : Digital UNIX Ʈϱ Ǿ, SRM ܼ
                         ϱ ؼ ̿ SRM Ͽ Ѵ.
                         SRM ܼ ߿ ڽ ýۿ ´ Ͽ ϸ,
                         ѹ ϰ EEPROM ü DZ ϴ
                          .
    ARC ܼ : MS 翡 Ʈδμ Windows NT ÿ Ѵ.
                         FAT ̳ ISO9660 EXE ϸ о ִ.
                         ߿ MILO ̰ ϱ ȴ.
                          ġ 캸 .

    MILO ̹ ũ ( Ŀ 縦 )
    Ŀ ̹ ũ (Boot disk)
    ũ (Root Disk)
    ̿ (MILO о̱ )
    ؼ ġϱ
    ġ ġ ð ڵȭϱ

     

    MILO ũ

    MILO ÷Ǹ ؼ н ýۿ dd ϰų, ũμƮ NT MS-DOS ýۿ õ ִ rawrite.exe α׷ ִ. dd Ϸ, CD Ʈϰ (/mnt/cdrom Ʈϴ ϰڴ.), milo/image/ ýۿ ´ ̹ Ѵ. ֽű MILO ̹ 4.2 Ƿ 5.0 õ𿡼 ϴ, ƴϸ ̷ Ʈ alpha MILO ִ.

    ftp://gatekeeper.dec.com/pub/Digital/Linux-Alpha/Miniloader/latest-Images/

    ⿡ ׻ ֱ MILO ̹ ö´. FAT ˵ ÷ǿ ⿡ MILO ̹ CDROM ִ linload.exe ؼ ȴ.

    ftp://ftp.redhat.com/pub/redhat/redhat-5.0/alpha

    Ʈ ̷ Ʈ ֽ ִ 丮 ׻ MILO ̹ ο ִ.
    MILO ̹ Ѵ.

    cd/mnt/cdrom
    dd if=milo/images/your-image.imgof=/dev/fd0

    rawrite Ϸ, ýۿ ´ ̹ , Ѵ. (õ ̺갡 d: Ѵ.)

    d:
    cd milo/images
    dosutilsrawrite.exe

    rawrite ̹ ̸  ε, ⿡ ýۿ MILO ̹ ̸ ԷѴ. ( : lx164.img) ׸ ̹ ̺긦  a: ԷѴ.
    Ŀ ġ ÿ MILO ʴ´ٸ, ڽ ýۿ MILO ̹ Ȯ ʾƼ ɼ . ̷ MILO ̹ ο üѴٴ SRM ַܼκ õغ ִ. SRM ֿܼ aboot ϴ ٷӱ ϰ ϱ ٶ.
    "MILO ̹" ٿΰ ϵ .

     

    Ŀ (Boot) ũ

    MILO ÷ ũ Ŀ, ڽ ý ŸԿ ´ Linux/Alpha Ŀ  Ʈ ÷Ǹ Ѵ. Ŀ ̹ CD images/ 丮 ִ.
    ̵ ̹ Ϲ VGA TGA ׷ ī ư.
    Ŀ ÷Ǹ ؼ ռ dd rawrite ϸ ȴ.
    , (Linux UNIX 󿡼) dd ̵ ϰڴ.

    cd/mnt/cdrom
    dd if=images/your-image.img of=/dev/fd0

    ( NT MS-DOS ) rawrite ϼŵ ϴ.

    d:
    cd images
    dosutilsrawrite.exe

    rawrite ϸ, ̹ ̸ µ ýۿ Ŀ ̹ ̸ ԷѴ. ( : lx164.img) ׸ ̹ ̺긦 µ, Ϲ a: Էϸ ȴ.
    " Ŀ ÷" ٿ ε .

    PC164LX PC164SX 쿡 Ŀ ̹ ٸ eb164.img ϸ ϰ ġ ִ. ̋ ý Ÿ Ȯϰ ʱ ణ ߻ Ƿ ġ Ŀ ϱ ٶ.

     

    ũ

    ũ ̹ CD images/ramdisk.img ̴. ũ ̹ MILO ÷dz Ʈ ÷Ǹ dd rawrite ϸ ȴ. (Linux UNIX 󿡼) dd Ѵٸ...

    cd/mnt/cdrom
    dd if=images/ramdisk.img of=/dev/fd0

    rawrite Ѵٸ...

    d:
    cd images
    dosutilsrawrite.exe

    rawrite ̹ ̸ µ, ramdisk.img ԷѴ. ׸ ̹ ̺긦 , Ϲ a: Էϸ ȴ.
    "ũ ÷" ٿ.

     

    ̿

    Ŀ ϸ ִ´ٰ õǴ ƴϴ. ؼ ̿ ؾ Ѵ. ó ׷ ī忡 ְ, AlphaPowered Բ ǻ ׸ ϳ ´. ġ ãƳ ʱȭϴ . ڰ ϰ ִ ý Digital Alpha 21164 533Mhz AlphaPC164LX̴. ȭ鿡 Ÿ ޽ ̴.

     

    AlphaBIOS 5.62-1a

    Alpha Processor and system Information:
         System:             AlphaPC 164LX
         Processor:         Digital Alpha 21164, 533MHx
         Memory:            128MB

    SCSI Controller Initialization...

    Initializing ATAPI #0...
         Device: Disk   SCSI ID: 0   QUANTUM FIREBALL SE4 API.  

    Initializing ATAPI #1...
         Device: CD-ROM SCSI ID: 0 GoldStarCD-ROM CRD-8240B1.10  

    Network Initialization...

    Initilization...
       NETWORK   HARDWARE                 HOST IP         SERVER IP
             0         00-40-05-36-14-52     0.0.0.0           0.0.0.0

    Initalizing Complete.

     

     

    F2=SETUP PATUS=Pause Display ESC=Bypass Network Init

     

    ʱȭ , ޴ . ġ Ϸ ýۿ .

     

    AlphaBIOS Version 5.62-1a

     

    Please select the operating system to start:

     

    Windows NT Workstation Version 4.00

    Linux

    Use and to move the highlighto your choice.

    Press Enter to choose.

                                                  Press <F2> to enter SETUP            
     

     

    츮 ġ ʾұ ƹ ޴ Ÿ ʴ´. <F2> AlphaBIOS SETUP ȭ  . , CMOS Setup  ð Ȯ . ð ߸Ǿ , ġÿ ִ. ׸ Ʒ Auto Start Count ڵ ýñ ð̴. ġ ϰ Ű ġ ŷӴٸ Ŀ غ ͵ ̴. Network Setup ޴ . ýÿ Ʈ ʱȭ , DC21X4 ī 쿡 , ٸ ī带 쿡 ǹ̰ . ð ϹǷ Network Setup ޴ Network disable Ű ִ. Ʈ ٽ ʱȭϹǷ . DC21X4 ī带 쿡 Network ޴ Ȯ ڽ Ʈ 翡 ָ ̴. Ʈ ʴٸ ׳ ص .

    Linux ؼ 'Utilites' ޴ 'OS selection Setup...' ޴ . ƹ ޴ ׸ ų ִ Windows NT ޴ ϳ ޶ ̴. ޴ ϳ , ġ OS ޴ ִٸ ؼ,

     


      Boot Name : Linux                                                                    
      Boot File  :   A:                  linload.exe
      OS Path   :    CD:                 milo
      OS Options :
     

     

    ̷ غ. Boot Name ڱ ص . OS Options Ŀ MILO Ŀ ڵ о̵ ϴµ ϸ ϴ. ׳ Ѿ. ϰ, ͼ Ű. ̿ ϰ Ƿ ϴ . Linux OS ޴ ϳ ̴.

     

    ġϱ

    MILO ũ ְ, Ű ߿ MILO о̸鼭 ȭ ٲ. ƹ ̻ ٸ MILO> Ʈ ̴. Ŀ ̹ ũ ÷ ̺꿡 ְ, Է.

    MILO> boot fd0:vmlinux.gz root=/gev/fd0 load_ramdisk=1 prompt_ramdisk=1

    MILO Ʈ ũ Ŀ о װ ų ̴. Ŀ Ʈ , ũ ޽ ε, ̶ ̸ ũ ÷Ǹ ÷ ̺꿡 ְ Enter . ÷Ǹ о鿴 ȭ Ÿ ̴. ⼭ ʹ ġ ϹǷ ĿǸ ϸ鼭 ġ ϸ ̴.

    Ϸ MILO ̹ ʿѵ, ÷Ǹ Ƿ Ƽ ÿ ù ° Ƽǿ 6ް(ּ 2ް) FAT Ƶε . ռ ̾߱ AlphaBIOS FAT ISO9660 ý۸ о ֱ ̴. ϴ FAT Ƽ ̸ "DOS 16-bit>=32"̴. Ѱ ؾ ðÿ ARC ֿܼ о ϴ ̴. Ŀ ̰ /sbin/timeconfig ٽ ִ. ġ ռ Ŀ ÷Ǹ ϵũ ϴ ̹Ƿ Ŀ ÷Ǹ ־־ Ѵ. ڿ δ Ű ġٰ Ǽ Ͽ ¯ 繬 ɼ Ƿ ϴ . :) Ȥó ũ ̹ ־ ä Ű ƴٸ ġ ó ٽ ؾ Ѵ. ( 4.2 ) ũ ǻ 쿡 yp ø Ű amd ġ ߿ ִ . ̵ ũ Ű κп ִµ, ý ϱ ظ Ѵ. Ʈ ̴.

     

    ڵȭϱ

    ġ ٸ غ. ռ ̾߱ MILO ̹ FAT ý ʾҴٸ . ̹ FAT ý ٸ ص ȴ. ⿡ /dev/hda1 .

    mkfs.msdos /dev/hda1 (ġ ٸ)

    Ʈ ϰ, MILO ÷ǿ Ѵ.

    mount -t msdos /dev/hda1/mnt/dos
    mcopy a:*/mnt/dos

    linload.exe milo ̴.
    MILO ÷ ϴ. AlphaBIOS Linux ޴ ٲپ . ⿡ Ƽ /dev/hda3 ̶ Ѵ.
     


      Boot name :                Linux                                                     
      Boot File :                  Disk 0, Partition 1       linload.exe
      OS Path  :                  CD:                           milo
      OS Options:   boot  hda3:vmlinux.gz root=/dev/hda3
     


    ÷ǿ MILO о ʰ, ù ° FAT Ƽǿ оδ.
    OS Options MILO Ʈ Ÿϴ ̴. hda3 ſ ڽ Ƽ Ȳ ° ٲپָ ȴ. OS Path ÿ Ƿ, ÿ Ÿ ޽ Ű澲 ʾƵ ȴ. OS Options ʴ´ٸ, MILO Ʈ boot Ͽ Ѵ.

    MILO> boot sda2:vmlinux.gz root=/dev/sda2

    ̰ SCSI ϵũ ° Ƽ ̴. vmlinux.gz ̶ ̸ ٸ ̸ Ŀ ִ. ýۿ ܼ single  single ָ ȴ.

    MILO> boot hda2:vmlinux.exit.gz root=/dev/hda2 single

     

    Linux NT Ƽ

    Ŀ Linux NT Ƽ ϴ. NT ̿ ϴ NT ġ ޴ ϸ ġش. NT ڴ Ƿ ġϱ⸦ Ѵ. ׷ NT Ȯ ƼDZ Ŀ ġ . NT ġ ߿ ణ ʿϴ. NT OS Loader ⿡ ȴ. ̰͵ FAT 䱸ϱ Ƽ Ϸ, MILO ϱ 6MB NT ýÿ Բ Ƿ ſ ȿ̴. ̸Ӹ E-IDE Ÿ 뷫 3.2GB 뷮 ϵ忡 ġѴٰ , 뷫 Ƽ ̴.

     Ƽ

    hda1

    6M

     MILO ڵ , NT ⵿ (NT C:)     

    hda2

    120MB

      Ƽ(޸ 128MB )

    hda3

    1500MB

      Ƽ

    hda4

    1500MB

     NT Ƽ (NT D:)

     

    ⿡ hda1 ڵ milo ̹ milo δ linload.exe Ǵ ̸, ÿ NT ⵿ ϰ ߿ ϴ ִ. ýۿ FAT ̱ ̴.

     

5. Ŀ

    Ŀ ϳ ŰĿ ʿ ҽ  ִ. ⺻ ڵ Makefile arch = i386 ̶  ִ. ŰĿ κ /usr/src/linux 쿡, include arch 丮 ִ. Ƹ ǥ ġϿٸ /usr/src/linux Ŀ ҽ  ̴. ٸ ( Ŀ ġ ) Ŀ ҽ sunsite ؼ ǥ 丮(/usr/src) Ǯ. ڴ Ŀ 2.0.32 Ѵ. ƹ 2.0.32 fragment װ ġ ʾұ ̴.
    PC164LX PC164SX ֱ ý ϰ ִٸ, ݵ Ŀ ġ ʿϴ. Ŀ ġ ִ.

    ftp://gatekeeper.dec.com/pub/Digital/Linux-Alpha/Kernels/alpha-patches-2.0.32-0.1.gz

    gatekeeper Ʈ 丮 2.0.30 Ŀ ġ Բ ϱ ٶ.
    Ŀ ġ ϴ .

    cd/usr/src/
    tar xvzf linux-2.0.32.tar.gz
    ln -s linux old
    gzip -dc alpha-patches-2.0.32-0.1.gz | patch -p0

    غ Ƿ Ŀ Ͽ  .
    Ŀ Ŀ ڰ ϳ make zImage ſ make boot Ѵ.

    cd/usr/src/linux
    make mrproper
    make menuconfig (menuconfig ſ xconfig, config 밡)
    make dep
    make clean
    make boot
    make modules
    make modules_install

    Ŀ ÿ ý Ÿδ ڽ Űó ´ ׸ ؾ Ѵ. ׷ Ͽ ϰų 뿡 ִ.

    1 : ð ʴٴ ޽
    Ͻÿ Makefile ҽ ð ʴٴ ޽ ´ٸ, ġ ð ߸Ǿ ׷ ̴. ð ùٸ AlphaBIOS ٽ ϰ ҽ ð ϰ Ѵ.

    find/usr/src/linux -type f -exec touch {} ;

    2: PYXIS ߻
    pyxis 21164A , ޸ PCI ϰ ִ ٽ ȸ ̸̴. 21164A ʴ´ٸ pyxis µ, ⺻ pyxis ڵ 찡 Ƿ ش. make menuconfig ģ ϱ Ѵ.

    /usr/src/linux/include/linux/autoconf.h

    Ͽ,

    #define CONFIG_ALPHA_PYXIS 1

    ãƼ Ѵ.

    #under CONFIG_ALPHA_PYXIS

    autoonf.h Ŀ ģ Ŀ Ư   ϱ ڵ Ǵ ̴.
    Ŀ ۾ ״ ϸ ȴ.
    ƴٸ, arch/alpha/boot/ vmlinux.gz̶ Ŀ ȴ. ڰ ޸ Ŀ Ŀο ߰ ۾ ٷ / 丮 縸 ϸ ִ. / 丮 vmlinux.gz vmlinux.old صΰ vmlinux.gz صд.

    3 : Ӱ Ŀ ȵȴٸ
    MILO ۵ Ű MILO Ʈ . Ŀη ϸȴ. Ŀ /vmlinux.old̰, /dev/hda3 ִٸ ϸ ȴ.

    MILO> boot hda3:vmlinux.old root=/dev/hda3

    Ŀ ٽ õѴ.

    4 : ȭ鿡 Ʈ õ ޽ Ÿٸ

    unalignes trap at 0000000000000024: 000000004001d712 28 27
    unalignes trap at 0000000000000024: 000000004001d70e 28 1
    unalignes trap at 0000000000000024: 000000004001d712 28 27
    unalignes trap at 0000000000000024: 000000004001d70e 28 1

    ̷ κ Ŀ Ȯ ڽ CPU ʱ ߻Ѵ. ý̶ ϴ ŰĿ Ƿ, Ŀ ÿ Ȯ ڽ ý ϵ Ѵ. شϴ ٸ ġ ãƺ .

     

6. EM86 x86 ̳ʸ

    EM86̶ ΰ?
    EM86 x86 ̳ʸ Ŀ ֵ ִ ֹķ̴. NT x86 ̳ʸ ȯ FX!32 Ѵ. EM86 ϸ ӵ ϵȴ. ʿ EM86 غ ְڴ.
    EM86 Ϸ ۾ ؾ Ѵ. ϳ EM86 Ű Ŀ ġ̰ ٸ ϳ ʿ Ʈ ġ̴. 4GB ϴ ޸𸮸 μ ҴѴ. Ŀ Ǵ x86ڵ 2GB ϴ ޸𸮿 . EM86 ġ ϸ, ̷ x86 α׷ Ǵ ϰ, ü ޸ Ҵ ȹ 巹 Ѵ. EM86 Ŀ ġ Ŀ 2.0.30 , ִ.

    ftp://ftp.digital.com/pub/DEC/Linux-Alpha/em86/v0.2/

     

    EM86 Ŀġ

    ⿡ kernel-patches 丮 alpha-patches-2.0.30-0.2a.gz ´. EM86 Ŀ ġ غ.

    2.0.30 Ŀ ҽ sunsite ޾Ƽ /usr/src/ Ǭ.

    EM86 Ŀ ġ Ŀ ҽ 丮 Ѵ.

    cp alpha-patches-2.0.30-0.2a.gz/usr/src/linux

    Ŀ ҽ 丮 ̵Ͽ ġ Ѵ.

    cd/usr/src/linux
    gzip -dc alpha-patches-2.0.30-0.2a.gz | patch -p1

    Ŀ ϰ Ѵ.

     

    EM86 Ʈ ġ

    Ŀ ġ ̿ܿ EM86 ϴ Ʈ ̺귯 RPMS 丮 rpm ִ. ⿡ ִ Ʈ ġ ʿ . ݵ ʿ 3̴.

    em86-0.2-1.alpha.rpm : EM86 ķ̴.
    em86-x86-0.2-1.i386.rpm : EM86 ʿ x86 ƿƼ ̺귯̴. ldconfig86 ldd86, libc-thunk.so ԵǾ ִ.
    em86-baselibs-0.2-1.alpha.rpm : x86 α׷ Ű Ǵ ̺귯̴. , libc.so, libm.so ԵǾ ִ.
    i386 Űĸ Ű¡ ̳ʸ rpm ignorearch ɼ Ͽ ġ ִ. ġ Ѵ.

    rpm -ivh em86-0.2-1.alpha.rpm
    rpm -ivh ignorearch em86-x86-0.2-1.i386.rpm
    rpm -ivh em86-baselibs-0.2-1.alpha.rpm

    Ŀ ϴ Ʈ ġ ִ.
    em86-X11libs-0.2-1.alpha.rpm : X α׷ ̺귯
        ̴. X α׷ Ϸ ġؾ Ѵ.
    em86-ImageMagick-lib-0.2-1.alpha.rpm : ImageMagick ̽ ϴ
         α׷ ϱ ؼ ʿ ̺귯̴.
    em86-binutils-libs-0.2-a.alpha.rpm : ʿ ϴ ̺귯̴.
    em86-f2c-libs-0.2-a.alpha.rpm
        em86-p2c-libs-0.2-a.alpha.rpm : Ű Ʈ C ȯ(f2c)ϰų
        ĽĮ C ȯϴ α׷(p2c) ʿ ϴ Ÿ ̺귯̴.
    em86-libgr-0.2-1.alpha.rpm : ٸ ׷ ڵϴ α׷
         ʿ ϴ ̺귯̴. (FBM, JPG, PBM, PGM, PNM, PPM, RLE, TIFF)
    em86-libpng-0.2-1.alpha.rpm : PNG ׷ ڵϴ α׷鿡
        Ǵ libpng.so ϰ ִ.
    em86-svgalib-0.2-1.alpha.rpm : X 츦 ʿ ʴ SVGA ׷
        α׷ ̺귯̴. ׽Ʈ غ ʾҴٰ Ѵ.
    em86-xview-libs-0.2-1.alpha.rpm : Xview Ŷ ۼ α׷ ʿ ϴ
        ̺귯̴.
    em86-bisc-libs-0.2-1.alpha.rpm : ״ ʴ ڱ׸ ̺귯
        ̴. libncp.so, libexpect.so, libmh.so, libsnmp.so   ԵǾ ִ.
        ߿ ʿϴٰ ǴܵǴ ġϸ ȴ. ڿ ܼ ϴ
         rpm ޾Ƽ ϰ ġϸ ȴ.
         Ȱ.

    for in ls em86*rpm : do rpm -Uvh ignorearch force nodeps $i ; done

    4.0 Ű ĺڷ alpha ƴ axp ϹǷ, 4.0 ġϷ ignorearch Ͽ ġϿ Ѵ.
    쿡 ϴ for ϸ ϴ.

    for i in rpm -qa | grep em86 ; do rpm -e nodeps $i ; done

    ݱ Ŀ ġ EM86 Ʈ ̺귯 ġϿٸ x86 α׷ ϳ ͼ . Ŀ ġ ʾҴٸ α׷ ÿ ߻ ̴.

    Your kernel dose not support 31-bit addressing!
    Please apply the EM86 kernel patch and try again

     

    x86 ݽ ׽Ʈ غ ư. ӵ ̴. x86 hwp ׽Ʈ غ ư ʾҴ. x86 Ǵ ý ȣ Ŀο δ. ̿ Ư ƴϸ κ ư δ.

    ֽ ý PC164LX PC164SX 쿡 Ŀο ԵǾ Ƿ ý Ÿ ߱ ؼ ġ ؾ տ ̾߱Ͽ. EM86 Ŀ ġ Ŀ 2.0.30 Ǹ ŰĿ ȴ. EM86 Ŀ ġ ϴ ڽ Űĸ ʴ´ٸ ϳ ϴ ۿ . ̷ 쿡 ϳ EM86 Ŀΰ ڽ ý ŸԿ Ŀ غϿ ʿ信 Ŀη ϴ ֱ ϴ. ϳ ؾ Ѵٸ EM86 ϴ . EM86 ߰ Űĸ Ȯ ߴ Ŀ ȭ ⺻ ̱ ̴. EM86 0.2 ִ. ϴ κ α׷ ҽ Բ Ǵ 찡 Ƽ Ͽ ϸ ǹǷ EM86 ؾ . EM86 ȴ.

     

7. ý ؾ

    64Ʈ տ ̾߱ߴ. gcc glibc 64Ʈ ̹ Ǿ. ϴ ۾ ٰ . ڰ ⿡ ϴ Ÿ UNIX OS ϴ ۾ ۾ ʿ . ̶ Ű Կ ϵ ߻Ѵ. α׷ ߿ Ư ŰĿ , ׷ Ŀ ٷ Ͽ ϴ α׷ 쿡 ÿ Ǹ ← Ѵ. ؾ 캸 .

     

    long void* ũ 64Ʈ

    C α׷ ̶ غ ̶ int ڷ ŰĿ ǵǴ ˰ ִ. ׷ int ڷ ũ 16Ʈ, 32Ʈ, ? ۿ 32Ʈ̴. int, short int, long int ڷ Ư . ٸ Ȳ Ͽ ϰ äõǾ ̴.
    64Ʈ̱ 32Ʈ ȯ Ͽ int 32Ʈ ӹ ΰ . ſ long int 64Ʈ(8Ʈ)̴. long int 32Ʈ(4Ʈ)̱ ϴ . ִ ڷ ũⰡ 64Ʈ ̴. , ޸ ּҸ ų ״ 32Ʈ ϴ ݸ 64Ʈ Ŀ 64Ʈ ũ⸦ Ѵ. ϱ int ڷ ڷ ȣ ȯ(cast) ų ھƴ Ƿ ؾ Ѵ. ̷ ŰĿ ޶ ִ Ȯ ϱ GNU libc ڷ ֵ ϰ ִ.

    int8_t      : 8Ʈ ũ ȣִ
    int16_t    : 16Ʈ ũ ȣִ
    int32_t    : 32Ʈ ũ ȣִ  
    int64_t    : 64Ʈ ũ ȣִ  
    u_int8_t   : 8Ʈ ũ ȣ
    u_int16_t : 16Ʈ ũ ȣ
    u_int32_t : 32Ʈ ũ ȣ
    u_int64_t : 64Ʈ ũ ȣ

     

    struct termio struct termios ٸ

    α׷ ۼ struct termio struct termios ׳  찡 ִ. ̽ ȣȯ ʴ´. , struct termio Ϸ TCGETA, TCSETAF, TCSETAW, TCSETA Ͽ ϰ, struct termios Ϸ TCGETS, TCSETSF, TCSETSW, TCSETS Ͽ Ѵ.

     

    ý ⺻ word Ʈ а ߻ ִ

    ӽ ּ ó(word) ȭȴ. , ̷ ͸ ޸𸮿 ѹ аų ۾ ѹ CPU óDZ ̿ ٸ . Ư, Ĩ 8Ʈ(byte) 16Ʈ(short) а ϳ ȭ ߴ. ̷ ġ ͷƮ ȭų ߻ų ִ. ̿ Ͽ ޸𸮸 μ ͸ ߻ ִ.

     

8. ý ɰ Ȳ




top

home...