File: 4.html

package info (click to toggle)
lg-issue84 2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,384 kB
  • ctags: 135
  • sloc: makefile: 35; sh: 34
file content (713 lines) | stat: -rw-r--r-- 29,419 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
<!--startcut  ==============================================-->
<!-- *** BEGIN HTML header *** -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD>
<META NAME="generator" CONTENT="lgazmail v1.4F.y">
<TITLE>The Answer Gang 84: Video Question</TITLE>
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
ALINK="#FF0000">
<!-- *** END HTML header *** -->
<!-- begin 4 -->
<H3 align="left"><img src="../../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	>Video Question</H3>


<p><strong>From Steve Burrow 
</strong></p> 


<p align="right"><strong>Answered By  Sayamindu Dasgupta, Mike Orr, Faber Fedor, Ben Okopnik, Daniel Washko
</strong></p>
<P><STRONG>
I think I have a relatively easy or basic question:
</STRONG></P>
<P><STRONG><BLOCKQuote>
I installed RedHat 6.0 on a small machine (PIII/500/64RAM) designed
specifically to be a web server.  I replaced the small 10 gig hard drive
with a blank 30 gig, created 6 partitions, and completed the install.
</BLOCKQuote></STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Sayamindu] 
Why did u install RH 6.0??
</blockQuote>
<blockQuote>
It's way too old and outdated
And for a web server, why do you need X ??
</blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Well, I guess it came down to convenience.  I have a disk of <A HREF="http://www.redhat.com/">Red Hat</A> 6.0 and
being a newbie, I didn't think 6.0 was so far behind the times.  (Not so
convenient now, I guess!)  I guess I would like to run X because it is a
graphical tool I can use to administrate the box...at this point I need all
the help I can get!
</STRONG></P>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
The installation went pretty easy except for the video configuration part.
I first tried to use the probe utility...it could not determine what card I
am using.  Actually, the video card is wired to the motherboard so I don't
know the specifications so I chose the last option "card not listed".
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Sayamindu] 
It would have been better if you had stated your motherboard model.. but
still... here goes -
</blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Yeah, sorry bout that.  After cracking the box, this is what I see:
</STRONG></P>
<P><STRONG><BLOCKQuote>
MB = sahara - 1000  with integrated video/network
</BLOCKQuote></STRONG></P>
<P><STRONG>
Video looks like a SIS 5595 chipset, although there is another chip on-board
(with heat rails) that is green in color and reads SIS 620.  Not sure if
that is the video controller or not.....
</STRONG></P>
<P><STRONG>
Network = 3Com chip that reads Parallel Tasking II ...have not gotten the
network to work yet!
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
You will need to upgrade your X packages (<A HREF="http://xfree.org/#currentrel"
	>http://xfree.org/#currentrel</A>)
A better option would be to upgrade your distro - that would save a lot
of hassles - with your config, I would recommend <A HREF="http://www.debian.org/">Debian</A> 3.0 - that
should work fine
</blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Next it asks for the monitor I plan to use with the system.  It did not have
my exact monitor so I manually entered in the specifications of my monitor.
</STRONG></P>
<P><STRONG>
With all that said, I  have no problem starting up the machine and the video
is fine for login and command prompt screen, but when I try to enter startx,
it opens a session just fine but the screen is magnified so I can only see
the top left-hand quarter of the screen.  I can see the background and a
couple default RH icons but I have no idea how to change the resolution to
fit the entire screen.
</STRONG></P>
<P><STRONG>
Any suggestions????
</STRONG></P>
<P><STRONG>
Thanks!
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Faber] 
Open your <TT>/etc/X11/XF86Config</TT> file using your favorite text editor.
Scroll down to the bottom and in the (one or more) "Screen" section(s),
you will see a line something like "Virtual 1200 1200" or some other
numbers.  Comment out those lines and restart X.  That should fix it.
</blockQuote>
<blockQuote>
As mentioned, Red Hat 6.0 <EM>is</EM>  bit old, and it's a .0 release of Red
Hat which means it should be avoided like the plague, IMNSHO.  I suggest
you upgrade to a lter distro (Red Hat 7.3 (NOT 8.0!), Debian, Suse,
Mandrake, etc.)
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Daniel] 
less <TT>/proc/pci</TT>
</blockQuote>
<blockQuote>
look for your vga controller, it may list the make and model, that's
enough to get you going at the very least.
</blockQuote>
<blockQuote>
Ideally, you should consult your mb manual, or the mb manufacturer's
website to find out the full specs of your mb.  For your video chipset,
you may want to know how much memory should be allocated.
</blockQuote>
<blockQuote>
I echo the sentiment that why would you need X for a webserver?  It's just
wasting space and leaves a security hole open.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Faber] 
You're the second person to say that and while I'm a CLB (Command Line
Bigot) I'm going to chime in here with "I disagree!".
</blockQuote>
<blockQuote>
The gentleman in question said he was running "startx".  That tells me
he's is running X only when he needs to.  Since he is, I assume, as a
relative newbie to Linux, it is perfectly okay for him to run a GUI to
configure his system and get around in it in general.  Since it is a
(web) server, it would be wasteful for him to run a GUI <EM>all of the time</EM> .
</blockQuote>
<blockQuote>
I suggest to all of my non-CLB clients that they run X whenever they
need to do some work and then exit X when they are done.  For those who
are CLB, I suggest running X so they can have multiple command lines!

