Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on T5240
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Inimi
n00b
n00b


Joined: 15 Feb 2008
Posts: 30

PostPosted: Wed Aug 06, 2008 8:27 am    Post subject: Gentoo on T5240 Reply with quote

Hi all,

Has anyone experience with a T5240 (Niagara 2) and Gentoo please?

Besides of that, thanks for the work on porting Gentoo to sparc!
Great work!

Bye

Guenther
Back to top
View user's profile Send private message
rlittle
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 200

PostPosted: Mon Dec 15, 2008 10:38 pm    Post subject: Reply with quote

I'm just trying to install Gentoo 2008.0 for SPARC on an LDOM in a T5240 this week. I can boot the CD, but once it's loaded a kernel it can't find my virtual cdrom or virtual hardrive anymore and can't continue the boot process.

No answers here I'm afraid, but I'm guessing the kernel doesn't understand the hardware/firmware in a T5240 yet.
_________________
I need a better signature...
Back to top
View user's profile Send private message
blu3bird
Retired Dev
Retired Dev


Joined: 04 Oct 2003
Posts: 613
Location: Munich, Germany

PostPosted: Tue Dec 16, 2008 10:36 pm    Post subject: Reply with quote

Support for running Linux on an LDOM was introduced in 2.6.23. The livecd used 2.6.24 but sadly CONFIG_SUN_LDOMS wasn't turned on.

The next cd will probably have it. For now there's a tftpboot image with ldom support. Can you give it a try?
_________________
Black Holes are created when God divides by zero!
Back to top
View user's profile Send private message
rlittle
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 200

PostPosted: Tue Dec 16, 2008 11:59 pm    Post subject: Reply with quote

You are better than 16 hours of searching on google!!! :D

...now I have to set up this tftp thing. Never had to before. Hmmm.. Do I have to have the tftpd server on the same subnet?

I have to dodge work, but I'll have results with a week.

Thanks again!!!
_________________
I need a better signature...
Back to top
View user's profile Send private message
blu3bird
Retired Dev
Retired Dev


Joined: 04 Oct 2003
Posts: 613
Location: Munich, Germany

PostPosted: Wed Dec 17, 2008 10:07 am    Post subject: Reply with quote

rlittle wrote:
...now I have to set up this tftp thing. Never had to before. Hmmm.. Do I have to have the tftpd server on the same subnet?

Netbooting works using mac addresses so they have to be on the same switch/hub for the (r)arp request to get through

More detailed: http://www.gentoo.org/doc/en/gentoo-sparc-netboot-howto.xml
_________________
Black Holes are created when God divides by zero!
Back to top
View user's profile Send private message
rlittle
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 200

PostPosted: Thu Dec 18, 2008 12:56 am    Post subject: Reply with quote

No good news. I'm really not sure if I'm even doing everything right, but I had to setup the TFTP server on another Solaris 10 box. After a pile of poking around I finally managed to "boot net" and get a response. I'm using the boot image that you linked to (above) of course:

You can see the kernel is 2.6.28-rc8, and I'm booting a sun4v T5240, but the rest is gobledeegook to me.

