Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
arcboot & SGI O2 - Success report
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
flavio
Apprentice
Apprentice


Joined: 12 Mar 2004
Posts: 161

PostPosted: Sun Oct 17, 2004 8:41 pm    Post subject: arcboot & SGI O2 - Success report Reply with quote

I've just got the latest version of arcboot (3.8.4) to load a 64 bit kernel (the one from here:http://www.linux-mips.org/~glaurung/O2/linux-2.6.1/kernel/vmlinux64).

It works fine including the bogomips report (Kumba, does that mean that the bug with arcboot and the PROM in O2 is fixed?).

I'll compile a newer kernel with all the O2 patches (sound, VICE, etc.) and see if everything still works.

Regards,

Flavio

------------------------------------------------------------------------
The result from dmesg follows:

Linux version 2.6.1 (glaurung@melkor) (gcc version 2.95.4 20010319 (prerelease)) #5 Mon Feb 2 18:33:41 CET 2004
ARCH: SGI-IP32
PROMLIB: ARC firmware Version 1 Revision 10
CPU revision is: 00002321
FPU revision is: 00002310
CRIME id a rev 1 at 0x0000000014000000
Determined physical RAM map:
memory: 0000000000002000 @ 0000000000000000 (reserved)
memory: 0000000000802000 @ 0000000000002000 (usable)
memory: 000000000000d000 @ 0000000000804000 (reserved)
memory: 000000000053f000 @ 0000000000811000 (usable)
memory: 00000000002b0000 @ 0000000000d50000 (ROM data)
memory: 0000000000100000 @ 0000000001000000 (reserved)
memory: 0000000000300000 @ 0000000001100000 (ROM data)
memory: 000000000ec00000 @ 0000000001400000 (usable)
On node 0 totalpages: 65536
DMA zone: 65536 pages, LIFO batch:16
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: root=/dev/sda3
Primary instruction cache 32kB, physically tagged, 2-way, linesize 32 bytes.
Primary data cache 32kB 2-way, linesize 32 bytes.
R5000 SCACHE size 512kB, linesize 32 bytes.
PID hash table entries: 2048 (order 11: 32768 bytes)
Calibrating system timer... 180 MHz CPU detected
CRIME memory error at 0x113fffe0 ST 0x0c00a828<INV,RE,REID=0x28,NONFATAL>
Console: colour dummy device 80x25
Memory: 246336k/255236k available (2229k kernel code, 8532k reserved, 750k data, 180k init, 0k highmem)
Calibrating delay loop... 178.68 BogoMIPS
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 256 (order: 0, 4096 bytes)
Checking for 'wait' instruction... available.
Checking for the multiply/shift bug... no.
Checking for the daddiu bug... no.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
Can't analyze prologue code at ffffffff8003bfec
MACE PCI rev 1
SCSI subsystem initialized
MACEPCI: Master abort at 0x0000400c (C)
MACEPCI: Master abort at 0x00004000 (C)
sgio2fb: I/O at 0x9000000096000000
sgio2fb: tiles at ffffffff808f5000
sgio2fb: framebuffer at c000000000000000
sgio2fb: 2048kB memory
sgio2fb: resize_fb 307200
sgio2fb: resize_fb 307200
sgio2fb: granted dot-clock=25172 KHz
Console: switching to colour frame buffer device 80x30
pty: 256 Unix98 ptys configured
Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 53) is a 16550A
ttyS1 at MMIO 0x0 (irq = 59) is a 16550A
eth0: SGI MACE Ethernet rev. 1
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
PCI: Enabling device 0000:00:01.0 (0046 -> 0047)
ahc_pci:0:1:0: Using left over BIOS settings
PCI: Enabling device 0000:00:02.0 (0046 -> 0047)
ahc_pci:0:2:0: Using left over BIOS settings
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7880 Ultra SCSI adapter>
aic7880: Wide Channel A, SCSI Id=0, 16/253 SCBs

Using anticipatory io scheduler
Vendor: SGI Model: IBM DCHS04Y Rev: 3030
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled. Depth 253
Vendor: TOSHIBA Model: CD-ROM XM-5701TA Rev: 0167
Type: CD-ROM ANSI SCSI revision: 02
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7880 Ultra SCSI adapter>
aic7880: Wide Channel A, SCSI Id=0, 16/253 SCBs

SCSI device sda: 8888543 512-byte hdwr sectors (4551 MB)
SCSI device sda: drive cache: write through
sda: sda1 sda2 sda3 sda4 sda5
Attached scsi disk sda at scsi0, channel 0, id 1, lun 0
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
Console: switching to colour frame buffer device 80x30
mice: PS/2 mouse device common for all mice
input: AT Raw Set 2 keyboard on mace/serio0
Advanced Linux Sound Architecture Driver Version 0.9.7 (Thu Sep 25 19:16:36 2003 UTC).
ad1843: AD1843 won't initialize
ALSA device list:
No soundcards found.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 16Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing prom memory: 5824kb freed
Freeing unused kernel memory: 6004k freed
Adding 253508k swap on /dev/sda2. Priority:-1 extents:1
EXT3 FS on sda3, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
_________________
Flavio Villanustre
flavio AT geminis dot dyndns dot org
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Mon Oct 18, 2004 5:23 pm    Post subject: Re: arcboot & SGI O2 - Success report Reply with quote

