[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#238251: indigo2 mips install



OK, hope this helps.

I was using beta3 d-i to netboot install an SGI Indigo2 mips box.

I ran fdisk from a shell out of d-i, make a dos partition table
so that I could then make an SGI partition table. Then I made
two new partitions: Linux filesystem and swap.

I did the ln -s part3 part12 trick in my earlier message
to allow the installer to proceed.

My netboot command is:
>> bootp(): append="devfs=mount root=/dev/sda3 console=ttyS0"

There were some issues with /dev/scsi/... and /dev/sda 
device naming that made d-i's use of arcboot not go well.

I also failed to get a useful /dev/fstab out of the installer,
and so had to create one by hand.

There is some strangeness going on with fdisk and arcboot, the following
are all from my system not that it is booting from disk:

# dvhtool -d /dev/sda --print-all
----- partitions -----
Part#  8, start 0, blks 41230, type Volume Header
Part# 10, start 0, blks 8386182, type Volume
Part# 11, start 41230, blks 7800716, type Linux Native
Part# 12, start 7841946, blks 544236, type Linux Swap
----- bootinfo -----
Root partition: 0
Swap partition: 1
Bootfile: "/unix"
----- directory entries -----
Entry #0, name "arcboot", start 4, bytes 67392

# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda (SGI disk label): 133 heads, 62 sectors, 1017 cylinders
Units = cylinders of 8246 * 512 bytes

----- partitions -----
Pt#     Device  Info     Start       End   Sectors  Id  System
 9:  /dev/sda1               0         4     41230   0  SGI volhdr
11:  /dev/sda2               0      1016   8386182   6  SGI volume
12:  /dev/sda3               5       950   7800716  83  Linux native
13:  /dev/sda4             951      1016    544236  82  Linux swap
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----
 0: arcboot    sector    4 size   67392


# df -T --si
Filesystem    Type     Size   Used  Avail Use% Mounted on
/dev/sda1     ext3     4.0G   1.1G   2.7G  30% /
tmpfs        tmpfs      48M      0    48M   0% /dev/shm


System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 5
Command Monitor.  Type "exit" to return to the menu.
>> printenv
SystemPartition=scsi(0)disk(1)rdisk(0)partition(8)
OSLoadPartition=scsi(0)disk(1)rdisk(0)partition(11)
OSLoader=arcboot
OSLoadFilename=Linux
AutoLoad=Yes
TimeZone=PST8PDT
console=d1
diskless=0
dbaud=9600
volume=80
sgilogo=y
autopower=y
netaddr=192.168.x.x
eaddr=08:00:69:xx:xx:xx
ConsoleOut=serial(0)
ConsoleIn=serial(0)
cpufreq=150
>> boot
51248+240+192 entry: 0x888042b0

arcsboot: ARCS Linux ext2fs loader 0.3.8.1

Loading Linux from scsi(0)disk(1)rdisk(0)partition(11)
Allocated 0x60 bytes for segments
Loading 32-bit executable
Loading program segment 2 at 0x88002000, offset=0x1000, size = 0x1c14f8
Loading program segment 3 at 0x881c4000, offset=0x1c3000, size = 0x37000
Zeroing memory at 0x881fb000, size = 0x2df90
Starting 32-bit kernel
ARCH: SGI-IP22
PROMLIB: ARC firmware Version 1 Revision 10
CPU revision is: 00000450
FPU revision is: 00000500
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.
Linux version 2.4.22-r4k-ip22 (root@nog) (gcc version 3.3.3 (Debian)) #1 Tue Mar 2 15:18:56 CET 2004
MC: SGI memory controller Revision 3
MC: Probing memory configuration:
 bank0:  32M @ 0c000000
 bank1:  64M @ 08000000
Determined physical RAM map:
 memory: 06000000 @ 08000000 (usable)
On node 0 totalpages: 57344
zone(0): 57344 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/sda3 console=ttyS0
Calibrating system timer... 750000 [150.0000 MHz CPU]
Using 75.000 MHz high precision timer.
Console: colour dummy device 80x25
zs0: console input
Console: ttyS0 (Zilog8530), 9600 baud
Calibrating delay loop... 74.75 BogoMIPS
Memory: 93580k/98304k available (1797k kernel code, 4724k reserved, 116k data, 88k init, 0k highmem)



Reply to: