Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem installing gentoo mips on SGI Indy - scsi device ?
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
glecomte
n00b
n00b


Joined: 20 Sep 2002
Posts: 14

PostPosted: Thu Feb 23, 2006 11:53 pm    Post subject: Problem installing gentoo mips on SGI Indy - scsi device ? Reply with quote

I am the proud new owner of a used SGI Indy workstation, and am desperately trying to make it run Gentoo Linux.
I have been able to netboot the thing, but it looks like it can't affect a device to my scsi hard disk.
Here is my dmesg :
Quote:

Linux version 2.6.12-rc5-mipscvs-20050529-ip22r4k (root@khazad-dum) (gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r1, ssp-3.4.3.20050110-0, pie-8.7.7)) #1 Mon May 30 18:29:09 EDT 2005
ARCH: SGI-IP22
PROMLIB: ARC firmware Version 1 Revision 10
CPU revision is: 00000450
FPU revision is: 00000500
MC: SGI memory controller Revision 3
MC: Probing memory configuration:
bank0: 128M @ 08000000
Determined physical RAM map:
memory: 08000000 @ 08000000 (usable)
Initial ramdisk at: 0x8837f000 (2965504 bytes)
On node 0 totalpages: 65536
DMA zone: 65536 pages, LIFO batch:31
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=scsi(0)disk(1)rdisk(0)partition(0) root=/dev/ram0
Primary instruction cache 16kB, physically tagged, direct mapped, linesize 16 bytes.
Primary data cache 16kB, direct mapped, linesize 16 bytes.
Unified secondary cache 1024kB direct mapped, linesize 128 bytes.
Synthesized TLB refill handler (21 instructions).
Synthesized TLB load handler fastpath (33 instructions).
Synthesized TLB store handler fastpath (33 instructions).
Synthesized TLB modify handler fastpath (32 instructions).
PID hash table entries: 2048 (order: 11, 32768 bytes)
Calibrating system timer... 75000 [150.0000 MHz CPU]
Using 75.000 MHz high precision timer.
NG1: Revision 3, 24 bitplanes, REX3 revision B, VC2 revision A, xmap9 revision A, cmap revision C, bt445 revision A
NG1: Screensize 1296x1024
Console: colour SGI Newport 162x64
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 121568k/131072k available (3133k kernel code, 9320k reserved, 3338k data, 144k init, 0k highmem)
Calibrating delay loop... 74.24 BogoMIPS (lpj=37120)
Mount-cache hash table entries: 512
Checking for 'wait' instruction... unavailable.
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 2896k freed
NET: Registered protocol family 16
SCSI subsystem initialized
EFS: 1.0a - http://aeschi.ch.eu.org/efs/
JFS: nTxBlock = 973, nTxLock = 7790
SGI XFS with ACLs, no debug enabled
rtc: IRQ 8 is not free.
DS1286 Real Time Clock Driver v1.0
i8042.c: Warning: Keylock active.
serio: i8042 AUX port at 0xbfbd9843,0xbfbd9847 irq 44
serio: i8042 KBD port at 0xbfbd9843,0xbfbd9847 irq 44
Serial: IP22 Zilog driver (1 chips).
ttyS0 at MMIO 0xc009e830 (irq = 45) is a IP22-Zilog
ttyS1 at MMIO 0xc00a0838 (irq = 45) is a IP22-Zilog
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 1 RAM disks of 9216K size 1024 blocksize
loop: loaded (max 8 devices)
sgiseeq.c: David S. Miller (dm@engr.sgi.com)
eth0: SGI Seeq8003 08:00:69:06:e3:24
wd33c93-0: chip=WD33c93B/13 no_sync=0xff no_dma=0 debug_flags=0x00
setup_args=,,,,,,,,,
Version 1.26 - 22/Feb/2003, Compiled May 30 2005 at 18:27:44
scsi0 : SGI WD93
sending SDTR 0103013f0csync_xfer=2c<5> Vendor: SGI Model: SEAGATE ST32430N Rev: 0272 Type: Direct-Access ANSI SCSI revision: 02
st: Version 20050312, fixed bufsize 32768, s/g segs 256
SCSI device SEAGATE ST32430N027200416840: 4197405 512-byte hdwr sectors (2149 MB)
SCSI device SEAGATE ST32430N027200416840: drive cache: write back
Attached scsi disk SEAGATE ST32430N027200416840 at scsi0, channel 0, id 1, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 1, lun 0, type 0
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid10 personality registered as nr 9
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 100.000 MB/sec
8regs_prefetch: 100.000 MB/sec
32regs : 120.000 MB/sec
32regs_prefetch: 120.000 MB/sec
raid5: using function: 32regs_prefetch (120.000 MB/sec)
raid6: int32x1 19 MB/s
raid6: int32x2 27 MB/s
raid6: int32x4 35 MB/s
raid6: int32x8 27 MB/s
raid6: using algorithm int32x4 (35 MB/s)
md: raid6 personality registered as nr 8
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
input: AT Raw Set 2 keyboard on hpc3ps2/serio0
input: PS2++ Logitech Wheel Mouse on hpc3ps2/serio1
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 144k freed
/ #