<IMG SRC="../../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle"> (Yes, I know about "screen" but I like <A HREF="http://www.kde.org/">KDE</A>'s Konsole.)
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Daniel] 
Finally, Faber, I did not see <A HREF="http://www.slackware.org/">Slackware</A> in that list!
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Faber] 
Mea Culpa!  I'll bring the donuts to the next LUG meeting in penance! 
<IMG SRC="../../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle">
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Iron]
</blockQuote>

<blockQuote><ol>
<LI>Be glad you got a graphical screen at all since you're using an
   unknown video chip with who knows what proprietary extensions in it.


<LI>If you drag the mouse down past the bottom and right edges of the
   screen, the display will probably scroll.  That's a standard X
   feature and means that your virtual screen is larger than your physical
   screen.  There are settings in /etc/X11/XF86Config (which may be in a
   slightly different location in your distribution) to control this, see
   "apropos XF86Config".
</ol></blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
I dragged the mouse...no scroll.  Tried "apropos XF86Config" and it returned
3 lines:
</STRONG></P>

<pre><strong>XF86Config (5x) - Configuration file for Xfree86
Reconfig (1x)     - Convert old Xconfig to new XF86Config
xf86Config (1x)  -  generate as XF86Config file
</strong></pre>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Iron]
</blockQuote>

<blockQuote><ol>
<LI>Look in your motherboard manual or on the motherboard to see what 
   brand/version it is, then look on the manufacturer's web site to see which
   video
   chip that model uses.  Then do a Google search for "Linux hardware" and
   you'll find several sites with brand-specific information about what Linux
   needs on different kinds of hardware.


<LI>Since X doesn't know what kind of video chip you have, it's falling back to
   the lowest common denominator, probably 640x480 or even 320xSomething at 16
   colors.  Since I can't see your screen I don't know how big is "magnified",
   but I have had X start up 320 pixels wide sometimes when I changed video
   cards without reconfiguring the software.


<LI>X comes with a standard SVGA driver that all video cards less than fifteen
   years old should support.  You can tweak XF86Config by hand or use whatever
   graphical setup utility your distribution provides, or even the xvidtune
   program.  You should be able to get at least 1024x768, although the possible
   color depth (number of simultaneous colors) depends on how much video memory
   you have.


<LI>Run "X -probeonly &gt;| ~/.xsession-errors".  That will give you a verbose
   listing of what X tried to do and what it found.  It may be trying higher
   video modes and deleting them because your video chip won't support them.
   It may also be logging the information under /var/log/ somewhere.  The "X"
   command is X-server, the program that controls the graphics mode.  The actual
   filename may be different on your system.
</ol></blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Ran this line and from what I can tell, I think you are right...it is
reverting back to the least common denominator, here is a summary:
</STRONG></P>

<pre><strong>SVGA: chipset: generic
SVGA: videoram: 64k
SVGA: clocks: 25.18
SVGA: Using 8 bpp, Depth 8, Color Weight 666
SVGA: Builtin Mode: 320x200
SVGA: Virtual Resolution set to 320x204
</strong></pre>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Mike]
</blockQuote>

<blockQuote><ol>
<LI>X comes with lots of documentation under /usr/share/doc or /usr/doc.  They
   may be in separate documentation packages.  You probably have XFree86 3.x.
   My Debian system has XFree86 4.1.0 so the filenames are different, but my
   directories are:
   /usr/share/doc/xserver-xfree86
   /usr/share/doc/xfree86-common
   /usr/share/doc/xserver-common
   XFree86 4.x has only one X-server, XFree86 3.x has several X-servers, each
   covering a family of video chips.  The SVGA server is the
   lowest-common-denominator
   one I was talking about, as well as being the correct server for certain
   chips (CT, Matrox, etc).  The S3 server is for S3 chips (e.g.,
   Diamond Stealth),
   and so forth.  The chip-specific servers take advantage of each chips
   acceleration-optimization code for snappier performance.
</ol></blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
What makes sense from here?  Upgrading or trying to resolve these issues
before and upgrade?   Keep in mind my network isn't working either so I will
have to load all utilities/packages/or drivers via CD....this was my motive
to get X to work first so as to tweak the network settings graphically!
</STRONG></P>
<P><STRONG>
Thanks again for everyone's help, much appreciated!!!!
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Mike] 
Thanks for writing back.  You don't know how many people just take the
advice and run.
</blockQuote>

<blockquote><em><font color="#000066">Yeah, the threads aren't nearly as juicy without debugging reports and
the eventual dancing in glee...
 -- Heather</font></em></blockquote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Video looks like a SIS 5595 chipset, although there is another chip on-board
(with heat rails) that is green in color and reads SIS 620.
</STRONG></P>
<blockQuote><DL><DT>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Mike] 
<DD><A HREF="http://www.xfree86.org/4.2.1/SiS.html"
	>http://www.xfree86.org/4.2.1/SiS.html</A>
</DL></blockQuote>
<blockQuote>
[For XFree86 4.2.0:]
</blockQuote>
<blockQuote>
"Information for SiS users ... This driver was primarily written for
the SiS6326 and SiS530 by Alan Hourihane. It also works on 5597/5598
chips, and probably on older SiS862X5 family...  The following options
are of particular interest for the SiS driver. Each of them must be
specified in the Device section of the XF86Config file for this card..."
(The file is called README.SiS in the distribution.)
</blockQuote>
<blockQuote>
My Debian computer has a slightly older version, XFree86 4.1.0, and there's an
interesting file <TT>/usr/share/doc/xserver-xfree86/Status.gz</TT> :
</blockQuote>

<blockquote><code><font color="#000033"><br>	"This document contains one section per vendor (organised
<br>	alphabetically) for each chipset family that is supported in XFree86
<br>	3.3.6 or XFree86 4.1.0.
<br>...
<br>	Unless otherwise stated, hardware is classified as "supported" if
<br>        its driver provides basic 2D support.  Support for additional features
<br>        may or may not be present....
<br>...
<br>
<br>	In XFree86 3.3.6, several X servers are available; much hardware
<br>        uses the XF86_SVGA server, which has a set of driver modules that
<br>        are built into it at compile time.  In other cases, X servers for
<br>        specific chips (or families of chips) are provided (such as XF86_AGX,
<br>        XF86_Mach64, etc.).
<br>
<br>	In XFree86 4.1.0, there is only one X server,
<br>        called "XFree86", which can load driver modules at runtime...
<br>...
<br>	30.  Silicon Integrated Systems (SiS)
<br>	[Xfree86 version] 3.3.6: Support (accelerated) for the SiS 86C201,
<br>	86C202, 86C205, 86C215, 86C225, 5597, 5598, 6326, 530, 620, 300, 630
<br>	and 540 is provided by the XF86_SVGA server with the sis driver.
</font></code></blockquote>
<blockQuote>
[Note that 620 is mentioned but 5595 is not.]
</blockQuote>

<blockquote><code><font color="#000033"><br>	[XFree86 version] 4.1.0: 530, 620, 6326 is provided by the "sis"
<br>	driver.  The 630, 300, and 540 are also supported, but this code is new
<br>	and there are some problems with it in this version.
</font></code></blockquote>
<blockQuote>
[Again 620 is mentioned but 5595 is not.]
</blockQuote>

<blockquote><code><font color="#000033"><br>	Summary: Support for the 86C201, 86C202, 86C205, 86C215, 86C225,
<br>        5597 and 5598 is currently only available in 3.3.6.
</font></code></blockquote>
<blockQuote>
So there are tradeoffs between the different versions of X and which SiS chips
they support.  I normally say go with the latest, but I know I couldn't upgrade
to version 4 while I still had my old video card (I think it was the Diamond
Stealth, which I replaced with a Matrox Millenium G400 that I got used with a
guarantee for $50.)
</blockQuote>
<blockQuote>
<EM>If</EM> you really care about X, you'll have to decide which version to try and
install the latest copy of that.  If there's no data on the system you need, it
may be easier to just blow it all away and install a newer version of Linux from
scratch.
</blockQuote>
<blockQuote>
But if you really only care about networking, why waste a couple days
configuring X?
</blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Network = 3Com chip that reads Parallel Tasking II ...have not gotten the
network to work yet!
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Mike] 
The 3C905 (PCI) and 3C509 (ISA) cards work beautifully on Linux, so hopefully
your integrated chip is 3C905 compatible.  What does <TT>/proc/pci</TT> say about it?
All the newer 3Com network cards seem to use the 3c59x kernel driver, regardless
of whether the "5" is before the "9" on the card.  So make sure that driver is
compiled into your kernel or available as a module, and see if it autodetects
your NIC chip.  If I remember right, "Parallel Tasking" is a marketroid slogan
3Com has been using for years.
</blockQuote>
<HR width="10%" align="left"><P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Mike,
</STRONG></P>
<P><STRONG>
Well, I appreciate you responding as much as you enjoy the challenge of my
questions!!!
</STRONG></P>
<P><STRONG>
I agree, I noticed that SIS 5595 was not listed in the driver support
pages...I guess the video is supported through the 620 chip.
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
Whoops - that was too quick of a judgement call. The following is an
excerpt from the "HP hardware supported by Linux" page (just the first
relevant thing I grabbed off Google!), snipped for brevity:
</blockQuote>

<TABLE WIDTH="95%" BORDER="1" BGCOLOR="#FFFFCC"><TR><TD>
<p align="center">...............</p>
<blockQuote><BLOCKQuote>
The following tables indicate the state of Linux support by these platforms :
</BLOCKQuote></blockQuote>
<blockQuote>
Table 3-1. Brio and Linux
</blockQuote>

