Linux-Setup Digest #374, Volume #21               Tue, 5 Jun 01 07:13:10 EDT

Contents:
  Re: help with color and $PS1 (David. E. Goble)
  strange sound + video incompatibility (Scott R.)
  Re: Problem with Mouse Detection on Red Hat Linux 7.1 (Joal Heagney)
  SMC EZ Card 1000 (SMC9462TX) under Debian 2.2r3 (Ashley Yakeley)
  Linux 2.4.x booting woes (James Andrews)
  Re: Linux Video conferencing (Achim Linder)
  partitions ("Mike91")
  Re:  Dumb question! How to install Rpms without rpm? (193.251.34.209 [c�dric])
  Re: Lilo questions ("Peet Grobler")
  Re: Lilo questions ("Peet Grobler")
  Re: LILO?? ("Eric")
  Re: help: printer setup problem (Jane)
  Re: SMC EZ Card 1000 (SMC9462TX) under Debian 2.2r3 (Ashley Yakeley)
  Re: paper misfeed; how do you kill print jobs in 7.1 (Dave Uhring)

----------------------------------------------------------------------------

From: goble@gtech (David. E. Goble)
Crossposted-To: alt.linux,aus.computers.linux,comp.os.linux.development.apps
Subject: Re: help with color and $PS1
Date: Tue, 05 Jun 2001 08:21:26 GMT
Reply-To: goble@gtech

