[9fans] Plan 9 on Fit-PC - Plan9

This is a discussion on [9fans] Plan 9 on Fit-PC - Plan9 ; I ordered a fit-pc recently to replace my old noisy server, and figured I should do the right thing and give plan9 a chance before installing netbsd or somethnig. It has proven a bit awkward to bootstrap with no IDE/floppy ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: [9fans] Plan 9 on Fit-PC

  1. [9fans] Plan 9 on Fit-PC

    I ordered a fit-pc recently to replace my old noisy server, and
    figured I should do the right thing and give plan9 a chance before
    installing netbsd or somethnig.
    It has proven a bit awkward to bootstrap with no IDE/floppy slots to
    plug in to, but eventually I worked out if you plug a usb cd drive in
    and tell the BIOS there's an IDE Primary slave and to boot from
    "CDROM" it actually boots from the usb...
    So I stuck the PLAN 9 - FEB 8 2008 04:01 iso in, and it gets this far:

    PBS1...Plan 9 from Bell Labs
    ELCR: 0E20

    And freezes.

    I also tried to netboot from my existing cpu/auth/file server. The
    netboot ROM on the ethernet downloads the kernel but couldn't seem to
    find a spot in memory to put it[1], so I grabbed gPXE 0.9.3 from
    http://www.etherboot.org/ and built an ISO. The last thing I see there
    is "Booting from /386/9pc..." and then the machine reboots. I'm not
    sure if this is even getting the whole kernel... last line in
    /sys/log/ipboot is:

    phoenix Feb 26 00:24:43 send file '/386/9pc' octet to 192.168.1.11!1024

    THNX might be another option for bootstrap, or at least useful for
    getting the plan 9 bootloader on the MBR - I have it on a usb stick
    and got it running with a bit of messing around.
    Finally, the thing has a serial port, but I don't know how to use those things.

    Does it sound like this hardware is likely to run plan 9?

    -sqweek

    [1] segment [009DC00,009DE00) does not fit in any memory region

  2. Re: [9fans] Plan 9 on Fit-PC

    > I also tried to netboot from my existing cpu/auth/file server. The
    > netboot ROM on the ethernet downloads the kernel but couldn't seem to
    > find a spot in memory to put it[1], so I grabbed gPXE 0.9.3 from
    > http://www.etherboot.org/ and built an ISO. The last thing I see there
    > is "Booting from /386/9pc..." and then the machine reboots. I'm not
    > sure if this is even getting the whole kernel... last line in
    > /sys/log/ipboot is:


    that went by a bit fast for me.

    do you mean that you are pxe loading 9pxeload but the bios pxeloader
    can't find a place for 9pxeload in memory? or that 9pxeload loaded but
    couldn't load the kernel? the plan 9 kernel can't be pxe loaded directly.
    it's too big & l.s doesn't handle real mode.

    - erik

  3. Re: [9fans] Plan 9 on Fit-PC

    can you boot a standalone linux and
    cat /proc/cpuinfo
    and
    lspci
    and
    lspci -v

    thanks

    ron

  4. Re: [9fans] Plan 9 on Fit-PC

    On Tue, Feb 26, 2008 at 1:19 AM, ron minnich wrote:
    > can you boot a standalone linux and
    > cat /proc/cpuinfo


    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 5
    model : 10
    model name : Geode(TM) Integrated Processor by AMD PCS
    stepping : 2
    cpu MHz : 499.932
    cache size : 128 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext
    3dnowext 3dnow up
    bogomips : 1001.46
    clflush size : 32

    > and
    > lspci


    00:01.0 Host bridge: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] Host Bridge (rev 31)
    00:01.1 VGA compatible controller: Advanced Micro Devices [AMD] Geode LX Video
    00:01.2 Entertainment encryption device: Advanced Micro Devices [AMD]
    Geode LX AES Security Block
    00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
    RTL-8139/8139C/8139C+ (rev 10)
    00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
    RTL-8139/8139C/8139C+ (rev 10)
    00:0f.0 ISA bridge: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] ISA (rev 03)
    00:0f.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] IDE (rev 01)
    00:0f.3 Multimedia audio controller: Advanced Micro Devices [AMD]
    CS5536 [Geode companion] Audio (rev 01)
    00:0f.4 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] OHC (rev 02)
    00:0f.5 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] EHC (rev 02)

    > and
    > lspci -v


    00:01.0 Host bridge: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] Host Bridge (rev 31)
    Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] Host Bridge
    Flags: bus master, 66MHz, medium devsel, latency 248

    00:01.1 VGA compatible controller: Advanced Micro Devices [AMD] Geode
    LX Video (prog-if 00 [VGA])
    Subsystem: Advanced Micro Devices [AMD] Geode LX Video
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 11
    Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e1000000 (32-bit, non-prefetchable) [size=16K]
    Memory at e1004000 (32-bit, non-prefetchable) [size=16K]
    Memory at e1008000 (32-bit, non-prefetchable) [size=16K]
    Memory at e100c000 (32-bit, non-prefetchable) [size=16K]

    00:01.2 Entertainment encryption device: Advanced Micro Devices [AMD]
    Geode LX AES Security Block
    Subsystem: Advanced Micro Devices [AMD] Geode LX AES Security Block
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 11
    Memory at e1010000 (32-bit, non-prefetchable) [size=16K]

    00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
    RTL-8139/8139C/8139C+ (rev 10)
    Subsystem: Realtek Semiconductor Co., Ltd. RT8139
    Flags: bus master, medium devsel, latency 64, IRQ 10
    I/O ports at f800 [size=256]
    Memory at e1014000 (32-bit, non-prefetchable) [size=256]
    Capabilities:

    00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
    RTL-8139/8139C/8139C+ (rev 10)
    Subsystem: Realtek Semiconductor Co., Ltd. RT8139
    Flags: bus master, medium devsel, latency 64, IRQ 5
    I/O ports at f400 [size=256]
    Memory at e1014100 (32-bit, non-prefetchable) [size=256]
    Capabilities:

    00:0f.0 ISA bridge: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] ISA (rev 03)
    Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA
    Flags: 66MHz, medium devsel
    I/O ports at f000 [size=8]
    I/O ports at ec00 [size=256]
    I/O ports at e800 [size=64]
    I/O ports at e400 [size=32]
    I/O ports at e000 [size=128]
    I/O ports at 9c40 [size=64]

    00:0f.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] IDE (rev 01) (prog-if 80 [Master])
    Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE
    Flags: bus master, 66MHz, medium devsel, latency 0
    [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
    [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
    [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
    [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
    I/O ports at d800 [size=16]

    00:0f.3 Multimedia audio controller: Advanced Micro Devices [AMD]
    CS5536 [Geode companion] Audio (rev 01)
    Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] Audio
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 10
    I/O ports at d400 [size=128]

    00:0f.4 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] OHC (rev 02) (prog-if 10 [OHCI])
    Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 11
    Memory at e1015000 (32-bit, non-prefetchable) [size=4K]

    00:0f.5 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode
    companion] EHC (rev 02) (prog-if 20 [EHCI])
    Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 11
    Memory at e1016000 (32-bit, non-prefetchable) [size=4K]

    Hopefully that looks fine in email, otherwise you can grab the info
    from http://sqweek.dnsdojo.org/plan9/fithw.txt
    -sqweek

  5. Re: [9fans] Plan 9 on Fit-PC

    On Tue, Feb 26, 2008 at 12:57 AM, erik quanstrom wrote:
    > > I also tried to netboot from my existing cpu/auth/file server. The
    > > netboot ROM on the ethernet downloads the kernel but couldn't seem to
    > > find a spot in memory to put it[1], so I grabbed gPXE 0.9.3 from
    > > http://www.etherboot.org/ and built an ISO. The last thing I see there
    > > is "Booting from /386/9pc..." and then the machine reboots. I'm not
    > > sure if this is even getting the whole kernel... last line in
    > > /sys/log/ipboot is:

    >
    > that went by a bit fast for me.
    >
    > do you mean that you are pxe loading 9pxeload but the bios pxeloader
    > can't find a place for 9pxeload in memory? or that 9pxeload loaded but
    > couldn't load the kernel? the plan 9 kernel can't be pxe loaded directly.
    > it's too big & l.s doesn't handle real mode.


    Ahh, that's what I'm doing wrong. Doesn't surprise me, I'm new to netbooting
    Also, /lib/ndb/local.complicated has bootf arguments that refer to
    real kernels so it didn't occur to me to look for something else. With
    bootf=/386/9pxeload, the netboot gets as far as the cd boot - ie it
    freezes after "ELCR: 0E20".
    Thanks.
    -sqweek

+ Reply to Thread