surrealdeal wrote:
]i keep reading conflicting information that 'openbsd now supports x on MIPS' as well as 'bsd is text only on octanes'
here i am, i am a gentoo/mips guy, and i am used to toy with gentoo on Octane2 (IP30)
linux is pretty dead on IP30, the only working kernel is 2.6.17, everything else is not working, or incomplete
e.g. the SMP is dead, the XIO-PCI is dead, too
the 2.6.17 has SMP, but with bit kernel lock, that means if you have 2 CPU then it looks like having one CPU plus an half instead of two
also there are a lot of issues about handling more than 1.5G byte of ram
surrealdeal wrote:
I wanted to see if using only the unaccelerated framebuffer would give me x11 on a defective card that causes segfaults under irix
-
V6 graphics cards
are not able to run X11, details are missing, so more hacking activity is required: you can ONLY use it as text console
-
Impact/SR graphics cards
are able to run X11, so you can use them for both text console and X11
personally i have put both the graphics cards inside my IP30, but i am not using none of them: i simply prefer to use the machine remotely (too noise machine, and everything works better through an ssh tunnel)
i am experimenting the pci, which is not exactly intel-pci-specification compliant, btw i can plug an usb-disc achieving a throughput of 20Mbyte/sec
armanox wrote:
I used to run Gentoo Linux on an Octane at college 2GB RAM
which kernel release ? 2.6.19 is not so pretty here, and i am considering it as "unstable"
also, 2Gbyte of ram is not possible if you have a XIO-PCI, there are a lot of issues about XBOW
armanox wrote:
but framebuffer X is really horrible
not so horrible, but it's usable ONLY if you have a light
windows manager
in my case i used and hacked
x11-wm/enlightenment
with a very reduces set of features
actually i am using the machine remotely, through ssh, and serial (kgdb, kernel debugger, MIPS-STUB in kernel space, attached to the serial port)
here is the screenshot from the serial console, it was a bit of time ago, Fri Aug 9, 2013
-
2xR14K CPU_module
(to fix the SMP)
-
XIO24_PCI_cartridge
(to fix the PCI_USB)
Code:
Select all
System Maintenance Menu
1) Start System
3) Run Diagnostics
5) Enter Command Monitor
Option? 5
Command Monitor. Type "exit" to return to the menu.
>> bootp():
Setting $netaddr to 192.168.1.3 (from server )
Obtaining from server
7840856+269256 entry: 0xa800000020361000
|
| #########################################################################
| ######## ######### ### ### ##### ##########
| ######## ####### ### ### #### ### ### ########
| ######## ##### ### ### #### ### ### ########
| ######## # ### # ### ### #### ### ### ########
| ######## ## # ## ### ### #### ### ### ########
| ######## ### ### ### ### #### ### ##############
| ######## #### #### ### ### ##### #########
| ######## ##### ##### ### ### ############### #########
| ######## ############# ### ### ######### ### ########
| ######## ############# ### ### ######### ### ########
| ######## ############# ### ### ######### ### ########
| ######## ############# ### ### ########## #########
| #########################################################################
| ########### P ######### O ######### W ######### E ######### R ###########
|
| kernel_info: version 2.6.17.14-crazed-snow-weasel-sgi-octane-2xr12k
| kernel_info: compiled by root@kika
| kernel_info: compiled with gcc version 4.3.5 (Gentoo 4.3.5 p1.1)
| kernel_info: compiled on #54 SMP Fri Aug 9 01:09:22 CEST 2013
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| ARCH: SGI-IP30
| PROMLIB: ARC firmware Version 64 Revision 0
| CPU revision is: 00000e35
| FPU revision is: 00000900
| BSP for IP30 SGI Octane2, with SMP
| Detected 1536 MB of physical memory.
| Updating PROM memory size.
| xtalk: Detected XBow (revision 2.0) at 0.
| xtalk: Detected Heart (revision F) at 8.
| xtalk: Detected HQ4 / ImpactSR (revision B) at 10.
| xtalk: Detected Buzz / Odyssey (revision B) at 11.
| xtalk: Detected Bridge (revision C) at 13.
| xtalk: Detected Bridge (revision D) at 15.
| BRIDGE chip at xtalk:15, initializing...
| BRIDGE chip at xtalk:13, initializing...
| Determined physical RAM map:
| memory: 0000000000004000 @ 0000000000000000 (reserved)
| memory: 00000000007bd000 @ 0000000020004000 (reserved)
| memory: 000000000073f000 @ 00000000207c1000 (usable)
| memory: 0000000000100000 @ 0000000020f00000 (ROM data)
| memory: 000000003f000000 @ 0000000021000000 (usable)
| memory: 0000000020000000 @ 0000000060000000 (reserved)
| memory: 0000000020000000 @ 0000000060000000 (usable)
| On node 0 totalpages: 524288
| DMA zone: 524288 pages, LIFO batch:31
| Built 1 zonelists
| Kernel command line: ip=off console=ttyS0,9600 rdinit=/sbin/init init=/bin/bah
| Primary instruction cache 32kB, physically tagged, 2-way, linesize 64 bytes.
| Primary data cache 32kB, 2-way, linesize 32 bytes.
| Unified secondary cache 2048kB 2-way, linesize 128 bytes.
| Synthesized TLB refill handler (41 instructions).
| Synthesized TLB load handler fastpath (55 instructions).
| Synthesized TLB store handler fastpath (55 instructions).
| Synthesized TLB modify handler fastpath (54 instructions).
| IP30: interrupt controller initialized.
| PID hash table entries: 4096 (order: 12, 32768 bytes)
| IP30: initializing timer.
| 400 MHz CPU detected
| Using 200.490 MHz high precision timer.
| Console: colour dummy device 80x25
| Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
| Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
| Memory: 1531648k/1563900k available (2765k kernel code, 31900k reserved, 677k)
| Calibrating delay loop... 598.01 BogoMIPS (lpj=299008)
| Mount-cache hash table entries: 256
| Checking for 'wait' instruction... unavailable.
| Checking for the multiply/shift bug... no.
| Checking for the daddi bug... no.
| Checking for the daddiu bug... no.
| CPU revision is: 00000e35
| FPU revision is: 00000900
| Primary instruction cache 32kB, physically tagged, 2-way, linesize 64 bytes.
| Primary data cache 32kB, 2-way, linesize 32 bytes.
| Unified secondary cache 2048kB 2-way, linesize 128 bytes.
| Synthesized TLB refill handler (41 instructions).
| Calibrating delay loop... 600.06 BogoMIPS (lpj=300032)
| Brought up 2 CPUs
| migration_cost=21000
| NET: Registered protocol family 16
| SCSI subsystem initialized
| usbcore: registered new driver usbfs
| usbcore: registered new driver hub
| IP30: HEART.ISR, code=0x1040, irq[]={ 63 57 }, issue deaf
| IP30: HEART.ISR, code=0x1010, irq[]={ 63 55 }, issue deaf
| NET: Registered protocol family 2
| IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
| TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
| TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
| TCP: Hash tables configured (established 262144 bind 65536)
| TCP reno registered
| audit: initializing netlink socket (disabled)
| audit(946684802.225:1): initialized
| fuse init (API version 7.6)
| Initializing Cryptographic API
| io scheduler noop registered
| io scheduler deadline registered (default)
| BRIDGE: Memory #0, size 0x1000 for little-endian 0001:01:01.0 --> direct 32-b0
| BRIDGE: Memory #0, size 0x1000 for little-endian 0001:01:01.1 --> direct 32-b0
| PCI: Enabling device 0001:01:01.1 (0000 -> 0002)
| Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
| qla1280: QLA1040 found on PCI bus 0, dev 0
| BRIDGE: IO #0, size 0x100 for little-endian 0000:00:00.0 --> direct I/O at bu0
| BRIDGE: Memory #1, size 0x1000 for little-endian 0000:00:00.0 --> direct 32-b0
| BRIDGE: Memory #6, size 0x10000 for little-endian 0000:00:00.0 --> direct 32-0
| PCI: Enabling device 0000:00:00.0 (0006 -> 0007)
| scsi(0:0): Resetting SCSI BUS
| scsi0 : QLogic QLA1040 PCI to SCSI Host Adapter
| Firmware version: 7.65.06, Driver version 3.26
| qla1280: QLA1040 found on PCI bus 0, dev 1
| BRIDGE: IO #0, size 0x100 for little-endian 0000:00:01.0 --> direct I/O at bu0
| BRIDGE: Memory #1, size 0x1000 for little-endian 0000:00:01.0 --> direct 32-b0
| BRIDGE: Memory #6, size 0x10000 for little-endian 0000:00:01.0 --> direct 32-0
| PCI: Enabling device 0000:00:01.0 (0006 -> 0007)
| scsi(1:0): Resetting SCSI BUS
| scsi1 : QLogic QLA1040 PCI to SCSI Host Adapter
| Firmware version: 7.65.06, Driver version 3.26
| BRIDGE: Memory #0, size 0x100 for little-endian 0001:01:01.2 --> direct 32-bi0
| PCI: Enabling device 0001:01:01.2 (0000 -> 0002)
| ehci_hcd 0001:01:01.2: EHCI Host Controller
| ehci_hcd 0001:01:01.2: new USB bus registered, assigned bus number 1
| ehci_hcd 0001:01:01.2: irq 17, io mem 0xd041002000
| ehci_hcd 0001:01:01.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
| usb usb1: configuration #1 chosen from 1 choice
| hub 1-0:1.0: USB hub found
| hub 1-0:1.0: 5 ports detected
| loop: loaded (max 8 devices)
| BRIDGE: Memory #0, size 0x100000 for little-endian 0000:00:02.0 --> direct 320
| usb 1-5: new high speed USB device using ehci_hcd and address 2
| usb 1-5: device descriptor read/64, error -71
| IOC3 part: [030-0891-003], serial: [KZG030] => class IP30 system
| 0000:00:02.0: ttyS0 at IOC3 0xf041120178 (irq = 64) is a 16550A
| usb 1-5: configuration #1 chosen from 1 choice
| 0000:00:02.0: ttyS1 at IOC3 0xf041120170 (irq = 64) is a 16550A
| eth0: Ethernet address is 08:00:69:13:66:d4.
| eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
| eth0: Using PHY 1, vendor 0x15f42, model 2, rev 3.
| eth0: IOC3 SSRAM has 128 kbyte.
| IOC3 Master Driver loaded for 0000:00:02.0
| IPv4 over IPv4 tunneling driver
| Freeing prom memory: 1024kb freed
| Freeing firmware memory: 1048576k freed
| Freeing unused kernel memory: 4216k freed
i n i t
e a r l y r a m r o o t f s
[*] kernel-wait
kernel waiting ...
[*] environment
[*] mount
[*] dev
adding /dev/initctl
[*] ttykeymaps
/dev/tty0 /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6 /dev/tty7
/dev/ttyS0 /dev/ttyS1
[*] machine-identify
[*] networking
net.up []={ eth0 }
[*] myrtc
[*] clock
[*] hostname
[*] telnetd
[*] env-shared-libraries
[*] tiniweb
[*] tiniweb-machine-info
[*] issue
[*] sshd
[*] mysync
[*] machine-specific
sgi octane2 creating /dev/led
sgi octane2 loading kernel modules
| ip30-leds: initialized
| ub: init
| ub: spinlocks .. 5 done
| ub: registering block device as ub .. done
| ub: making devfs ub .. done
| ub: registering usb driver ..
| uba: [mac] uba1 uba2 uba3
| usbcore: registered new driver ub
| ub: registering usb driver done
| ub: init completed
calling login 1th/2 ...
Code:
Select all
calling login 1th/2 ...
,,,,
$$$$$$
$$$$$$$$$
$$$$$$$$$$$ ,,
$$$$$$$$$$$$ $$$$$,
`$$$$$$$$$$$ $$$$$$$$
`$$$$$$$$$Z$ $$$ $$$ $$$$$$$$`
`$ZzZ$$$Z$$$ $$$$$$$ $$$$$$$ $$$$$$$$`
`$$$ZZZ$$$$$ $$$$$$$$$ $$$$$$$$$ $$$$$$$$`
`$$$$$$$$$$ $$ZZ$$$$$ $$ZZZ$$$$ $$$$$$$$
u$$$$$$u `$$$$$$$$$$ $$$ZZZ$$ $$$$$ZZ$$ $$$$$$$`
$$$$$$$$$$Z$ `$ZZ$$$ZZZ $$$$$$$$ $$$$$$$$$ $$$$$$
$$$$$$$$$$$Z$$$$ $$$$zzz$$$ $$$$$$$$ $$$$$$$$$ $$$$$$`
$$$$$$$$$$Z$$$$$$$$$$$$$$$$$ $$ZZ$$$$ $ZZZ$$$$$ $$$$$`
`$$$$$$$Z$$$$$$$$$$$$$$$$$ $$$$$ZZ$ $ $$$$$$$ $$$$$`
`$Z$$$$$$$$$$$$$$$$$$ $SB$$$ $$ $$$$$$ $$$$`
`$$$$$$$$$$$$$$$$$$$,````,$$$$, ````,$$$$`
`$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$`
`$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$`
`$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$`
`$$$$$$$$$$$$$$$$ $$$$$$$$$$`
`$$$$$$$$$$$$$$$$ $$$$$$$`
$$$$$$$$$$$$$$$$$$$$$$
P o w e r u c m a c h i n e
genuine interest in the u' n i x platform
genuine appreciation of solid engineering
i n s e r t c o i n s p l e a s e
-> [*******] ... access allowed, calling shell ...
e a r l y r a m r o o t f s
Y O U H A V E T H E P O W E R U S E C A R E F U L L Y
uc-ip30-octane2-2xR12K / #
uc-ip30-octane2-2xR12K / # iostat
uba cpu
kps tps svc_t us sy wt id
0 0 20.5 0 10 0 89
uc-ip30-octane2-2xR12K / # mount -t ext3 /dev/uba3 /mnt/disk0/
| kjournald starting. Commit interval 5 seconds
| EXT3 FS on uba3, internal journal
| EXT3-fs: recovery complete.
| EXT3-fs: mounted filesystem with ordered data mode.
uc-ip30-octane2-2xR12K / # cd /mnt/disk0/
uc-ip30-octane2-2xR12K disk0 # lspci
0000:00:00.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev )
0000:00:01.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev )
0000:00:02.0 Unassigned class [ff00]: Silicon Graphics Intl. Corp. IOC3 I/O con)
0000:00:03.0 Non-VGA unclassified device: Silicon Graphics Intl. Corp. RAD Audi)
0001:01:01.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:01:01.1 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:01:01.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev )
uc-ip30-octane2-2xR12K disk0 # lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/5p, 480M
|__ Port 5: Dev 2, If 0, Class=Mass Storage, Driver=ub, 480M
uc-ip30-octane2-2xR12K disk0 # dd if=/dev/zero of=here count=2000
2000+0 records in
2000+0 records out
1024000 bytes (1000.0KB) copied, 0.046780 seconds, 20.9MB/s
uc-ip30-octane2-2xR12K disk0 # dd if=/dev/zero of=here count=4000
4000+0 records in
4000+0 records out
2048000 bytes (2.0MB) copied, 0.097109 seconds, 20.1MB/s
uc-ip30-octane2-2xR12K disk0 # dd if=/dev/zero of=here count=8000
8000+0 records in
8000+0 records out
4096000 bytes (3.9MB) copied, 0.188940 seconds, 20.7MB/s
uc-ip30-octane2-2xR12K disk0 # dd if=/dev/zero of=here count=80000
80000+0 records in
80000+0 records out
40960000 bytes (39.1MB) copied, 1.925367 seconds, 20.3MB/s
uc-ip30-octane2-2xR12K disk0 #
as you can see the
PCI_USB
is working, i have attached an
USB_DISK
. Performances are not so good, i achieved a maximum of 20Mbyte/sec because the XIO24 has a bit of issues opening a windows to the PCI sub module, also … a lot of issues choosing the right PCI_USB chip (OHCI & EHCI) because SGI is not compliant with the
PCI standard
.
graphics are are not not installed because the kernel is under debug activity