(Just to be clear, the machine that's trying to "boot net" is a LDOM inside the T5240 with 8 threads, 16GB of RAM, and a 137GB virtual disk given to it.)

Code:

{0} ok
{0} ok
{0} ok boot net
Boot device: /virtual-devices@100/channel-devices@200/network@0  File and args:
Requesting Internet Address for 0:14:4f:fb:63:f0
-
PROMLIB: Sun IEEE Boot Prom 'OBP 4.29.0 2008/08/14 21:46'
PROMLIB: Root node compatible: sun4v
Linux version 2.6.28-rc8 (bluebird@bender) (gcc version 4.4.0 20081212 (experimental) (GCC) ) #1 SMP Sat Dec 13 18:46:56 UTC 2008
console [earlyprom0] enabled
ARCH: SUN4V
Ethernet address: 00:14:4f:fb:c2:33
Kernel: Using 2 locked TLB entries for main kernel image.
Remapping the kernel... done.
OF stdout device is: /virtual-devices@100/console@1
PROM: Built device tree with 27565 bytes of memory.
MDESC: Size is 14800 bytes.
PLATFORM: banner-name [T5240]
PLATFORM: name [SUNW,T5240]
PLATFORM: hostid [83fbc233]
PLATFORM: serial# [00ab4130]
PLATFORM: stick-frequency [457656f0]
PLATFORM: mac-address [144ffbc233]
PLATFORM: watchdog-resolution [1000 ms]
PLATFORM: watchdog-max-timeout [31536000000 ms]
PLATFORM: max-cpus [128]
[0000000200000000-fffff8000ec00000] page_structs=131072 node=0 entry=0/0
[0000000200000000-fffff8000f000000] page_structs=131072 node=0 entry=1/0
[0000000201000000-fffff8000f400000] page_structs=131072 node=0 entry=4/0
[0000000201000000-fffff8000f800000] page_structs=131072 node=0 entry=5/0
[0000000202000000-fffff8000fc00000] page_structs=131072 node=0 entry=8/0
[0000000202000000-fffff80010000000] page_structs=131072 node=0 entry=9/0
[0000000203000000-fffff80010400000] page_structs=131072 node=0 entry=12/0
[0000000203000000-fffff80010800000] page_structs=131072 node=0 entry=13/0
[0000000204000000-fffff80010c00000] page_structs=131072 node=0 entry=16/0
[0000000204000000-fffff80011000000] page_structs=131072 node=0 entry=17/0
[0000000205000000-fffff80011400000] page_structs=131072 node=0 entry=20/0
[0000000205000000-fffff80011800000] page_structs=131072 node=0 entry=21/0
[0000000206000000-fffff80011c00000] page_structs=131072 node=0 entry=24/0
[0000000206000000-fffff80012000000] page_structs=131072 node=0 entry=25/0
[0000000207000000-fffff80012400000] page_structs=131072 node=0 entry=28/0
[0000000207000000-fffff80012800000] page_structs=131072 node=0 entry=29/0
[0000000208000000-fffff80012c00000] page_structs=131072 node=0 entry=32/0
[0000000208000000-fffff80013000000] page_structs=131072 node=0 entry=33/0
sun4v_data_access_exception: ADDR[000000000088c3c8] CTX[0000] TYPE[0009], going.
              \|/ ____ \|/
              "@'/ .. \`@"
              /_| \__/ |_\
                 \__U_/
swapper(0): Dax [#1]
TSTATE: 0000009980f01604 TPC: 0000000000568fc8 TNPC: 0000000000568fcc Y: 00000000    Not tainted
TPC: <0x00000000568fc8>
g0: 0000000000000000 g1: 03ffffffffffffff g2: 000000000000003f g3: 1ffffffffffffff8
g4: 00000000007ea400 g5: fffff8040b516000 g6: 00000000007e6400 g7: 0000000000000000
o0: ffffffffffffffff o1: 200000000088c3c8 o2: 8000000000000000 o3: 0000000000000001
o4: 0000000000000080 o5: 0000000000000080 sp: 00000000007e9771 ret_pc: 00000000008a7820
RPC: <0x000000008a7820>
l0: 00000000008bfa00 l1: 00000000008c11e0 l2: 0000000000020000 l3: 0000000000018e00
l4: 0000000000000002 l5: 000000000088c3d0 l6: fffff8000ebd6200 l7: 0000000000000038
i0: 00000000007ea108 i1: 00000000000075eb i2: 0000000000000000 i3: 0000000000000000
i4: ffffffffff800000 i5: 0000000000001000 i6: 00000000007e9831 i7: 00000000008a4288
I7: <0x000000008a4288>
Caller[00000000008a4288]: 0x000000008a4288
Caller[000000000089e884]: 0x0000000089e884
Caller[000000000089a6c8]: 0x0000000089a6c8
Caller[000000000071dad0]: 0x0000000071dad0
Caller[0000000000000000]: 0x00000000000000
Instruction DUMP: 840a203f  952a9002  92024003 <ce5a4000> 8211c00a  c3f25007  80a1c001  12600004  01000000
Kernel panic - not syncing: Attempted to kill the idle task!
Press Stop-A (L1-A) to return to the boot prom

_________________
I need a better signature...
Back to top
View user's profile Send private message
rlittle
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 200

PostPosted: Mon Dec 22, 2008 8:18 pm    Post subject: Reply with quote

Hmmmm.... interesting. Is:
Code:
 \|/ ____ \|/
 "@'/ .. \`@"
 /_| \__/ |_\
    \__U_/

a bad sign? :)
_________________
I need a better signature...
Back to top
View user's profile Send private message
dony
n00b
n00b


Joined: 01 Nov 2006
Posts: 70
Location: Germany

PostPosted: Wed Mar 18, 2009 1:39 pm    Post subject: Reply with quote

Hi,

I also want to install gentoo on an LDOM (T1000).

Is it possible to use the last autobuild-cd (HOW?),

EDIT= with LDOM 1.1 it should be possible (iso or dvd ->Logical Domains (LDoms) 1.1
Administration Guide from docs.sun.com )

or does someone has a "basic" disk-image for me,

or ist there a working tftp-image?

Regards

Dony
Back to top
View user's profile Send private message
dony
n00b
n00b


Joined: 01 Nov 2006
Posts: 70
Location: Germany

PostPosted: Thu Mar 19, 2009 5:42 pm    Post subject: Reply with quote

OK - boot from ISO works (install-sparc64-minimal-20090316.iso)

BUT: Same Problem -> can't find CDROM for installation:

{0} ok boot gentoo-cd
Boot device: /virtual-devices@100/channel-devices@200/disk@1 File and args:
SILO Version 1.4.13
\

----------------------------------------------------
Welcome to the Gentoo/Linux SPARC64 InstallCD 2008.0
----------------------------------------------------

boot: gentoo
...
TCP bind hash table entries: 32768 (order: 6, 524288 bytes) bytes)
TCP: Hash tables configured (established 32768 bind 32768)
TCP reno registered figured (established 32768 bind 32768)
checking if image is initramfs... it is
Freeing initrd memory: 1740k freed t is
Mini RTC Driver emory: 1740k freed
Total HugeTLB memory allocated, 0
squashfs: version 3.3 (2007/10/31) Phillip Lougher
io scheduler noop registered 0/31) Phillip Lougher
io scheduler anticipatory registered (default)
io scheduler deadline registered red (default)
io scheduler cfq registered ered
Console: switching to mono PROM 80x34
f0279288: ttyS0 at I/O 0x0 (irq = 9) is a SUN4V HCONS
console [ttyHV0] enabled 0 (irq = 9) is a SUN4V HCONS
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: module loaded alized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
megasas: 00.00.03.10-rc5 Thu May 17 10:09:32 PDT 2007 erride with idebus=xx
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
Fusion MPT base driver 3.04.06 ease use bus_type methods
Copyright (c) 1999-2007 LSI Corporation
Fusion MPT SPI Host driver 3.04.06 tion
Fusion MPT FC Host driver 3.04.06
Fusion MPT SAS Host driver 3.04.06
Fusion MPT misc device (ioctl) driver 3.04.06
mptctl: Registered with Fusion MPT base driver
mptctl: /dev/mptctl @ (major,minor=10,220) ver
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 1 all mice
NET: Registered protocol family 17
>> Loading modules tocol family 17
:: Scanning for scsi_wait_scan...scsi_wait_scan loaded.
:: Scanning for sata_promise...sata_promise loaded.
:: Scanning for sata_sil...sata_sil loaded.
:: Scanning for sata_sil24...sata_sil24 loaded.
:: Scanning for sata_via...sata_via loaded.
:: Scanning for sata_sx4...sata_sx4 loaded.
:: Scanning for ahci...ahci loaded.
:: Scanning for aic7xxx...aic7xxx loaded.
:: Scanning for qla2xxx...qla2xxx loaded.
:: Scanning for ehci-hcd...usbcore, ehci-hcd loaded.
:: Scanning for usb-storage...libusual, usb-storage loaded.
:: Scanning for uhci-hcd...uhci-hcd loaded.
:: Scanning for ohci-hcd...ohci-hcd loaded.
:: Scanning for usbhid...usbhid loaded.
:: Scanning for dm-mod...dm-mod loaded.
:: Scanning for dm-mirror...dm-mirror loaded.
:: Scanning for dm-snapshot...dm-snapshot loaded.
:: Scanning for dm-bbr...dm-bbr loaded.
:: Scanning for raid0...md-mod, raid0 loaded.
:: Scanning for raid1...raid1 loaded.
:: Scanning for raid456...xor, async_xor, async_memcpy, async_tx, raid456 loaded.
:: Scanning for raid10...raid10 loaded.
:: Scanning for nfs...sunrpc, lockd, nfs_acl, nfs loaded.
:: Scanning for e1000...e1000 loaded.
:: Scanning for tg3...tg3 loaded.
>> Activating mdev
>> Making tmpfs for /newroot
>> Looking for the cdrom
!! Media not found
>> No bootable medium found. Waiting for new devices...
>> Looking for the cdrom
!! Media not found
!! Could not find CD to boot, something else needed!
>> Determining root device...
!! Could not find the root block device in .
Please specify another value or: press Enter for the same, type "shell" for a shell, or "q" to skip...
root block device() :: shell
To leave and try again just press <Ctrl>+D