<blockquote><pre>+-----------------------------------------------------------------------------------------------+
| Machine    | Graphic | Linux  | Network | Linux  | SCSI  | Linux   | Sound | Linux   | Tested |
|            | Card    | support| Card    | support| Card  | support | Card  | support |        |
|------------+---------+--------+---------+--------+-------+---------+-------+---------+--------|
| Brio BA    | Sis 5595|  Yes   | None    | N/A    | None  | N/A     | Cirrus| Yes     | No     |
| (D7581A,   | AGP     | 3.3.6  |         |        |       |         | Logic | driver  |        |
| D7584A,    |         |  in    |         |        |       |         | CS    | Alsa    |        |
| D7585A,    |         | Frame  |         |        |       |         | 4614  |         |        |
| D7587A,    |         | Buffer |         |        |       |         |       |         |        |
| D7586A,    |         | mode   |         |        |       |         |       |         |        |
| D7591A,    |         | (FBDEV)|         |        |       |         |       |         |        |
+------------+---------+--------+---------+--------+-------+---------+-------+---------+--------+

</pre></blockquote>
<p align="center">...............</p>
</TD></TR></TABLE><blockQuote>
So, there is indeed some support for the SiS5595, starting back in 3.3.6
days. Not that SiS under Linux is anything I'd wish on people.
"Minimal", "basic", and "hardly works" are the terms that come to
mind... and the ones I'd had to configure were somewhat later models
than the 5595.
</blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
After reading your response, I guess I have no good reason to spend a couple
days trying to configure the network support or X for that matter.  I  read
a few articles eluding that X is a easy visual tool to help configure the
machine.  Do you have any recommendations on something better?
</STRONG></P>

<blockquote><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Heather] It would be more accurate to say X is the visual environment, and many
nice tools are available that use the X windowing GUI.
</blockquote>
<blockquote>Some not so nice too.
</blockquote>
<blockquote>Look for nice tools which say they need "curses".  That's a console
interface with nice colors, so many menuing sysadmin tools use it.
</blockquote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
X, if you're willing to live with the generic SVGA server, should work
OK. Networking, eh... Linux - pretty much all Unixen, actually - kinda
implicitly assume that you're connected. You <em> _can</em> run without it,
but... Besides, networking isn't that hard to configure. Have you read
the Net-HOWTO yet? If not, then you definitely should.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Mike] 
X is "easy" in that it provides the GUI environment most front-end tools
depend on.  However, X can be "difficult" to set up if your distribution
doesn't autodetect your video chip properly and set an appropriate initial
configuration.  Then you have to edit <TT>/etc/X11/XF86Config</TT> manually or run one
of the configuration front-ends that comes with X or with your distribution.
Video chips (and network chips) that are integrated into the motherboard are
especially prone to this problem because they are released suddenly by the
manufacturer, often using undocumented or proprietary protocols, and it takes
time for a Linux driver to be written, especially if the manufacturer is
uncooperative.  My normal strategy in this case is to buy a known-compatible
video card I know the configuration for.  I also don't buy motherboards with
integrated components unless (1) I know Linux works with those components and
which drivers are needed, or (2) the total cost of the motherboard is cheap
enough that I can just disable the integrated component and use my own PCI
card.  If you choose to go that route, the BIOS setup screen probably has
options to disable each integrated component individually.
</blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Can I assume a newer version of RedHat (7.2) would ship with more recent
driver sets to support the equipment we are discussing?  I guess that would
save me some time.
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
Latest is good, yes.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Mike] 
The current version of Red Hat is 8.0.  There is probably a hardware
compatibility
list somewhere on www.redhat.com.  I use Debian, so I can't comment on Red Hat
specifically.  However, since X and the kernel are third-party components, you
can see which version RH is using and look up the documentation on their own
sites. We've already done that for X.  For your network-chip problem, the
appropriate places would be the Hardware HOWTO and Ethernet HOWTO at
www.tldp.org, and in the Linux kernel source (since it is a kernel driver).
See if there's a file Documentation/networking/ .  Also see the comments in
the driver sources themselves, drivers/net .
</blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Actually, the unit I bought shipped with two (2) network cards in it.  (This
is the unit:
<A HREF="http://www.3com.com/products/en_US/detail.jsp?tab=features&amp;sku=3C19504-US&amp;pathtype=support"
	>http://www.3com.com/products/en_US/detail.jsp?tab=features&amp;sku=3C19504-US&amp;pathtype=support</A>
</STRONG></P>
<P><STRONG>
One is wired to the board and the other is a 3com PCI
3C905.  This is what <TT>/proc/pci</TT> says about the network controller:
</STRONG></P>

<pre><strong>Bus 0, device  8, function0:
Ethernet Controller: 3com Unknown device (rev 116).
Vendor id-10b7. Device id=9200
Medimum devsel. IRQ 11. Master Capable. Latency=64. Min Gnt=10.Max Lat=10.
</strong></pre>
<P><STRONG>
Hope that helps, it was the only one out of the 7 device descriptions that
mentioned a network controller.
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
One of the various 3c* modules <em> _should</em> load. Here's something I do (as
root) when I have no clue of what module to load for the NIC and just
want to know if <em> _one</em> of them will do:
</blockQuote>

<blockquote><pre># The MASSIVELY brute-force approach!!!
cd /lib/modules/&lt;kernelversion&gt;/kernel/drivers/net
for n in *.o; do insmod $n; done
</pre></blockquote>
<blockQuote>
This will try to load <EM>every</EM> <EM>single</EM> module in the "net" category...
yuck. However, if one of them succeeds, you'll know it: "ifconfig -a"
will show an "eth0" interface. I then do the following cute trick:
</blockQuote>

