[9fans] Eeepc - Plan9

This is a discussion on [9fans] Eeepc - Plan9 ; Hello, I recently bought an Eeepc and although I have Plan 9 running inside Parallels on my Mac I thought it would be interesting to see if I could get it installed on the Eeepc. I booted from an ISO ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: [9fans] Eeepc

  1. [9fans] Eeepc

    Hello,

    I recently bought an Eeepc and although I have Plan 9 running inside
    Parallels on my Mac I thought it would be interesting to see if I could
    get it installed on the Eeepc.

    I booted from an ISO image I downloaded on March 19th. Unfortunately I
    didn't get too far. Here's the console output:

    PBS1...Plan 9 from Bell Labs
    ELCR: 0CA8
    apm ax=f000 cx=f000 dx=40 di=100 ebx=ef50 esi=ffff
    initial probe, to find plan9.ini...dev A0 port 170 config 044A
    capabilities 0300 mwdma 0007 udma 101F
    pcirouting: South bridge 8086, 2641 not found

    And then we're back to the boot prompt.

    Is there any hope? I don't have much experience in the Plan 9 code
    base, but I'm not afraid to get my hands dirty. I've looked around in
    the code a bit but nothing stood out to me. Any suggestions about what
    I might try next would be most appreciated.

    Thanks!

    Jon


  2. Re: [9fans] Eeepc

    On Mon, Mar 24, 2008 at 5:13 PM, Jon Dugan wrote:
    > I recently bought an Eeepc and although I have Plan 9 running inside
    > Parallels on my Mac I thought it would be interesting to see if I could
    > get it installed on the Eeepc.


    A couple of people on irc (freenode, #plan9) were interested in plan
    9 on the eee - dho and stefanha. Don't know if they've made much/any
    progress yet, but you're not alone.
    -sqweek


  3. Re: [9fans] Eeepc

    I was not sure what was on there but found
    http://damnsmalllinux.org/cgi-bin/fo...nt;f=8;t=19312

    Posted by 9a6or on Nov. 18 2007,05:25
    lspci in DSL gives:

    Code Sample
    0000:00:00.0 Host bridge: Intel Corp.: Unknown device 2590 (rev 04)
    0000:00:02.0 VGA compatible controller: Intel Corp.: Unknown device
    2592 (rev 04)
    0000:00:02.1 Display controller: Intel Corp.: Unknown device 2792 (rev 04)
    0000:00:1b.0 0403: Intel Corp. I/O Controller Hub Audio (rev 04)
    0000:00:1c.0 PCI bridge: Intel Corp. I/O Controller Hub PCI Express
    Port 0 (rev 04)
    0000:00:1c.1 PCI bridge: Intel Corp. I/O Controller Hub PCI Express
    Port 1 (rev 04)
    0000:00:1c.2 PCI bridge: Intel Corp. I/O Controller Hub PCI Express
    Port 2 (rev 04)
    0000:00:1d.0 USB Controller: Intel Corp. I/O Controller Hub USB (rev 04)
    0000:00:1d.1 USB Controller: Intel Corp. I/O Controller Hub USB (rev 04)
    0000:00:1d.2 USB Controller: Intel Corp. I/O Controller Hub USB (rev 04)
    0000:00:1d.3 USB Controller: Intel Corp. I/O Controller Hub USB (rev 04)
    0000:00:1d.7 USB Controller: Intel Corp. I/O Controller Hub USB2 (rev 04)
    0000:00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev d4)
    0000:00:1f.0 ISA bridge: Intel Corp. I/O Controller Hub LPC (rev 04)
    0000:00:1f.2 IDE interface: Intel Corp.: Unknown device 2653 (rev 04)
    0000:00:1f.3 SMBus: Intel Corp. I/O Controller Hub SMBus (rev 04)
    0000:01:00.0 Ethernet controller: Atheros Communications, Inc.:
    Unknown device 001c (rev 01)
    0000:03:00.0 Ethernet controller: Unknown device 1969:2048 (rev a0)


    lspci in Xandros gives:

    Quote

    00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML
    Express Processor to DRAM Controller (rev 04)
    00:02.0 VGA compatible controller: Intel Corporation Mobile
    915GM/GMS/910GML Express Graphics Controller (rev 04)
    00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML
    Express Graphics Controller (rev 04)
    00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) High Definition Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) PCI Express Port 1 (rev 04)
    00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) PCI Express Port 2 (rev 04)
    00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) PCI Express Port 3 (rev 04)
    00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) USB UHCI #1 (rev 04)
    00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) USB UHCI #2 (rev 04)
    00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) USB UHCI #3 (rev 04)
    00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) USB UHCI #4 (rev 04)
    00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    Family) USB2 EHCI Controller (rev 04)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
    00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface
    Bridge (rev 04)
    00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA
    Controller (rev 04)
    00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
    SMBus Controller (rev 04)
    01:00.0 Ethernet controller: Atheros Communications, Inc. AR5007EG
    802.11 b/g Wireless PCI Express Adapter (rev 01)
    03:00.0 Ethernet controller: Atheros Technology Corp. L2 100 Mbit
    Ethernet Adapter (rev a0)


    So, the question is: what about that atheros?

    ron


  4. Re: [9fans] Eeepc

    I just played with an Eee PC for a few minutes. So the Eee PC's
    southbridge is not supported by 9load or the kernel. See
    /sys/src/boot/pc/pci.c and /sys/src/9/pc/pci.c for the southbridges
    list.

    I'm not sure how to boot Plan 9 without a CD-ROM drive, so I used dd
    to copy the ISO's bootdisk.img onto a USB stick.

    I was able to reproduce your error. Then I opened 9load in a hex
    editor and changed the 0x8086 0x2640 southbridge entry to 0x8086
    0x2641. Here's the result:
    PBS1...Plan 9 from Bell Labs
    ELCR: 0C28
    apm ax=f000 cx=f000 dx=40 di=100 ebx=ef50 esi=ffff
    initial probe, to find plan9.ini...dev A0 port 170 config 044A
    capabilities 0300 mwdma 0007 udma 101F
    pcirouting: 8086/2653 at pin 2 irq 5
    pcirouting: 8086/266A at pin 2 irq 5

    Boot devices: fd0 sdD0!dos
    boot from:

    (Note I tried recompiling 9load properly instead of hex editing, but
    got hangs and resets)

    I have disabled all devices except USB in the BIOS and set "OS
    Installation" to "Start".

    I am stuck at this point because I have not been able to tell 9load to
    boot 9pccd.gz.

    Stefan

    On Wed, Mar 26, 2008 at 3:21 PM, ron minnich wrote:
    > I was not sure what was on there but found
    > http://damnsmalllinux.org/cgi-bin/fo...nt;f=8;t=19312
    >
    > Posted by 9a6or on Nov. 18 2007,05:25
    > lspci in DSL gives:
    >
    > Code Sample
    > 0000:00:00.0 Host bridge: Intel Corp.: Unknown device 2590 (rev 04)
    > 0000:00:02.0 VGA compatible controller: Intel Corp.: Unknown device
    > 2592 (rev 04)
    > 0000:00:02.1 Display controller: Intel Corp.: Unknown device 2792 (rev 04)
    > 0000:00:1b.0 0403: Intel Corp. I/O Controller Hub Audio (rev 04)
    > 0000:00:1c.0 PCI bridge: Intel Corp. I/O Controller Hub PCI Express
    > Port 0 (rev 04)
    > 0000:00:1c.1 PCI bridge: Intel Corp. I/O Controller Hub PCI Express
    > Port 1 (rev 04)
    > 0000:00:1c.2 PCI bridge: Intel Corp. I/O Controller Hub PCI Express
    > Port 2 (rev 04)
    > 0000:00:1d.0 USB Controller: Intel Corp. I/O Controller Hub USB (rev 04)
    > 0000:00:1d.1 USB Controller: Intel Corp. I/O Controller Hub USB (rev 04)
    > 0000:00:1d.2 USB Controller: Intel Corp. I/O Controller Hub USB (rev 04)
    > 0000:00:1d.3 USB Controller: Intel Corp. I/O Controller Hub USB (rev 04)
    > 0000:00:1d.7 USB Controller: Intel Corp. I/O Controller Hub USB2 (rev 04)
    > 0000:00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev d4)
    > 0000:00:1f.0 ISA bridge: Intel Corp. I/O Controller Hub LPC (rev 04)
    > 0000:00:1f.2 IDE interface: Intel Corp.: Unknown device 2653 (rev 04)
    > 0000:00:1f.3 SMBus: Intel Corp. I/O Controller Hub SMBus (rev 04)
    > 0000:01:00.0 Ethernet controller: Atheros Communications, Inc.:
    > Unknown device 001c (rev 01)
    > 0000:03:00.0 Ethernet controller: Unknown device 1969:2048 (rev a0)
    >
    >
    > lspci in Xandros gives:
    >
    > Quote
    >
    > 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML
    > Express Processor to DRAM Controller (rev 04)
    > 00:02.0 VGA compatible controller: Intel Corporation Mobile
    > 915GM/GMS/910GML Express Graphics Controller (rev 04)
    > 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML
    > Express Graphics Controller (rev 04)
    > 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    > Family) High Definition Audio Controller (rev 04)
    > 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    > Family) PCI Express Port 1 (rev 04)
    > 00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    > Family) PCI Express Port 2 (rev 04)
    > 00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    > Family) PCI Express Port 3 (rev 04)
    > 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    > Family) USB UHCI #1 (rev 04)
    > 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    > Family) USB UHCI #2 (rev 04)
    > 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    > Family) USB UHCI #3 (rev 04)
    > 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    > Family) USB UHCI #4 (rev 04)
    > 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
    > Family) USB2 EHCI Controller (rev 04)
    > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
    > 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface
    > Bridge (rev 04)
    > 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA
    > Controller (rev 04)
    > 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
    > SMBus Controller (rev 04)
    > 01:00.0 Ethernet controller: Atheros Communications, Inc. AR5007EG
    > 802.11 b/g Wireless PCI Express Adapter (rev 01)
    > 03:00.0 Ethernet controller: Atheros Technology Corp. L2 100 Mbit
    > Ethernet Adapter (rev a0)
    >
    >
    > So, the question is: what about that atheros?
    >
    > ron
    >
    >



  5. Re: [9fans] Eeepc

    I don't think 9load can just boot off a usb yet.

    Can the eee bios make the usb look like a disk? What were those
    options in plan9.ini for letting the bios do the disk access?

    Robby


  6. Re: [9fans] Eeepc

    I am just playing with that right now. I have removed *nobiosload
    from plan9.ini. But I think 9load isn't able to access my plan9.ini
    on the USB stick.

    > What were those options in plan9.ini for letting the bios do the disk access?

    *nobiosload may need to be disabled?

    Stefan

    On Thu, Mar 27, 2008 at 9:14 AM, Robert Raschke wrote:
    > I don't think 9load can just boot off a usb yet.
    >
    > Can the eee bios make the usb look like a disk? What were those
    > options in plan9.ini for letting the bios do the disk access?
    >
    > Robby
    >
    >



  7. Re: [9fans] Eeepc

    Here is the output after commenting out "|| !biosinited" in
    /sys/src/boot/pc/devbios.c:137:
    bios0: drive 0x80: 4001292288 bytes, type 3
    biosinit: sorry, only one bios drive; can't read last one

    (From reading the 9load code I don't understand how biosinited is ever
    1 when biosinit() gets called. The only place that sets biosinited is
    in biosinit(), but to get there biosinited must already be set to 1!)

    The drive detected seems to be the 4 GB SSD.

    Either the BIOS is not exposing the USB stick as a disk, or the 9load
    BIOS device code isn't searching correctly. I'm going to give it a
    rest here for now.

    Stefan

    On Thu, Mar 27, 2008 at 9:26 AM, Stefan Hajnoczi wrote:
    > I am just playing with that right now. I have removed *nobiosload
    > from plan9.ini. But I think 9load isn't able to access my plan9.ini
    > on the USB stick.
    >
    >
    > > What were those options in plan9.ini for letting the bios do the disk access?

    > *nobiosload may need to be disabled?
    >
    > Stefan
    >
    >
    >
    > On Thu, Mar 27, 2008 at 9:14 AM, Robert Raschke wrote:
    > > I don't think 9load can just boot off a usb yet.
    > >
    > > Can the eee bios make the usb look like a disk? What were those
    > > options in plan9.ini for letting the bios do the disk access?
    > >
    > > Robby
    > >
    > >

    >



  8. Re: [9fans] Eeepc

    >
    > Either the BIOS is not exposing the USB stick as a disk, or the 9load
    > BIOS device code isn't searching correctly. I'm going to give it a
    > r


    This is easy to see. Install a pbs on it and see if it gets loaded and run.
    If it is not, the BIOS does not see it. Take a look at the configuration of the
    BIOS and try to set USB as (better if it is the first) a boot device.


    --
    - curiosity sKilled the cat


  9. Re: [9fans] Eeepc

    > Install a pbs on it and see if it gets loaded and run.
    I have been running PBS off the USB stick the whole time. It's the
    step from 9load to the kernel which isn't working. 9load isn't able
    to find plan9.ini or the kernel I tell it on the USB stick - it
    doesn't even seem to be able to see the USB stick at all.

    But your point stands: PBS is using the USB stick via the BIOS. There is hope.

    Stefan

    On Thu, Mar 27, 2008 at 10:50 AM, Gorka Guardiola wrote:
    > >
    > > Either the BIOS is not exposing the USB stick as a disk, or the 9load
    > > BIOS device code isn't searching correctly. I'm going to give it a
    > > r

    >
    > This is easy to see. Install a pbs on it and see if it gets loaded and run.
    > If it is not, the BIOS does not see it. Take a look at the configuration of the
    > BIOS and try to set USB as (better if it is the first) a boot device.
    >
    >
    > --
    > - curiosity sKilled the cat
    >
    >



+ Reply to Thread