Hi All;
>
>PS1="\n\[\033[1;35m\]IBM 686/pr120+ Linux RedHat 6.2
>\[\033[0;36m\]\$(date)\n\[\u@\h \W]\\$ "
>

Had another look at it and got it working. Looks like the trick was to
set the color again after the \n.

Thanks to Gilles; I started with

        PS1="\[\e[1;31m\]\h:\w\$\[\e[0;0m\] "

It did not work, so replaced the \e with \033 and it did, then I added
the rest.

# /etc/bashrc
...
    PS1="\n\[\033[1;35m\]IBM 686/pr120+ Linux RedHat 6.2
\[\033[0;36m\]\$(date)\n\[\033[0;36m\][\u@\h: \w]\\$ \[\033[0;0m\]"



------------------------------

From: Scott R. <[EMAIL PROTECTED]>
Subject: strange sound + video incompatibility
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help
Reply-To: [EMAIL PROTECTED]
Date: Tue, 05 Jun 2001 08:33:12 GMT

I am experiencing a strange conflict between my sound card (AWE 64 ISAPNP) 
and my video card (NVIDIA Gforce 2 MX).  I can run GL apps and play sounds 
just fine with the exception of programs which combine sound and 3D (such 
as 'tuxracer' or 'tuxkart').  When I attempt to run one of these, the app 
crashes and afterwords I can no longer run GL apps.  

Here is a more detailed explanation:

I initialize my sound card by doing the following:

pnpdump -c > /etc/isapnp.conf
isapnp /etc/isapnp.conf
modprobe sound
modprobe mpu401
modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330

At this point I am able to play mp3s and midis without a problem.
I can also run GL apps such as the 'gears' demo.  When I start 'tuxracer' 
for example, it switches to full-screen mode, plays the first note of the 
game music and segfaults.  Afterwords, I can no longer run GL apps ('gears' 
segfaults immediately when I try to run it).  Does anyone have any ideas 
about what may be causing this?  Here is my setup information:

Linux Mandrake 8.0 (SMP kernel).
384 MB 
AWE64 value
Nvidia G-force 2 MX

/proc/interrupts:
            CPU0       CPU1
  0:     116906     116202    IO-APIC-edge  timer
  1:       3897       4173    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  5:        247        261    IO-APIC-edge  soundblaster
  9:       2363       2381   IO-APIC-level  eth0
 11:      97307      98013   IO-APIC-level  nvidia
 12:      24379      25281    IO-APIC-edge  PS/2 Mouse
 14:       2401       2540    IO-APIC-edge  ide0
 15:         20         21    IO-APIC-edge  ide1
NMI:          0          0
LOC:     232963     233012
ERR:          0
MIS:          0

/proc/ioports:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
0220-022f : soundblaster
02f8-02ff : serial(auto)
0330-0333 : MPU-401 UART
0376-0376 : ide1
03c0-03df : vesafb
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
d000-d03f : 3Com Corporation 3c905 100BaseTX [Boomerang]
  d000-d03f : eth0
d400-d41f : Intel Corporation 82371AB PIIX4 USB
d800-d80f : Intel Corporation 82371AB PIIX4 IDE
  d800-d807 : ide0
  d808-d80f : ide1
e400-e43f : Intel Corporation 82371AB PIIX4 ACPI
e800-e81f : Intel Corporation 82371AB PIIX4 ACPI


Thanks in advance for any help.

------------------------------

From: Joal Heagney <[EMAIL PROTECTED]>
Subject: Re: Problem with Mouse Detection on Red Hat Linux 7.1
Date: Tue, 05 Jun 2001 18:27:44 +1000

Renstertang wrote:
> 
> FYI, I am also having problems with Red Hat 7.1.  Mouse works during
> installation, but not afterwards- tried all mouse drivers and ports without
> success.  Mouse type:  Microsoft Serial Mouse 2.0A
> 
> IF anyone has a solution let me know: [EMAIL PROTECTED]

I'm starting to suspect some magic has to be performed in the
modules.conf file, just like it was necessary to do to activate the
parallel port in 6.2 (I think it was 6.2).

Joal Heagney/AncientHart

------------------------------

From: Ashley Yakeley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: SMC EZ Card 1000 (SMC9462TX) under Debian 2.2r3
Date: Tue, 05 Jun 2001 01:29:44 -0700

Does anyone have a driver for the SMC9462TX under Linux 2.2?

The card claims Linux support, but the driver is omitted from the 
supplied disk. I called up SMC, and they emailed me source and compiled 
driver for 9462 cards for Linux (2.0.something). Doing 'insmod' on the 
driver resulted in a host of missing symbols, so I recompiled it. Even 
then there was one missing symbol, '__bad_udelay'. An examination of the 
source revealed that I could probably safely provide a dummy function, 
which I did.

Now when I do 'insmod', I get
/lib/modules/2.2.19pre17/net/smc9462.o: init_module: Device or resource 
busy

The card works fine from Win98.

-- 
Ashley Yakeley, Seattle WA

------------------------------

From: [EMAIL PROTECTED] (James Andrews)
Subject: Linux 2.4.x booting woes
Date: 5 Jun 2001 01:46:28 -0700

Hi,

I have recently recompiled the 2.4.2 kernel (RedHat 7.1 current dist.)
to include the IP tables code. After installing the new kernel it
boots upto the NET 4 message (just before Unix Domain Sockets is
loaded) and it hangs and doesnt continue to boot.

I read somewhere this is a problem on the 2.4.2 kernel with SMP? So I
tried without SMP and it wont even compile (let alone boot).

Anyway, I have since grabbed the latests 2.4.5 kernel and patched it
to the latest patch level. Now the kernel compiles and installs okay,
but when it boots it gets to the "Uncompressing kernel OK, Booting
linux" message (right at the start of the boot process) and hangs.

Has anyone got any suggestions, hints or solutions for this one?

Help gratefully accepted!

Thanks,
James A.

------------------------------

From: [EMAIL PROTECTED] (Achim Linder)
Subject: Re: Linux Video conferencing
Date: Tue, 5 Jun 2001 10:59:35 +0200

On Mon, 04 Jun 2001 10:49:56 GMT, Subba Rao wrote:
>
>I am looking for some information for setting up Video conferencing
>using my Linux system. What devices are required for such setup? I do
>have USB ports available. I am confused about WebCams and NetCams. Is
>there a difference between these devices? Will this be streaming
>video? What software is available to do the conferencing?

Try ohphone:  www.openh323.org/code.html

The openh323 library will need _lots_ of memory to compile
(the compiler went up to 200MB virtual memory on my machine),
so make sure you've enough swap space or look for a binary
for your distribution.

I use a bt878 card, don't know about other imaging devices.
There are some relevant links at  www.linux-usb.org/tools.html

Achim

------------------------------

From: "Mike91" <[EMAIL PROTECTED]>
Subject: partitions
Date: Tue, 5 Jun 2001 10:13:51 +0100

I'm planning to install linux for the 1st time, but I'm a little uncertain
what I need to do about partitions....

I am intending to empty a 6.5gig partition on my HD and install linux on it,
however I have been reading that I will need a swap partition and maybe a
boot partition, so I am unsure how to sub-divide the 6.5gig.  Also, the
6.5gig is in FAT32, so I guess it would be better to change that to linux
native?  And if so, how?

I am intending to install Mandrake 7.2 (as I have been able to borrow a
copy) ....am I right in thinking the setup procedure will be able to do any
partition manipulation I will need?
cheers, Mike
--
Remove NO and SPAM to reply



------------------------------

From: 193.251.34.209 [c�dric]
Subject: Re:  Dumb question! How to install Rpms without rpm?
Date: 5 Jun 2001 08:30:40 GMT

> I accidentaly deleted my rpm program.  Now, I can not install it back 
> because it is packed as rpm.  Is there some other way to install 
> rpm-4.0-XXX.rpm? or is there exist a rpm-4.0.xxx.src.tgz that I can install 
> with  ./configure, make , make install?
> 
> Please help!
Yes you can find a .tar.gz at ftp.rpm.org ...
But good Luck with libs ...

C�dric.



==================================
Poster's IP address: 193.251.34.209
Posted via http://nodevice.com
Linux Programmer's Site

------------------------------

From: "Peet Grobler" <peetgr at absa.co.za>
Subject: Re: Lilo questions
Date: Tue, 5 Jun 2001 11:29:25 +0200

<SNIP>
>> Why does this happen, and what can I do to rectify it?
>
>Try boot with a rescue disk or a boot floppy and then run lilo
>at the command prompt (you must login as root). Check also your LILO
>installation and configuration file.

That's what I've done. I boot off the distro's installation's diskette, then
do the following:
mount /dev/hda1 /mnt
cd /mnt
chroot /mnt /bin/bash
/sbin/lilo

The configuration file is correct. I do not have it with me, so I am unable
to show you what's in it. But I checked it and it's fine.

>Davide



------------------------------

From: "Peet Grobler" <peetgr at absa.co.za>
Subject: Re: Lilo questions
Date: Tue, 5 Jun 2001 11:31:06 +0200


Eric wrote in message <9fi3im$kh3$[EMAIL PROTECTED]>...
>> 1) When I finished installing my PC, and boot, it displays "LI" and then
>> stops. Whether I put lilo in /dev/hda or /dev/hda1. (/dev/hda1 active
>> partition or not).
>> Why is this?
>
>the files needed to boot are not at the expected location.

So should I create a small (+-10MB) /boot partition at the start of the
disk? Will this solve the problem? It's a rather old machine, installing the
minimal system takes about 2 hours, so I'd rather get as much info as
possible then do it.


>> 2) So I put lilo on /dev/fd0, tried that. "LI" then hangs.
>
>No doubt, this doesn't change a thing.
>
>> 3) Should lilo be in /dev/hda or /dev/hda1 (generally speaking, and why?)
>
>Whatever you prefer. I always put it in the MBR.
>
>> It's not the 1024 Cylinder problem, my disk doesn't have that many. It's
>an
>> old, 512MB HDD (working condition, used it to boot another machine)
>
>What does fdisk -l /dev/hda tell you about the number of cylinders?
>The size of the disk is no guarantee that the number of cylinders is less
>than 1024. (eg. you would be using 16 heads/63 sectors per track)

I know, it's got 512 cylinders according to fdisk.

>Eric
>
>



------------------------------

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: LILO??
Date: Tue, 5 Jun 2001 11:28:46 +0200

> I was wondering if anybody could tell me what in the sam hill is going
> on in this LILO config file ...
>
> these two lines are confusing the hell out of me.
> default=Linux
> image=vmlinuz

This is *exactly* what manpages are for.

> In the /boot directory the only "images" that are there is one called
> vmlinuz-2.2.19-idepci and another called vmlinuz-2.2.19pre17-idepci.
> There are two system.map files that looks like they represent these two
> images.  There is also just a file called map.
>
> There is not a file called vmlinuz or Linux anywhere in this directory.

duh.
Who said there should be one.

> When I use "uname -r" I get "2.2.19pre17-idepci".

So that's the name of the current kernel you're running.

> Can anyone explain how this version is derived through the lines in LILO
> that I showed above.  I am using LILO to boot and it is installed in the
> MBR.

It's not.
It's the value you can read from /proc/version.
It's hardcoded in the kernel when you compile it.

> I am using Debian.  I ran apt-get update and apt-get install, not
> knowing really what to expect.  It apparently wanted to install a
> kernal-image or something.  It asked me if I wanted to make a boot disk,
> I guess in case of a problem.  I did.  I used the boot disk just to see
> what would happen.  When the system booted up I used "uname -r" and it
> gave me "Linux"????

So you ran another kernel, from floppy.
No big deal.

> I am really confused about what damn kernal I am using, how is it that
> it is being used and what in the hell is a kernal version called just
> plain Linux or just plain vmlinuz???

Why? What's so hard about a name.
If you like to call your kernel "windows98", you change
/usr/src/linux/Makefile
and alter VERSION in windows98.
Next time you run uname -r with that kernel it will report windows98.

Eric



------------------------------

From: Jane <[EMAIL PROTECTED]>
Subject: Re: help: printer setup problem
Date: Tue, 5 Jun 2001 19:40:17 +1000

Lew Pitcher wrote:

> On Mon, 4 Jun 2001 21:58:20 +1000, Jane <[EMAIL PROTECTED]> wrote:
> 
> >--nextPart1000799.vgT9KHieSk
> >Content-Type: text/plain; charset=ISO-8859-1
> >Content-Transfer-Encoding: 8Bit
> >Content-Disposition: inline
> 
> <curmudgeon>
> Please don't do this. There _are_ groups that accept attachments,
> html, and/or binaries, but this isn't one of them. For the sake of
> those who (a) don't have usenet readers that can handle such things,
> or (b) don't care to have a text message cluttered up with non-message
> flags that just say that there's _more_ text message, please try to
> suppress these.
> </curmudgeon>

sorry, my mistake. 

> 
> >
> >Please find the attached text file and comment. thanx.
> 
> First comment: Why oh why did you bother to _attach_ a text file to a
> text message? Why not just

I wrote the text message first with vi and was just simply lazy to cut and 
paste to my news reader. 

> >--nextPart1000799.vgT9KHieSk
> >Content-Type: text/english; name="printer-prob"; charset=ISO-8859-1
> >Content-Transfer-Encoding: 8Bit
> >Content-Disposition: attachment; filename="printer-prob"
> >
> >Hi,
> >
> >I am having trouble configuring my printer (HP LJ 5L), I have always used
> >the printtool, but this time I just wanted to see how it can be done
> >manually. I have read the print-HOWTO but could not find a solution to my
> >problem.
> >
> >This printer works fine under Windows so it is not a cable/printer
> >problem.
> >
> >"cat error > /dev/lp0" gives: (where error is a text file)
> >nothing
> 
> Likely. I'd expect that you need a print filter in order to get print
> data to show; the HP LJ 5L is likely either talking PCL or Postscript,
> or is waiting for a full page of cr/lf terminated lines.

print filter is installed and I've edited /etc/printcap to use it (if you 
read a bit further down the message, I've included a copy of my 
/etc/printcap)