BusyBox v1.7.4 (2009-03-17 05:29:03 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/ash: can't access tty; job control turned off
#


--> CONFIG_SUN_LDOMS, CONFIG_SUNVDC and CONFIG_SUNVNET missing

Regards

Dony
Back to top
View user's profile Send private message
dony
n00b
n00b


Joined: 01 Nov 2006
Posts: 70
Location: Germany

PostPosted: Thu Apr 02, 2009 12:17 pm    Post subject: Reply with quote

Hi,

my "LDOM-Gentoo" ist running 8)

I installed gentoo on a my Blade 1000 (external 4GB drive) and dd the whole disk in a file.

First I had problems with udev but with ~sparc and udev-140 and 2.6.29 it works perfect.

Kernel-Config:

CONFIG_SUN_LDOMS=y
CONFIG_SUNVDC=y
CONFIG_SUNVNET=m ("sunvnet" in /etc/modules.autoload.d/kernel-2.6)

In SILO / fstab you have to change /dev/sdXY to /dev/vdiskXY (here /dev/sda1 -> /dev/vdiska1)

Regards

Dony
Back to top
View user's profile Send private message
nico_calais
l33t
l33t


Joined: 09 Jun 2005
Posts: 628
Location: Saint Julien en Genevois

PostPosted: Thu Apr 02, 2009 2:28 pm    Post subject: Reply with quote

I'm really not a sun expert but do you think the netboot installation way could have helped you [1] ?
_________________
"Unix IS user friendly... It's just selective about who its friends are." — Tollef Fog Heen tollef@add.no
Back to top
View user's profile Send private message
dony
n00b
n00b


Joined: 01 Nov 2006
Posts: 70
Location: Germany

PostPosted: Thu Apr 02, 2009 3:17 pm    Post subject: Reply with quote

Hi nico_calais,

I tried some netboot-images but not one of them worked ... (some had panics, in some the LDOM-stuff was not in the kenrnel)

If you will have a working image it will be the fastes way of LDOM-Installation.

If you have another Sparc to install it my way it is the easieset way ;-)

I hope the LDOM-stuff will be in the kernel of the autobuilds in the future -> that will be the fastest AND easieset way:

Make the iso visible as vdisk to the LDOM, create new vdisk for installation (mkfile, slice or disk) and boot / install gentoo.

https://forums.gentoo.org/viewtopic-t-749021.html

Regards

Dony
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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