<blockquote><pre>ifconfig eth0 10.0.0.1		# Actual IP doesn't matter
for n in `lsmod|awk '/unused/{print $1}'`; do rmmod $n; done
</pre></blockquote>
<blockQuote>
Since "eth0" is now in use, the module won't unload... and now you'll
know (via "lsmod") which one it is.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Mike] 
For comparision, my 3C905B PCI card shows up as:
</blockQuote>

<blockquote><pre>  Bus  0, device  14, function  0:
    Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 48).
      IRQ 10.
      Master Capable.  Latency=32.  Min Gnt=10.Max Lat=10.
      I/O at 0xa000 [0xa07f].
      Non-prefetchable 32 bit memory at 0xf9000000 [0xf900007f].
</pre></blockquote>
<blockQuote>
The most important question is, does the 3c59x driver recognize it?
My boot messages say:
</blockQuote>

<blockquote><pre>3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
00:0e.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xa000. Vers LK1.1.16
</pre></blockquote>
<blockQuote>
Run "dmesg | less" to see your boot messages again.  If it's compiled as a
module, use "modprobe 3x59x" and "modprobe -r 3c59x" to activate and
deactivate it.
</blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
I guess my next step is to get a hold of RedHat 7.2..unless you have some
suggestions on my current setup!
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Mike] 
You can compile a recent kernel without upgrading, which will get you the
latest Linux drivers to try.  Or you can contact 3Com and find out exactly
how those cards/chips are different from a standard 3C509B and whether they
have any success/failure stories about using them with Linux.  You may also
want to find out why the product was discontinued and how it differs from
their current models.
</blockQuote>
<blockQuote>
Or you can disable the integrated network chip, yank out the almost-compatible
card and put in a real 3C905B card (or an Intel EtherExpress Pro 100 for that
matter, using Linux's "eepro100" driver, which I also have in my computer).
</blockQuote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Thanks again for your help and I will let you know how the upgrade goes!!!
</STRONG></P>
<P><STRONG>
-Steve
</STRONG></P>

<!-- end 4 -->
<P> <hr> </p>
<!-- *** BEGIN copyright *** -->
<hr>
<CENTER><SMALL><STRONG>
<h5>
<br>Copyright &copy; 2002
<br>Copying license <A HREF="">http://www.linuxgazette.com/copying.html</A>
<BR>Published in Issue 84 of <i>Linux Gazette</i>, November 2002</H5>
</STRONG></SMALL></CENTER>
<!-- *** END copyright *** -->
<HR>

<!--startcut ======================================================= -->
<P> <hr> 
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
<p align="center">
<table width="100%" border="0"><tr>
<td align="right" valign="center"
	><IMG ALT="" SRC="../../gx/navbar/left.jpg"
        WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="middle" border="0"
><A HREF="../index.html"
	><IMG SRC="../../gx/navbar/toc.jpg" align="middle"
              ALT="[ Table Of Contents ]" border="0"></A
><A HREF="../lg_answer.html"
	><IMG SRC="../../gx/dennis/answertoc.jpg" align="middle"
              ALT="[ Answer Guy Current Index ]" border="0"></A></td>
<td align="center" valign="center"><A HREF="../lg_answer.html#greeting"><img align="middle"
	src="../../gx/dennis/smily.gif" alt="greetings" border="0"></A> &nbsp;
  <A HREF="../tag/bios.html">Meet&nbsp;the&nbsp;Gang</A> &nbsp;
  <A HREF="1.html">1</A> &nbsp;
  <A HREF="2.html">2</A> &nbsp;
  <A HREF="3.html">3</A> &nbsp;
  <A HREF="4.html">4</A> 
  </td>
<td align="left" valign="center"><A HREF="../../tag/kb.html"
	><IMG SRC="../../gx/dennis/answerpast.jpg" align="middle"
              ALT="[ Index of Past Answers ]" border="0"></A
><IMG ALT="" SRC="../../gx/navbar/right.jpg" align="middle"
        WIDTH="14" HEIGHT="45" BORDER="0"></td></tr></table>
</p>
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
<!--endcut ========================================================= -->
<P> <hr> 
<!--startcut ======================================================= -->
<CENTER>
<!-- *** BEGIN navbar *** -->
<!-- *** END navbar *** -->
</CENTER>
</p>
<!--endcut ========================================================= -->
<!--startcut ======================================================= -->
</BODY></HTML>
<!--endcut ========================================================= -->