At this point, I run net-setup to configure eth0 and am able to telnet into the box (the SGI monitor I have is in such a bad shape I can't read anything on it).
Running "fdisk /dev/sda" (or sd{bcd} for that matter) only gives me an "Unable to open /dev/sda" error message.

I know the scsi disk is ok (it's detected in the dmesg, and still has remains of IRIX on it since the workstation still boots IRIX by default). Could someone help me correct the problem so I can partition my hard drive and proceed to installation ?


Quote:

/ # uname -a
Linux gentoo-mips-20050530 2.6.12-rc5-mipscvs-20050529-ip22r4k #1 Mon May 30 18:29:09 EDT 2005 mips unknown
/ # cat /proc/cpuinfo
system type : SGI Indy
processor : 0
cpu model : R4400SC V5.0 FPU V0.0
BogoMIPS : 74.24
byteorder : big endian
wait instruction : no
microsecond timers : yes
tlb_entries : 48
extra interrupt vector : no
hardware watchpoint : yes
ASEs implemented :
VCED exceptions : 97839
VCEI exceptions : 16
Back to top
View user's profile Send private message
glecomte
n00b
n00b


Joined: 20 Sep 2002
Posts: 14

PostPosted: Fri Feb 24, 2006 6:34 am    Post subject: Reply with quote

Just tried to boot using a Debian TFTP img. Works like a charm.
Looks like the gentoo mips img is broken somehow.
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Fri Feb 24, 2006 7:19 am    Post subject: Reply with quote

Have you tried other netboot images? Such as http://dev.gentoo.org/~kumba/mips/netboot/testing/ip22-r4k-20060112.img.bz2

Regardless of the state of the HDD... one thing is certain, it is too small to do much useful. I've managed to cram Gentoo onto a 2GB HDD, but it was a tight squeeze. I find at least 8GB is preferrable.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Fri Feb 24, 2006 7:52 am    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on Alternative Architectures.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
glecomte
n00b
n00b


Joined: 20 Sep 2002
Posts: 14

PostPosted: Fri Feb 24, 2006 8:28 pm    Post subject: Reply with quote

Redhatter wrote:
Have you tried other netboot images? Such as http://dev.gentoo.org/~kumba/mips/netboot/testing/ip22-r4k-20060112.img.bz2


The testing image is worse, I can't event bootp :
Code:
text start 0x8002000, size 0x7b0020 doesn't fit in a freememory area
Back to top
View user's profile Send private message
glecomte
n00b
n00b


Joined: 20 Sep 2002
Posts: 14

PostPosted: Fri Feb 24, 2006 8:45 pm    Post subject: Reply with quote

Just tried 20050128 : this one boots, and recognizes my harddrive at sda.
Once the boot is finished, I get the prompt telling me to hit enter to activate this console.
But the keyboard seems not to be operationnal, and I'm stuck here.

This is getting ridiculous.
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Sat Feb 25, 2006 1:07 am    Post subject: Reply with quote

Heh, indeed. Have you tried using serial console rather than the monitor/keyboard?
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
glecomte
n00b
n00b


Joined: 20 Sep 2002
Posts: 14

PostPosted: Mon Feb 27, 2006 11:11 am    Post subject: Reply with quote

Redhatter wrote:
Heh, indeed. Have you tried using serial console rather than the monitor/keyboard?


No : I don't have the special serial cable. Anyway, using this old netboot image is probably not an option since it will probably be more buggy than recent ones.

I'm still stuck with the following problems :
- 20050530 (current "stable" mips image) will not create an sda device for my harddrive (the drive is in /sys, though)
- 20060112 (current experimental image) will not boot at all. Looks like the image is somehow broken or too large ? ("text start 0x8002000, size 0x7b0020 doesn't fit in a freememory area" when the boot prom finds the netboot image)
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