flavio wrote:
I've just got the latest version of arcboot (3.8.4) to load a 64 bit kernel (the one from here:http://www.linux-mips.org/~glaurung/O2/linux-2.6.1/kernel/vmlinux64).

Nice! :)

flavio wrote:
I'll compile a newer kernel with all the O2 patches (sound, VICE, etc.) and see if everything still works.

Does it work?
_________________
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Mon Oct 18, 2004 11:52 pm    Post subject: Reply with quote

This is very interesting news. I made a diff between arcboot-0.3.8.2 and 0.3.8.4, and most of the changes look to be made in the loader script. I've committed a 0.3.8.4 ebuild to the tree, and will test it later tonight on my spare O2 (and if that works, on my main O2).

If this works, a piece of the jigsaw puzzle will be in place for a universal LiveCD me and some of the other mips devs have been pondering. Maybe 2005.0 will see a LIveCD if this works, but it's way too soon to speculate.


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
flavio
Apprentice
Apprentice


Joined: 12 Mar 2004
Posts: 161

PostPosted: Wed Oct 20, 2004 4:42 pm    Post subject: Reply with quote

Ian!,

I didn't try to compile a new kernel as I there was some data corruption in the filesystem and I decided to re-emerge everything first including glibc and gcc.

There are some "mysterious" hangs once every a while though and the box just freezes. I couldn't find anythin in the logs but it could be completely unrelated to arcboot.

As soon as the "emerge --emptytree" finishes I'll try with a custom kernel with all the patches.

Kumba,

I'm glad that we are now closer to a live CD release, however netbooting for installation is not bad at all. The only problems that I had were the need to unset "netaddr" in the PROM, otherwise it wouldn't take the responses from my dhcp server.

OTOH, when the box is installed, booting from the local hard drive makes a huge difference as the boot process is completely independent from other network servers.

BTW, do you know why my O2 doesn't boot without a keyboard/mouse attached? Should I set "console" to serial to get rid of that problem even if I don't have anything connected to the serial port?

Thanks,

Flavio
_________________
Flavio Villanustre
flavio AT geminis dot dyndns dot org
Back to top
View user's profile Send private message
flavio
Apprentice
Apprentice


Joined: 12 Mar 2004
Posts: 161

PostPosted: Wed Oct 20, 2004 5:04 pm    Post subject: Reply with quote

Oops, answering myself:

nogfxkbd: Specifies that the keyboard is not required to be connected if set to 1.

That should do the trick.

Flavio
_________________
Flavio Villanustre
flavio AT geminis dot dyndns dot org
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Wed Oct 20, 2004 11:47 pm    Post subject: Reply with quote

Offhand, does anyone know if the O2 emulation in Mips64emul fully supports 64bit?
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Thu Oct 21, 2004 12:41 am    Post subject: Reply with quote

flavio wrote:
Kumba,

I'm glad that we are now closer to a live CD release, however netbooting for installation is not bad at all. The only problems that I had were the need to unset "netaddr" in the PROM, otherwise it wouldn't take the responses from my dhcp server.

The "fix" in arcboot looks like the ECOFF format of arcboot finally loads on O2. Before, versions <0.3.8.4 wouldn't boot if compiled to ECOFF format. Makefile had to be tweaked for ELF.

That said, however, a custom-built kernel by me, following the same guidelines I use for making mips-sources, won't boot via arcboot. It's interesting that glaurung's kernel boots for you. That indicates that something must've changed from his kernel version to current that is causing headaches for arcboot. I'll have to bug a few people on this. One of the far more knowledgable debian devs has been toying with O2 recently, and usually when a debian dev starts on a problem, they find a way to fix it (this is very true for MIPS, we need more kernel hackers on our team).

Quote:
OTOH, when the box is installed, booting from the local hard drive makes a huge difference as the boot process is completely independent from other network servers.

If you've built a recent O2 kernel from Linux-mips CVS, and it boots for you, off disk, on an O2, I'd be interested to know what steps you're following, what patches you use, and what build process you use. I've figured the problem I'm seeing is either a real bug in the kernel, or it's a bug in the way I'm doing things, and I just haven't realized it yet.

Quote:
BTW, do you know why my O2 doesn't boot without a keyboard/mouse attached? Should I set "console" to serial to get rid of that problem even if I don't have anything connected to the serial port?

I've never seen this before, nor the fix you indicate in your followup post. virtually all of my mips machines (Indy, I2, O2, Octane) boot up using serial console, which means no keyboard/mouse is attached.


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Thu Oct 21, 2004 12:51 am    Post subject: Reply with quote

Kumba wrote:

Quote:
BTW, do you know why my O2 doesn't boot without a keyboard/mouse attached? Should I set "console" to serial to get rid of that problem even if I don't have anything connected to the serial port?

I've never seen this before, nor the fix you indicate in your followup post. virtually all of my mips machines (Indy, I2, O2, Octane) boot up using serial console, which means no keyboard/mouse is attached.


--Kumba


My indy does that sometimes. If no kb/mouse and no serial console is connected, it will sit at the menu. .
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum