Gentoo Archives: gentoo-hardened

From: Michael Ihde <ihde@××××.edu>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] LiveCD install oddity
Date: Tue, 02 Mar 2004 22:07:56
Message-Id: 404505B7.5000909@uiuc.edu
In Reply to: Re: [gentoo-hardened] LiveCD install oddity by Joshua Brindle
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Joshua Brindle wrote:
5 | oops, forgot to send this to the list also
6 |
7 |> Ok, looks like curses is what is killing, this is with bootstrap.sh
8 |> and not bootstrap-2.6.sh right?
9
10 Yes this is bootstrap.sh
11
12 |> can you try the same with the standard gentoo 2.6 livecd from
13 |>
14 http://gentoo.oregonstate.edu/experimental/x86/livecd/x86/livecd-2.6_11-29-2003.iso
15
16 |>
17 |> and see if it happens?
18
19 I'll try to get time for it tomorrow night. For sure by Friday.
20
21 |> Also, did you add -fPIC to your CFLAGS because that definately
22 |> shouldn't happen unless you are doing it for a specific reason (ie:
23 |> to build et_dyn binaries) which should be done by hardened-gcc or xgcc
24 |> without the CFLAG..
25
26 No, I didn't change anything in make.conf. I was using only the
27 defaults provided by stage1.
28
29 here is my make.conf
30
31 p12 tmp # more /etc/make.conf
32 # These settings were set by the catalyst build script that
33 automatically built this stage
34 CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
35 CHOST="i386-pc-linux-gnu"
36 USE=""
37 CXXFLAGS="${CFLAGS}"
38
39 ~Michael
40
41 |> Joshua Brindle
42 |>
43 |> Michael Ihde wrote:
44 |>
45 |>> Here is the info I have. The machine hangs with or without framebuffer
46 |>> and I have tried to disable *all* power management in the BIOS, however
47 |>> it still seems that some is still occuring :)
48 |>>
49 |>> The tail of the bootstrap stdout is below. I'll try a normal liveCD when
50 |>> I have time.
51 |>> ~Michael
52 |>>
53 |>> -bootstrap.tail-
54 |>> ... HAVE_GXX_BUILTIN_H 0
55 |>> ... HAVE_STRSTREAM_H 0
56 |>> ... HAVE_TYPEINFO 1
57 |>> ... HAVE_VALUES_H 0
58 |>> ... USE_STRSTREAM_VSCAN 0
59 |>> ... USE_STRSTREAM_VSCAN_CAST 0
60 |>> cd ../obj_s; /usr/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
61 |>> -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer
62 |>> -fPIC -c ../c++/cursesf.cc
63 |>> cd ../obj_s; /usr/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
64 |>> -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer
65 |>> -fPIC -c ../c++/cursesm.cc
66 |>> cd ../obj_s; /usr/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
67 |>> -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer
68 |>> -fPIC -c ../c++/cursesw.cc
69 |>> cd ../obj_s; /usr/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
70 |>> -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer
71 |>> -fPIC -c ../c++/cursespad.cc
72 |>>
73 |>> (I'm assuming that this is where it hangs)
74 |>>
75 |>> -hardware config-
76 |>> PCI devices found:
77 |>> Bus 0, device 0, function 0:
78 |>> Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x]
79 |>> (rev 196). Master Capable. Latency=8.
80 |>> Prefetchable 32 bit memory at 0xe0000000 [0xe3ffffff].
81 |>> Bus 0, device 1, function 0:
82 |>> PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo
83 |>> MVP3/Pro133x AGP] (rev 0).
84 |>> Master Capable. No bursts. Min Gnt=8.
85 |>> Bus 0, device 7, function 0:
86 |>> ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
87 |>> (rev 64).
88 |>> Bus 0, device 7, function 1:
89 |>> IDE interface: VIA Technologies, Inc.
90 |>> VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 6).
91 |>> Master Capable. Latency=32.
92 |>> I/O at 0xffa0 [0xffaf].
93 |>> Bus 0, device 7, function 2:
94 |>> USB Controller: VIA Technologies, Inc. USB (rev 22).
95 |>> IRQ 11.
96 |>> Master Capable. Latency=64.
97 |>> I/O at 0xdc00 [0xdc1f].
98 |>> Bus 0, device 7, function 4:
99 |>> SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 64).
100 |>> Bus 0, device 10, function 0:
101 |>> Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev
102 |>> 8).
103 |>> IRQ 5.
104 |>> Master Capable. Latency=64. Min Gnt=8.Max Lat=56.
105 |>> Non-prefetchable 32 bit memory at 0xdffff000 [0xdfffffff].
106 |>> I/O at 0xd800 [0xd83f].
107 |>> Non-prefetchable 32 bit memory at 0xdfe00000 [0xdfefffff].
108 |>> Bus 0, device 12, function 0:
109 |>> Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (#2)
110 |>> (rev 8).
111 |>> IRQ 9.
112 |>> Master Capable. Latency=64. Min Gnt=8.Max Lat=56.
113 |>> Non-prefetchable 32 bit memory at 0xdfffe000 [0xdfffefff].
114 |>> I/O at 0xd400 [0xd43f].
115 |>> Non-prefetchable 32 bit memory at 0xdfc00000 [0xdfcfffff].
116 |>> Bus 1, device 0, function 0:
117 |>> VGA compatible controller: ATI Technologies Inc Rage XL AGP 2X (rev
118 |>> 101).
119 |>> IRQ 9.
120 |>> Master Capable. Latency=64. Min Gnt=8.
121 |>> Non-prefetchable 32 bit memory at 0xde000000 [0xdeffffff].
122 |>> I/O at 0xa800 [0xa8ff].
123 |>> Non-prefetchable 32 bit memory at 0xdfaff000 [0xdfafffff].
124 |>>
125 |>>
126 |>> On Tue, 2004-03-02 at 12:04, Joshua Brindle wrote:
127 |>>
128 |>>> Oh! and also try it in nofb mode and see if it happens there...
129 |>>>
130 |>>> Thanks again
131 |>>>
132 |>>> Joshua Brindle
133 |>>>
134 |>>> Dan Podeanu wrote:
135 |>>>
136 |>>>
137 |>>>> I assume the issue is related to the video card going to power
138 |>>>> saving mode
139 |>>>> due to the console not being actually used while the system is
140 |>>>> bootstraped.
141 |>>>>
142 |>>>> Try keeping the console live by pressing a key or moving the mouse
143 |>>>> every
144 |>>>> 5-10 minutes.
145 |>>>>
146 |>>>> ----- Original Message ----- From: "Andy Dustman"
147 |>>>> <adustman@×××××××××.edu>
148 |>>>> To: <gentoo-hardened@l.g.o>
149 |>>>> Sent: Monday, March 01, 2004 9:21 PM
150 |>>>> Subject: Re: [gentoo-hardened] LiveCD install oddity
151 |>>>>
152 |>>>>
153 |>>>>
154 |>>>>
155 |>>>>> On Fri, 2004-02-27 at 23:34, Mike Bailey wrote:
156 |>>>>>
157 |>>>>>
158 |>>>>>
159 |>>>>>> Everything is fine up until what I presume to be the end of the
160 |>>>>
161 |>>>>
162 |>>>>
163 |>>>> bootstrap
164 |>>>>
165 |>>>>
166 |>>>>>> script. I've not actually watched it stop but after what seems to
167 |>>>>>> be an
168 |>>>>
169 |>>>>
170 |>>>>
171 |>>>> hour
172 |>>>>
173 |>>>>
174 |>>>>>> of compiling my video craps out entirely. I can't get to other
175 |>>>>>> sessions
176 |>>>>
177 |>>>>
178 |>>>>
179 |>>>> nor
180 |>>>>
181 |>>>>
182 |>>>>>> do anything other than a hard boot of the device.
183 |>>>>>
184 |>>>>>
185 |>>>>>
186 |>>>>> I had the same exact problem and I cured it by using bootstrap-2.6.sh
187 |>>>>> instead of bootstrap.sh (the live CD has a 2.6 kernel).
188 |>>>>> --
189 |>>>>> Andy Dustman <adustman@×××××××××.edu>
190 |>>>>> Office of Information Technology, Terry College of Business, UGA
191 |>>>>>
192 |>
193 |
194 |
195 | --
196 | gentoo-hardened@g.o mailing list
197 |
198
199 -----BEGIN PGP SIGNATURE-----
200 Version: GnuPG v1.2.2 (Cygwin)
201 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
202
203 iD8DBQFARQW34u+TsXnyGiQRAq3qAJ0S8kO/Jc4V/tgILMd0BE1BKD8yTwCfT9M3
204 /ZQGloWnDYFTCEiIE8pKx94=
205 =ju3F
206 -----END PGP SIGNATURE-----
207
208 --
209 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] LiveCD install oddity Michael Ihde <ihde@××××.edu>