Linux-Setup Digest #602, Volume #20 Sat, 10 Feb 01 14:13:10 EST
Contents:
Re: Startx and KDE/Gnome enviroment (JeremyD.)
Re: Create routing table for 1 eth and multiple ppp interface (David Efflandt)
Re: PPP conection sharing ?? (David Efflandt)
moving partitions (again!) ([EMAIL PROTECTED])
default load of scsi driver ([EMAIL PROTECTED])
Re: What does Lilo write to boot= ? (Brian Goodyear)
Re: install linux without CDROM or floppy????? ("Cameron Kerr")
Re: Howto stop the xdm login (level 5) and get a console? ("Cameron Kerr")
Turning off dialtone check (How?) ("Neil Watson")
Configuring laptop video ("Veronica Morales")
Re: Need help find Modem!!! (Colin)
Re: UltraDMA 66 Hard drive not detected.. ("coolwonder")
Re: Linux newbie: I need help in installing ResHat 7 on a machine with Win 98
already present... ("coolwonder")
Re: syslog.conf (Michael Heiming)
Re: Where to buy a laptop? (Karl Misselt)
Re: Help with LILO (DrNybble)
Re: problem with 3c905b (John van der Kamp)
problemi con installazione di linux mandrake 7.2 su asus a7v ("Antonio Terreno")
help: setting up ips for dialing in (David. E. Goble)
stinit.def entry for tape drive? ("Corey Wirun")
RH 5.2/6.2 Proxyserver ("H.A.J. van Niekerk")
Mandrake 7.2 and XFree 4.0.2 Help! (Joseph Wilkicki)
----------------------------------------------------------------------------
From: JeremyD. <[EMAIL PROTECTED]>
Subject: Re: Startx and KDE/Gnome enviroment
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.x
Date: Sat, 10 Feb 2001 08:09:57 -0600
Linuz wrote:
> Hi...
>
> To start Gnome, type in .xinitrc in your home directory of this :
>
> exec /usr/bin/gnome-session
>
> or to start KDE,
>
> exec startkde (or whatever the file startkde resides)
>
> If to no avail, find where those two files reside.
>
> Hope this helps :-)
>
>
>
> JeremyD. <[EMAIL PROTECTED]> wrote in message
> news:9lMd6.128$[EMAIL PROTECTED]...
> > Newbie question: I want to start my pc and login to the command prompt.
> > Then be able to start X into KDE or Gnome. However, when I startx, it
> > starts into Enligtenment (which I don't want). It does this for my other
> > user acct's. But not for root, which goes directly into KDE. What
> > file(s) for my user acct's do I need to change to do this? BTW, this is
> > on
> Mandrake
> > 7.2, w/ X v4.0. Thanks in advance!
> >
> > Jeremy
> >
>
>
That did it! Appreciate it very much. I'm trying to learn from the command
prompt up. C ya!
Jeremy
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.protocols.ppp
Subject: Re: Create routing table for 1 eth and multiple ppp interface
Date: Sat, 10 Feb 2001 14:31:28 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
Is this for dialin or dialout ppp? Does any ppp connection lead to
the internet, or the same network as another connection? That will
determine the type of routing or whether something else is needed to
handle alternate routes.
Normally you should only have 1 default route (leading to internet). Any
LAN or WAN routing should be -host or -net routes (with gw if needed to
point to a router for other subnet(s). If a gw leads to more than one
subnet, you may be able to group them into a single route by adjusting the
netmask.
For a dialin connection (to connect remote boxes to your corporate LAN),
pppd automatically adds a host route to the remote. You may want to use
proxyarp option on the ppp server (not defaultroute). You would likely
use defaultroute on the remote client. You would not need a -net route
for that ppp unless the dialin is connecting another LAN to your system.
Multiple internet routes or multiple routes to the same destination
network are a special case. I cannot help you with that.
On Thu, 08 Feb 2001, Wu, Simon [WDLN2:2X38:EXCH]
<[EMAIL PROTECTED]> wrote:
>
>In one of my special test, I need to make multiple ppp configurations on
>one of my linux (Redhat 6.2) PC, which already have an eth0 connection
>to the corporate LAN. I need to create a IP routing for ppp0, ppp1, ...
>ppp32 in the same PC. Two questions:
>1. Should I use "defaultroute" in the /etc/ppp/options file?
>2. I require all datagram for each ppp# go through the ppp# interface,
>not the eth0 interface which is up all the time. I tried a few routing
>opions in /etc/ppp/ip-up shell script file. None worked. Which argument
>should I use for /usr/sbin/route ?
>
>I appreciated any help. Thanks.
>
>
>Simon
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: PPP conection sharing ??
Date: Sat, 10 Feb 2001 14:41:47 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sat, 10 Feb 2001 04:05:32 GMT, Eric Chow <[EMAIL PROTECTED]> wrote:
>
>Is it possible to share PPP dialup connection in Linux ?
See the IPCHAINS-HOWTO. Buried in there is a simple 3 liner that will get
you going. For example I have the following in my /etc/rc.d/rc.local:
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -i ppp0 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
# following needed to ftp through it (see other ip_masq modules)
/sbin/insmod ip_masq_ftp
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED]
Subject: moving partitions (again!)
Date: Sat, 10 Feb 2001 14:53:28 GMT
Greetings!
I know this has been discussed - a lot! - though I haven't found
too much of help using google; I've yet to try deja so that's
next but I thought, hey, why not ask?
I have a partition with a lot of junk on it that Mandrake 7.2
loaded on. The partition is 99% full. I want to move some of the
stuff onto other partitions. (I don't want to sort through
everything right now.)
I've tried moving /usr using either 'tar' or 'cp' but there're
tricky sym links that don't refer correctly - starting X
generates path errors. (I've used 'cp -af' and
cd /usr
tar cf - . | (cd /hda11/usr; tar -xvf -)
where '/hda11/usr' is the empty partition I want to stuff things
on.
The plan was then to put a little sym link in the original spot
which references the new location.
Questions:
(a) What directories may I safely move to make more space? (I
realize I will have to adjust fstab.) (b) Or, what technique
should I use for moving them?
F.
===========================================================
Felmon John Davis
[EMAIL PROTECTED]
os/2 - ma kauft koi katz em sack
===========================================================
------------------------------
From: [EMAIL PROTECTED]
Subject: default load of scsi driver
Date: Sat, 10 Feb 2001 14:58:53 GMT
Greetings!
I just got a nice Yamaha CD-RW and a Tekram SCSI adaptor. I can
load the driver using modprobe. I would like it to load on
bootup. The only way I've figured to do that is to write a
modprobe line into one of the startup files. I'd rather go the
modules.conf route but I can't figure out how. The driver is the
dc395x_trm.o.
Did this before with something else on another system but it
completely escapes me how to set this up now.
F.
===========================================================
Felmon John Davis
Union College / Schenectady, NY
os/2 - ma kauft koi katz em sack
===========================================================
------------------------------
From: Brian Goodyear <[EMAIL PROTECTED]>
Subject: Re: What does Lilo write to boot= ?
Date: Sat, 10 Feb 2001 10:05:46 -0500
Eric en Jolanda wrote:
> > My bios skips the cd drive so dhc is 82 not 83.
> > That's a pretty esoteric bit of info. I must have read about a zillion
> > references to lilo over these last three weeks and you are the first
> person
> > to suggest where the problem could lie. Thank you.
> > I am collapsing in a heap.
>
> Glad I could have been of some help.
> I wasn't sure about this either.
> I learned something out of your problem too.
>
> Eric
Now that I know this piece of information, I can see in a way that it was
obvious because when the computer first boots, just after the memory test,
it lists the drives, but omits the CD. Lilo is operating at that level
initially but I guess we tend to forget this, especially in my case where
it goes to Bootmanager and then to Lilo.
Anyway, I'm sure glad it's over. On to the next problem!
--
Thanks,
Brian ([EMAIL PROTECTED])
------------------------------
From: "Cameron Kerr" <[EMAIL PROTECTED]>
Subject: Re: install linux without CDROM or floppy?????
Date: Sun, 11 Feb 2001 04:47:40 +1300
In article <[EMAIL PROTECTED]>, "retrogrouch"
<[EMAIL PROTECTED]> wrote:
> I have an old laptop that I want to put linux on. No sweat, I though, I
> just get a mini-linux distro on a floppy, format the drive, set up the
> network card, and off I go.
>
> Well, this is one of those "external floppy" laptops - and I've lost the
> floppy drive.
>
> So I have a laptop with a functioning 700 MB HD, with win95 installed, a
> 3COM 589 PCMCIA network card, a hayes pcmcia 56K modem, and no CD ROM
> and
> no floppy.
Ahh, what fun you're in for...
If you're goint to go the "swap hard drive way", beware that laptop
drives typically ahve a different plug interface to desktop machines.
Adventurous way. Just download a mini distribution (Say, ZipSlack
(www.slackware.com) into you're windrive, and boot it. Resize the
partition first to give yourself some room. Once you've booted into linux
(using loadlin), install the OS, making sure that it is bootable (with
lilo). Reboot and test.
Remove Windows when done, replace partition with a linux partition. Move
all of the stuff from the the current linux install into this new
partition, remove the old, and resize the partition to suit.
Of course, all this is rather risky, and one false move could leave you
wanting a floppy.
Short take: Either get yourself a suitable floppy drive (perhaps loan
one), or swap disks for intsall (I think you can get converters, though
I've never seen them. Ask at a laptop specialist)
> --Yan
Good luck (You'll need it) -- Cameron Kerr
------------------------------
From: "Cameron Kerr" <[EMAIL PROTECTED]>
Subject: Re: Howto stop the xdm login (level 5) and get a console?
Date: Sun, 11 Feb 2001 04:52:34 +1300
In article <9637a9$qtu$[EMAIL PROTECTED]>, "TheMartian"
<[EMAIL PROTECTED]> wrote:
> To get out of this one try this:
>
> Alt Ctrl f1
If that doesn't work (and it never seems to work for me), just hit
ctrl-alt-del (this is graceful under linux), and at the lilo prompt (or
whatever you use), enter "linux 1". The 1 will take you to run-level 1,
so you can make the edition. After that, you can type telinit 3 to take
you to run-level 3.
Note that not all distos are the same on this. For example: Slackware
Linux, by default, has only VT6 up when it is in runlevel 4 (runlevel 5
on most other distros).
HIH -- Cameron Kerr
------------------------------
From: "Neil Watson" <[EMAIL PROTECTED]>
Subject: Turning off dialtone check (How?)
Date: Sat, 10 Feb 2001 15:58:14 -0000
Hi,
I'm using mandrake 7.2 and a standard external modem. How do you turn off
the check for a dial tone before dialing? I can't find an option for it
anywhere and I have a strange dail tone on my phone line which it doesn't
recognise.
Thanks,
Neil
------------------------------
From: "Veronica Morales" <[EMAIL PROTECTED]>
Subject: Configuring laptop video
Date: Sat, 10 Feb 2001 10:09:10 -0500
I am having trouble setting up the video on my laptop. I have a Toshiba
2595CDS ( I believe that it has a "dual scan display", not active matrix)
with 2MB of mem.
None of the configurations I attempted worked. I ran Xconfigurator with
several different configs and in all of them it wouldn't startx. If I
skipped the "probing" and just typed at the command prompt "startx", I get
several strange messages as to why it wouldn't start. The most prevalent
was something to do with a "dot-clock".
Is it possible that Linux (RH 6.0) just wont accept this LCD?
Can someone please help? It would mean less hours spent in the lab, and
more at home.
--
Veronica Morales
Smith College
------------------------------
From: Colin <[EMAIL PROTECTED]>
Subject: Re: Need help find Modem!!!
Date: Sat, 10 Feb 2001 16:07:38 GMT
In article <[EMAIL PROTECTED]>, James D Parker Jr <[EMAIL PROTECTED]> wrote:
> One problem I haven't resolved yet is that I can't dial except as root. The
> dialer reports the device is busy if I am notmal user. I run the dialer as a
> background job as root, log off, login as normal user and bring up Netscape.
I think you have to add your user ID to the dialout group in your /etc/group file so
that you can dial out as a normal user.
>
> You have to run isapnp and setserial each time you boot up. I haven't figured
> out how to add it to the boot up scripts yet.
Which distribution are you using? I'll assume it's Red Hat. You should be able to
find a local file in the /etc/rc.d/init.d directory that you can put these commands
into. And if you can't, it's not so hard to do yourself. Just follow the other
examples in that directory and the /etc/rc.d/rc.? directories.
------------------------------
From: "coolwonder" <[EMAIL PROTECTED]>
Subject: Re: UltraDMA 66 Hard drive not detected..
Date: Sat, 10 Feb 2001 10:11:17 -0600
Check you hard drive label see if it is UltraATA or EIDE. If is is EIDE, it
really has to be in that port. If it is UltraATA, go to the manufacturer's
website and download the appropriate driver for your hard drive and check it
with that software. Make sure that software can detect it.
Gook luck,
Coolwonder
"Afonso Sam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> no, the board has built-in general ATAPI slots and also UltraDMA 66
> slot.
>
> On Wed, 07 Feb 2001 14:51:37 -0800, "Duane Healing"
> <[EMAIL PROTECTED]> wrote:
>
> >When you say "normal IDE port", what do you mean? Is it otherwise
> >connected to an offboard controller? If so, you'll likely need a driver
> >for that card.
> >
> >--
> >-Duane
> >-DNAware SoftLabs
> >
> >In article <[EMAIL PROTECTED]>, "Afonso Sam"
> ><[EMAIL PROTECTED]> wrote:
> >
> >> While installing Redhat 6.2, It detects no availabe HD to install. The
> >> HD is configured as Ultra DMA 66 Hard disk on my system. Then, I tried
> >> to reconfigure the Hard disk as normal IDE drive(plug to normal IDE
> >> port). Everything goes fine, the HD is detected by the Redhat
> >> installation process. Does it mean that, UltraDMA 66 is not supported?
> >>
> >> thanks
> >>
> >> Afonso Sam
>
------------------------------
From: "coolwonder" <[EMAIL PROTECTED]>
Subject: Re: Linux newbie: I need help in installing ResHat 7 on a machine with Win 98
already present...
Date: Sat, 10 Feb 2001 10:15:15 -0600
Win 98 dosn't have a loader.
Coolwonder
"Bjarke Thor Iversen" <[EMAIL PROTECTED]> wrote in message
news:95trum$6u9$[EMAIL PROTECTED]...
> Hi, I need some help in Insltalling linux onto my machine...
> I have two Hard drives, and I intend to install RedHat 7 on One(6 GB)
> and keep my prev. os, win 98, on the other(3 GB), Is that not the smartest
> way?
> I have made several atempts, but they all fail at the same point: When
all
> is installed, and I boot up the computer(wich is then carrying Win98 and
> RedHat Linux 7), the LILO starts up, which it should, but never gets past
> the "LI"(it just writes "LI" on the screen and then freezez up!!!!!).
> Should I maby install Linux and then Win 98 to let the win loader override
> the LILO(as a os selector) or do I need to fiff something? One little
> comment on my knowlidge of computers, I am a total newbie concerning
LINUX,
> but I am a intermediate computer user,
> your truly
> Bjarke Thor
> [EMAIL PROTECTED]
>
>
------------------------------
Date: Sat, 10 Feb 2001 17:59:39 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: syslog.conf
[EMAIL PROTECTED] wrote:
> Hi, if i want all loginformation from the daemon named to a file, lets
> call it /var/log/named.log, how do i config the /etc/syslog.conf file?
>
> cheers
>
> Sent via Deja.com
> http://www.deja.com/
Hello,
AFAIK this is set in the sources of bind.
Download them, hunt for /var/log/messages, change and compile bind.
Good luck
Michael Heiming
------------------------------
From: Karl Misselt <[EMAIL PROTECTED]>
Subject: Re: Where to buy a laptop?
Date: 10 Feb 2001 12:21:09 -0500
> >
> > Can one recommend to me where I might find a laptop with Linux
> > reinstalled, or an OS-less laptop? I'm not buying at the moment, but
> > trying to price them.
> >
AS Labs sells laptops with Mandrake7.2 preinstalled. They are at
http://www.aslab.com I know someone who got one of their excalibur
series machines and is quite happy with it. They are, however, a
bit on the high side price wise though. ie. a 600 MHz PIII, 256MB
RAM, 10/100 nic + internal winmodem (with drivers), cdrom, 10GB
hard drive (20GB add ~$100 I believe) comes in around $2700.
-Karl
------------------------------
From: DrNybble <[EMAIL PROTECTED]>
Subject: Re: Help with LILO
Reply-To: [EMAIL PROTECTED]
Date: Sat, 10 Feb 2001 17:53:07 GMT
On Sat, 10 Feb 2001 11:14:10 GMT, [EMAIL PROTECTED] wrote:
>Hi, i recently bought SuSE Linux 7.0 and i can't install it. I already
>have Win98 and i want to be able to do dual boot. I created a Linux
>primary partition (/) from cylinder 650 to 1225 but it gives me the
>message that the partition won't be able to boot by itself or something
>like that. What should i do? Should i install Lilo at MBR or what?
>My e-mail is [EMAIL PROTECTED]
>Thanx.
I don't know if the following problem is limited to Red Hat or if it
applies to SuSe as well.
Red Hat's Linux is not able to boot if the boot record is contained in
a partition that includes a cylinder count higher than 1024. It
doesn't matter if the boot record is in a cylinder less than that
number (yours is 650) but only if the partition's cylinder extends
beyond that number at the high end (yours is 1225). Try making your
partition 650 to 1023. You can still use the remaining space as
another Linux partition but just not included in the range that it's
booted from.
Like I said, I'm not sure if this limitation even applies to SuSe.
But what do you have to lose?
Good luck.
DrNybble
------------------------------
From: John van der Kamp <[EMAIL PROTECTED]>
Subject: Re: problem with 3c905b
Date: Sat, 10 Feb 2001 12:22:01 GMT
Zhang, Xiaoling wrote:
> Hi, there,
>
> My 3c905b ethernet card doesn't work under RedHat 6.2. It works
> under Windows98. I downloaded the driver 3c59x from 3COM homepage,
> rebuild it in my computer, copy it to /lib/moduls/2.2.14-5.0/, added
> the line
> alias eth0 3c59x
> to /etc/conf.modules, run depmod, run ifup, run insmod, reboot the
> computer ...
> It failed to work.
> Do you have any idea what went wrong?
right in the part where you placed the 3COM driver ... linux has it's own,
use those...
John
------------------------------
From: [EMAIL PROTECTED] ("Antonio Terreno")
Subject: problemi con installazione di linux mandrake 7.2 su asus a7v
Date: 10 Feb 2001 19:12:16 +0100
Salve a tutti, non riesco ancora ad installare linux mandrake 7.2 sulla mia
asus a7v. vi prego aiutatemi.
digito da prompt:
linux ide2=0xa000,9802 ide3=0x9400,90002 come suggerito da:
http://www.mandrakeuser.org/hardware/hbits5.htmlle
le ultime righe sul monitor sono queste:
hdb: ASUS CD-S599/A , ATAPI CDROM DRIVE
hde: QUANTUM FIREBALL LM20.5 ATA DISK DRIVE
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
poi si blocca tutto.
cosa devo fare?
Grazie
Antonio Terreno
--
Posted from smtp3.libero.it [193.70.192.53]
via Mailgate.ORG Server - http://www.Mailgate.ORG
------------------------------
From: goble@gtech (David. E. Goble)
Crossposted-To: comp.os.linux.misc,comp.os.linux.networking,alt.linux
Subject: help: setting up ips for dialing in
Date: Sat, 10 Feb 2001 18:15:35 GMT
Reply-To: goble@gtech
Hi all;
Iam running RedHat 6.2 and trying to set it up as a server.
Not sure how to setup the ip numbers. It will accept a call and allow
login, but comes up with cant use ip.
Here below are some of the files; hosts, options, options.srv,
login.config, mgetty.config, resolv.conf, pap-secrets.
############ hosts #########
127.0.0.1 gtech localhost.localdomain localhost
############ options #######
lock
crtscts
defaultroute
noipdefault
############ options.srv #######
auth
-chap
+pap
login
asyncmap 0
:192.168.0.25
debug
modem
crtscts
proxyarp
############login.config #########
/AutoPPP/ - ppp /usr/sbin/pppd file /etc/ppp/options.srv
* - - /bin/login @
############# mgetty.config ###########
debug 4
fax-id 61 08 8553 2829
speed 115200
port-owner uucp
port-group pppusers
port-mode 0664
fax-group uucp
fax-mode 0640
fax-owner root
fax-group uucp
fax-mode 0640
port ttyS2
direct n
term vt100
debug 5
speed 115200
login-prompt @ \P login:
############### resolv.conf ############
nameserver 203.48.5.1
############### pap-secrets ############
user1 * ""
user2 * ""
------------------------------
From: "Corey Wirun" <[EMAIL PROTECTED]>
Subject: stinit.def entry for tape drive?
Date: Sat, 10 Feb 2001 11:16:02 -0700
Hi All,
I just installed a TANDBERG TDC 4100 QIC tape drive on my (only) scsi
controller on scsi id 1. Now that the device is recognised, do I have to
create a stinit.def file entry for it? I don't seem to have a default file
in my RH6.2 installation. Or can I access the from the dev dir directly?
(If that's the case, whats the /dev entry for a scsi dev id 1 ?)
Could some tell me if I need to put an entry in this file, and if so what do
I put? I tried to set up a sample entry using the manufacturer, the model,
but when I run stinit, if complains.
[root@firewall /root]# more /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: TANDBERG Model: TDC 4100 Rev: =05:
Type: Sequential-Access ANSI SCSI revision: 02
[root@firewall /root]# more /etc/stinit.def
# The XY dat
manufacturer=TANDBERG model = "TDC 4100" revision="=05:"{
scsi2logical=1 # Common definitions for all modes
can-bsr can-partitions auto-lock
# Definition of modes
mode1 blocksize=0 compression=1
mode2 blocksize=1024 compression=1
mode3 blocksize=0 compression=0
mode4 blocksize = 1024 compression=0 }
[root@firewall /root]# stinit -v
stinit, processing tape 0
The manufacturer is 'TANDBERG', product is ' TDC 4100', and revision '=05:'.
Warning: No modes in definition for ('TANDBERG', 'TDC 4100', '=05:').
Can't find defaults for tape number 0.
Initialized 0 tape devices.
Thanks in Advance!
Corey.
------------------------------
From: "H.A.J. van Niekerk" <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,redhat.general
Subject: RH 5.2/6.2 Proxyserver
Date: Sat, 10 Feb 2001 19:28:57 +0100
Hi,
I want to install a proxyserver on a pc with a 80386 cpu, 1,2 GB
harddisk, 8 MB RAM. It currently runs RH 5.2 as a networked pc (no
server). Question: can I use RH 5.2 to install a proxyserver on this
machine and if so: how? If not, how much RAM is necessary for RH 6.1 or
6.2 to install a proxyserver?
Thanks,
Huub
------------------------------
From: Joseph Wilkicki <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.windows.x.i386unix,alt.os.linux.mandrake
Subject: Mandrake 7.2 and XFree 4.0.2 Help!
Date: Sat, 10 Feb 2001 13:27:53 -0500
Hi!
I recently installed XFree86 4.0.2 from the RPMs rebuilt for Mandrake
7.2. My 3D acceleration broke when I did however. In
/var/log/XFree86.0.log the error appears to be this:
(EE) R128(0): R128DRIScreenInit failed (DRM version = 1.0.0, expected
2.1.x). Disabling DRI.
(0): [drm] failed to remove DRM signal handler
(0): [drm] removed 1 reserved context for kernel
DRIUnlock called when not locked
So I downloaded the DRI CVS tree and tried to compile the
/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel directory
which contains the r128 kernel module I need (I don't have enough space
to make World like DRI suggests). When I placed the built module in the
appropriate place (well, where Mandrake put the old one anyway) and
rebooted (yes, I know this isn't really necessary) an lsmod said that
r128 was initializing, but the agpgart module was not loaded. After
disabling DRI in my XF86Config-4 file I rebooted, installed the modules
in the proper order (they loaded without errors) then reenabled dri and
restarted X. When I tried to run the Mesa gears demo I got an error
where it appeared that drm was giving a bad buffer = -14. I don't have
the exact text now because I rolled back my kernel module to the old
one. In any case, it didn't work.
So my question is how do I successfully compile the kernel module so it
works (and loads in the correct order, that is agpgart first, then
r128). The relevant file snippets:
host.def - configured according to the DRI compilation guide:
/*#define DefaultGcc2AxpOpt -O2 -mcpu=ev6*/
#define DefaultGcc2i386Opt -O2
#ifdef AlphaArchitecture
#define LibraryCDebugFlags -O2 -mcpu=ev6
#else
#define LibraryCDebugFlags -O2
#endif
#define BuildServersOnly YES
#define XF86CardDrivers vga tdfx i810 mga ati glint
#define LinuxDistribution LinuxRedHat
#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wnested-externs
#define DefaultCCOptions -ansi GccWarningOptions -pipe -g
#define NormalLibGlx NO
#define BuildXF86DRI YES
/*#define HasGlide3 YES*/
/*#ifdef i386Architecture*/
#define MesaUse3DNow YES
/*#if HasKatmaiSupport */
/*# define MesaUseKatmai YES */
/*#endif*/
/*#endif*/
/* To do profiling of the dynamically loaded 'xyz_dri.so' object, turn
* this on.
* Use 'xc/lib/GL/makeprofile.sh' to make it work.
*/
/* #define GlxSoProf YES */
#ifdef GlxSoProf
# undef DefaultCCOptions
# define DefaultCCOptions -ansi GccWarningOptions -pipe -g -p
#endif
/* Optionally turn these on for debugging */
/* #define GlxBuiltInTdfx YES */
/* #define GlxBuiltInI810 YES */
/* #define GlxBuiltInMga YES */
/* #define GlxBuiltInR128 YES */
/* #define GlxBuiltInRadeon YES */
/* #define DoLoadableServer NO */
/* Optionally turn this on to change the place where you install the
build */
#define ProjectRoot /usr/X11R6-DRI
/* Optionally turn this on to force the kernel modules to build */
#define BuildXF86DRM YES
#define XnestServer NO
#define XVirtualFramebufferServer NO
#define XprtServer NO
Relevant section of XF86Config-4:
Section "Module"
# This loads the DBE extension module.
Load "dbe"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
#Option "omit xfree86-dga"
EndSubSection
Load "glx"
Load "dri"
# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"
EndSection
Section "DRI"
Mode 0666
EndSection
And finally, my hardware setup:
AMD Duron 700 Mhz
128 MB RAM
ATI All-in-Wonder 128 16MB AGP (with Rage128 GL chip)
Linux Kernel: 2.2.17-21mdk (the default from Mandrake 7.2)
Any help on this issue would be greatly appreciated.
Joe Wilkicki
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.setup.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************