Gentoo Archives: gentoo-mips

From: Karin Willers <karin@×××××.de>
To: gentoo-mips@l.g.o
Subject: Re: [gentoo-mips] IP30: Gentoo installation without monitor & keyboard
Date: Sun, 02 Mar 2008 19:34:27
Message-Id: 1204486455.5568.26.camel@ratlos
In Reply to: Re: [gentoo-mips] IP30: Gentoo installation without monitor & keyboard by Karin Willers
1 Hello, it's me again ...
2
3 things seem not to be so easy ....
4
5 I ended up with a disk configuration as follows:
6
7 / # fdisk /dev/sda
8
9 Command (m for help): p
10
11 Disk /dev/sda (SGI disk label): 64 heads, 32 sectors, 0 cylinders
12 Units = cylinders of 2048 * 512 bytes
13
14 ----- partitions -----
15 Pt# Device Info Start End Sectors Id System
16 1: /dev/sda1 boot 101 8682 17575936 83 Linux native
17 2: /dev/sda2 swap 2 100 202752 82 Linux swap
18 9: /dev/sda3 0 1 4096 0 SGI volhdr
19 11: /dev/sda4 0 8682 17781520 6 SGI volume
20 ----- Bootinfo -----
21 Bootfile: /unix
22 ----- Directory Entries -----
23 0: sgilabel sector 2 size 512
24 1: sash sector 3 size 266240
25 2: ide sector 523 size 266240
26 3: IP30prom sector 1043 size 879104
27
28 Command (m for help): q
29
30
31 Don't know, whether this is ok?? Then a mke2fs revealed the following:
32
33
34 / # mke2fs -j /dev/sda1
35 mke2fs 1.38 (30-Jun-2005)
36 Warning: could not erase sector 2: Attempt to write block from
37 filesystem resulted in short write
38 Filesystem label=
39 OS type: Linux
40 Block size=4096 (log=2)
41 Fragment size=4096 (log=2)
42 1095584 inodes, 2189410 blocks
43 109470 blocks (5.00%) reserved for the super user
44 First data block=0
45 67 block groups
46 32768 blocks per group, 32768 fragments per group
47 16352 inodes per group
48 Superblock backups stored on blocks:
49 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
50
51 Warning: could not read block 0: Attempt to read block from filesystem
52 resulted in short read
53 Warning: could not erase sector 0: Attempt to write block from
54 filesystem resulted in short write
55 Writing inode tables: done
56 Creating journal (32768 blocks): done
57 Writing superblocks and filesystem accounting information:
58 Warning, had trouble writing out superblocks.done
59
60 This filesystem will be automatically checked every 24 mounts or
61 180 days, whichever comes first. Use tune2fs -c or -i to override.
62 / #
63
64 Any comments??
65
66 The Gentoo documentation seems not to be in sync with the actual
67 fdisk command options ...
68
69 Thanks, Karin
70 ===========
71 2 at 17:33 +0100, Karin Willers wrote:
72 > Hello All,
73 >
74 > bootp(): root=/dev/ram0 CONSOLE=/dev/ttyS0
75 >
76 > did it - thanks for the speedy reply!
77 >
78 > Cheers, Karin
79 > -----
80 > On Sun, 2008-03-02 at 18:11 +0200, Panagiotis Christopoulos wrote:
81 > > On 16:47 Sun 02 Mar , Karin Willers wrote:
82 > > > Hello All,
83 > > >
84 > > > I'm currently trying to install Gentoo MIPS on an IP30 without
85 > > > monitor (and hence no keyboard connected). Connection to the
86 > > > Octane is made serially from a laptop running minicom.
87 > > >
88 > > > I think, the machine (R12000 @ 400 MHz, 2 GByte RAM) boots the
89 > > > ip30-r10k+-20050820.img image file correctly:
90 > > >
91 > > > >> bootp(): root=/dev/ram0
92 > > > Setting $netaddr to 192.168.0.70 (from server )
93 > > > Obtaining from server
94 > > > 8520560+306368 entry: 0xa800000020799000
95 > > >
96 > > > but there is no further output; probably there is no getty
97 > > > running on the serial port.
98 > > >
99 > > > Question 1: Is there an image that has serial console enabled?
100 > > I'm not sure, but you can try this:
101 > > bootp(): root=/dev/ram0 CONSOLE=/dev/ttyS0
102 > > or
103 > > bootp(): root=/dev/ram0 CONSOLE=/dev/ttyS1
104 > >
105 > > > Question 2: What is the format of the .img file that is loaded
106 > > > via tftp - maybe there's a chance to add an entry for the
107 > > > serial port (what is the proper special file here?) in the
108 > > > initrd?
109 > > >
110 > > > Thanks, Karin
111 > > >
112 > > I hope this works,
113 > >
114 > > Panagiotis Christopoulos(pchrist)
115 >
116
117 --
118 gentoo-mips@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-mips] IP30: Gentoo installation without monitor & keyboard Panagiotis Christopoulos <pxrist@×××××.com>