> 
> >"lpr -P lp0 error" gives:
> >lpr: unable to print file: The requested resource was not found on this
> >server.
> 
> Well, you're instructing lpr to print the files
>   lp0
> and
>   error
> to the default printer ('lp'). What you meant to do was
>   lpr -Plp0 error
> notice that there's no space between the -P and the name of the
> printer
> 

you can do either -Plp0 or -P lp0, I've tried this before, probably won't 
work under some unices but works under Linux. Anyway, thanks for trying to 
help. 

> >I am running Mandrake 7.2 (kernel version 2.2.17, i586)
> >
> >"cat /etc/printcap" gives:
> >##PRINTTOOL3## LOCAL ljet4 300x300 letter {} LaserJet4 Default {}
> >lp0:\
> > :sd=/var/spool/lpd/lp0:\
> > :mx#0:\
> > :sh:\
> > :lp=/dev/lp0:\
> > :if=/var/spool/lpd/lp0/filter:
> >
> >"ps -aux|grep lpd" gives:
> >root      9993  0.0  0.4  1148  532 ?        S    Jun02   0:00 lpd
> >
> >"lsmod" gives:
> >parport_probe           3536   0  (autoclean)
> >parport_pc              7568   1  (autoclean)
> >lp                      5552   0  (autoclean)
> >parport                 7744   1  (autoclean) [parport_probe parport_pc
> >lp]
> >
> >"dmesg | grep par" gives:
> >parport0: PC-style at 0x378 [SPP]
> >parport_probe: succeeded
> >parport0: Printer, Hewlett-Packard HP LaserJet 5L
> >lp0: using parport0 (polling).
> >
> >"rpm -qa|grep filter" gives:
> >rhs-printfilters-1.76-3mdk
> >
> >"ls /var/spool/lpd/lp0/" gives:
> >filter*  general.cfg*  lock  postscript.cfg*  textonly.cfg*
> >
> >"cat /etc/modules.conf|grep par" gives:
> >alias parport_lowlevel parport_pc
> >pre-install plip modprobe parport_pc ; echo 7 > /proc/parport/0/irq
> >
> >I really don't know where the problem is, can anyone please enlighten me.
> >
> >Thanks.
> >
> >--nextPart1000799.vgT9KHieSk--
> 
> 
> Lew Pitcher, Information Technology Consultant, Toronto Dominion Bank
> Financial Group ([EMAIL PROTECTED])
> 
> (Opinions expressed are my own, not my employer's.)



------------------------------

From: Ashley Yakeley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: SMC EZ Card 1000 (SMC9462TX) under Debian 2.2r3
Date: Tue, 05 Jun 2001 02:24:02 -0700

In article <[EMAIL PROTECTED]>, I wrote:

> Does anyone have a driver for the SMC9462TX under Linux 2.2?
> 
> The card claims Linux support, but the driver is omitted from the 
> supplied disk. I called up SMC, and they emailed me source and compiled 
> driver for 9462 cards for Linux (2.0.something). Doing 'insmod' on the 
> driver resulted in a host of missing symbols, so I recompiled it. Even 
> then there was one missing symbol, '__bad_udelay'. An examination of the 
> source revealed that I could probably safely provide a dummy function, 
> which I did.
> 
> Now when I do 'insmod', I get
> /lib/modules/2.2.19pre17/net/smc9462.o: init_module: Device or resource 
> busy
> 
> The card works fine from Win98.

I found compiled drivers for 2.2.x on SMC's European web-site:

<http://www.smc-europe.com/support/software/pci/middlebottomright.htm>

But when I tried to install the modules (lacp.o and 9462tx.o), I get a 
version mismatch for lacp:

/lib/modules/2.2.19pre17/net/lacp.o: kernel-module version mismatch
        /lib/modules/2.2.19pre17/net/lacp.o was compiled for kernel 
version 2.2.12-20
        while this kernel is version 2.2.19pre17.
/lib/modules/2.2.19pre17/net/lacp.o: insmod 
/lib/modules/2.2.19pre17/net/lacp.o failed
/lib/modules/2.2.19pre17/net/lacp.o: insmod 9462tx failed

Installation failed.

Does this version difference really matter? Is there a way of hacking it?

-- 
Ashley Yakeley, Seattle WA

------------------------------

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: paper misfeed; how do you kill print jobs in 7.1
Date: Tue, 5 Jun 2001 05:14:35 -0500

Robert Nagle wrote:

> I have an epson photo printer 875. For some reason the paper doesn't
> feed
> correctly.
> 
> (I can't say if this is the result of linux or simply the hardware).
> The
> upshot is that
> I frequently need to cancel or pause print jobs. I am using the gui
> print tool with KDE.
> I could probably install another print monitoring tool if I need to.
> Does this sound like
> it could possibly be a software problem?
> 

lprm


------------------------------


** 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
******************************

Reply via email to