Linux-Setup Digest #517, Volume #20 Sat, 27 Jan 01 18:13:15 EST
Contents:
boot hangs on ide interrogation (Tom Purvis)
Re: Peer not authorized (David Efflandt)
Re: pppd (David Efflandt)
Re: Display power management on a laptop (David Efflandt)
Re: can't boot ms win ;-( (Steve Martin)
Need your suggestion on how many partition for my 30GB hd?? ("kellyboy")
alsa unresolved symbol (TNK)
Getty in 7.0 (Norman Levin)
Re: LILO doesn't boot (Norman Levin)
Re: Problem getting PMagic 5.0 to apply changes to partition (Norman Levin)
Re: ps usage ?? (Norman Levin)
Re: can't partition HD (Norman Levin)
Partition 101 (newbie)
Re: Need your suggestion on how many partition for my 30GB hd?? (newbie)
Getting ISDN work in mandrake 7.2 (Jesse Marder)
Re: Mandrake & c++ (Thomas Dickey)
StarOffice 5.2 and Samsung ML-4600 Printer (Dan)
Re: parport setup (David Efflandt)
----------------------------------------------------------------------------
From: Tom Purvis <[EMAIL PROTECTED]>
Subject: boot hangs on ide interrogation
Date: Sat, 27 Jan 2001 20:55:05 GMT
I've got an HP Vectra XU 6/200 (~3 year old) Pentium Pro machine.
It has two processors, 256M of RAM, a 4GB SCSI drive, and a 10GB
ide drive.
I'm trying to put SuSE 7.0 linux on it, and have been having ide
headaches. I can install linux, but can't boot it from either the
hard disk or a boot floppy. I can boot from the SuSE boot diskette
or from the SuSE CD and then load the installed copy of linux, but
as I understand it, that means that I am not loading my newly
installed kernel, but the one that is on the SuSE boot floppy
or CD.
When I try to boot from my own kernel, I get to the following
portion of the boot process, and then the system just stops:
...
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
CMD646: IDE controller on PCI bus 00 dev 08
CMD646: chipset revision 1
CMD646: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
hda: QUANTUM FIREBALLP LM10.2, ATA DISK drive
hdc: HITACHI CDR-8130, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7, 0x3f6 on irq 14
ide1 at 0x170-0x177, 0x376 on irq 15
hda: QUANTUM FIREBALLP LM10.2, 9797MB w1900kB Cache, CHS=1327/240/63
I was convinced that the problem was my quantum fireball 10GB
drive, so I yanked it. I installed linux to my scsi drive, and
it still hung, but now it hangs on a slightly different line.
I have tried adding the "ide0=0x1f0 ide1=0x170" parameters, and
I've tried ideX=noautotune/serialize (haven't tried autotune).
Now I'm going to apply a patch that I found (Wild A$$ Guess) to
the 2.1.16 kernel. I've sent mail to SuSE, from whom I'm entitled
to install support for 90 days, but I'm anxious to learn about
this, and of course get on with it.
Any advice or information would be greatly appreciated.
--
Tom Purvis
Salida, Colorado
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Peer not authorized
Date: Sat, 27 Jan 2001 21:13:24 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Fri, 26 Jan 2001 08:15:39 GMT, Peter T. Breuer <[EMAIL PROTECTED]> wrote:
>Ed Champion <[EMAIL PROTECTED]> wrote:
>> Pete, thanks for the reply, but I do not see anything about peers. I
>> just figured out how to copy the ppp-logfile. It is as follows:
>
>Where did you look?
>
>Look for "auth" and make it a "noauth".
The default for some systems seems to be auth now. So you specifically
have to put noauth in /etc/ppp/options or other file read for pppd
options.
Also make sure that you do NOT have any default route before starting
pppd, since that may interfere with pppd's defaultroute option. Any
routing for your LAN should be -host or -net routes.
--
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)
Crossposted-To: comp.os.linux.hardware,redhat.general
Subject: Re: pppd
Date: Sat, 27 Jan 2001 21:17:39 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Wed, 24 Jan 2001 23:48:57 +0000, Jeff Moore <[EMAIL PROTECTED]> wrote:
>I use RH7 with ipfwadm firewall, squid, and netatalk over a 56k modem
>gateway.
>
>Sometimes my link freezes to my isp and packets are sent with no
>response. When I restart the modem it works again.
>
>My pppd is in my inittab file so it is always on.
>
>Is there a way to automatically check for timeout on sent packets for a
>froze connection so the link can be restarted?
>
>Any help would be greatly appreciated.
'man pppd' in particular options about lcp-echo.
--
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: Display power management on a laptop
Date: Sat, 27 Jan 2001 21:41:44 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On 25 Jan 2001 13:40:46 -0800, Martin Shepherd <[EMAIL PROTECTED]> wrote:
>Martin Shepherd <[EMAIL PROTECTED]> writes:
>
>> Having managed to get the gnome screensaver to switch off my screen
>> after a few minutes of activity, I found myself without any way to
>> switch it back on without power cycling the whole laptop. I had hoped
>> that hitting keyboard keys would do the trick, since it was supposedly
>> only the screen that was off, not the keyboard/CPU.
See /etc/sysconfig/apmd for a couple of options that can help wake from
standby, for example CHANGEVT for X problems, some soundcard options and
PCMCIARESTART which solved my nic locking my system on resume.
>The secret turns out to be to avoid using the gnome control center to
>turn on dpms, and instead directly use the "xset dpms" command.
>
> xset dpms 240 0 0
Thank you for posting this answer. I have been trying to figure out for
ages how to turn off my backlight since at home I connect though the
network and don't need the screen. The xset dpms 240 0 0 works as well
for KDE in Mandrake 7.0 on a Sony F450 (Neomagic 256AV).
Now if only I could figure out how to do it in the console. The usual
setterm thing I use for my main PC does not seem to work.
>The above command tells the X server to put the display into standby
>mode after 240 seconds (4 minutes), but not attempt to either suspend
>it or turn it off, the latter being the option that was previously
>putting the laptop into an unrecoverable state. On the Viao laptop,
>the standby mode actually appears to turn off the backlight and the
>video, so the standby option is fortunately the only option that I
>need. This seems to work without any other work under Mandrake, but to
>get it working under RedHat 7.0, you first have to enable DPMS by
>editing /etc/X11/XF86Config-4 and adding:
>
> Option "DPMS"
>
>in the monitor configuration, then restart the X server. Thanks to the
>person who posted this a few days ago on this group.
--
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: Steve Martin <[EMAIL PROTECTED]>
Subject: Re: can't boot ms win ;-(
Date: Sat, 27 Jan 2001 21:43:44 GMT
Benny wrote:
> i have linux on my primary master hd, ms win98 on my primary slave hd. i'm
> using lilo and it can boot just fine to linux, but just freezes when i try to
> load windows :-(
>
> my lilo.conf is:
>
> boot = /dev/hda
> default = linux
> compact
> delay = 20
> image = /vmlinuz
> root = /dev/hda1
> label = linux
> append = "hdd=ide-scsi"
> read-only
> other = /dev/hdb1
> label = win
> table = /dev/hdb
Try adding the lines
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
right after the "table" entry under the "other" section.
This tells the loader to logically "swap" the two
controllers so that Windows thinks it's booting off the
"C" drive. I'm doing exactly that here (Win95 on /dev/hdb1)
and it does exactly what you describe without these lines;
with them, all boots fine.
I don't know where I got that (some doc somewhere in the
past), I can't find it now, but it works.
------------------------------
From: "kellyboy" <[EMAIL PROTECTED]>
Subject: Need your suggestion on how many partition for my 30GB hd??
Date: Sat, 27 Jan 2001 16:01:58 -0600
I have this 30GB HD and I plan split into several partition for linux
Mandrake 7.2 set up...
My question is:
how much space for each point...
my current set up (as said in fstab) are this...
hda1 /boot
hda5 /
hda6 swap
hda7 /usr
hda8 /var
hda9 /home
hda10 /root
hda11 /tmp
I want to split my 30GB properly... which mount point (/home /usr /root
/boot) need how much space in mb?
Im trying to choose the right amount of space when I make it in fstab under
Linux so I can have the biggest partition as possible under /home
and do I really need swap space when I have 256mb RAM on this computer?
thanks,
kellyboy
------------------------------
From: TNK <[EMAIL PROTECTED]>
Subject: alsa unresolved symbol
Date: Sat, 27 Jan 2001 23:21:13 +0100
Hi
after upgrading and compiling a suse 7 kernel (2.2.16), I compiled alsa
drivers, libraries and utilities (last release, sound card ensoniq
1371). When I try to load the snd module, I get a unresolved symbol
isa_dma_bridge_buggy.
Any one any idea?
Thanks
--
Thierry Nkaoua
http://linux-sottises.homeip.net
S'il n'y a pas de solution, c'est qu'il n'y a pas de probl�me!
------------------------------
Date: Sat, 27 Jan 2001 10:45:28 -0600
From: Norman Levin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Getty in 7.0
Last week, I installed 7.0. in a couple of spare partitions on my 6.2 system.
I forgot to install the "getty_ps"
package on 7 so I copied the getty from the 6.2 system to 7.0.
However, the same getty that in 6.2 runs at 38400 and 57000+ with no troubles in
6.2 would not communicate faster than 9600 on 7.0 no matter what was in the getty
line.
I know that getty will use /etc/gettydefs to find various speed and I have never dug
into
it's real use; but the following line in /etc/inittab has always worked (5.0, 5,2, 6.0
6.2)
to drive a serial terminal.
... added after mingettys
SO:12345:respawn:/sbin/getty 38400
Any ideas why the same code in 6.2 when run in 7.0 is ignoring the speed specification?
--
Norman Levin
"In 1555, Nostradamus wrote: 'Come the millennium, month 12, in the home of
greatest power, the village idiot will come forth to be acclaimed the
leader.'"
------------------------------
Date: Sat, 27 Jan 2001 10:57:04 -0600
From: Norman Levin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: LILO doesn't boot
Meul wrote:
>
> hello,
> I've installed win me on my system, and trying to install linux redhat 7.0
> on top of that. I tried everything but my pc keeps booting win me. I have
> already installed lilo 5 times on MBR and still there comes no lilo while
> booting. Any ideas to install lilo?
** for security, some bios'es will let you protect the real record 0 from update.
Maybe your's supports that feature? See if you can get into your bios set up screens
on boot up and browse around.
--
Norman Levin
"In 1555, Nostradamus wrote: 'Come the millennium, month 12, in the home of
greatest power, the village idiot will come forth to be acclaimed the
leader.'"
------------------------------
Date: Sat, 27 Jan 2001 11:11:02 -0600
From: Norman Levin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Problem getting PMagic 5.0 to apply changes to partition
[EMAIL PROTECTED] wrote:
>
> Hi all,
>
> Trying to get a 30GB disk partitioned (already has win 98) using
> PartitionMagic 5.0 but when I try to apply changes and the machine
> boots into DOS mode to do the work - it shows it starting the tasks
> but crashes after about 30 seconds - doesn't do any harm just asks
> whether I want to stay in DOS or return to Windows - returning to
> Windows works fine ....
>
> Tried re-installing PMagic 5.0 and various combos of re-sizing to see
> if it would take but same every time.....crash after 30 secs.....
>
> Any help/advice greatly appreciated ....
** create the PM stand alone diskettes and see if booting from them helps.
Also, check powerquests site and see if this is a known problem and a fix
exists.
--
Norman Levin
"In 1555, Nostradamus wrote: 'Come the millennium, month 12, in the home of
greatest power, the village idiot will come forth to be acclaimed the
leader.'"
------------------------------
Date: Sat, 27 Jan 2001 13:40:59 -0600
From: Norman Levin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: ps usage ??
Try the option "-f" - that is, "ps -ef" should show you ever user related process Fully
which isn't the same as Long... but what the hey..
"H.Bruijn" wrote:
>
> On Wed, 24 Jan 2001 16:48:26 +0100, Ed Bras allegedly wrote:
> >Hellu there,
> >
> >The man page of ps isn't really clear to me.
> >I have a lot of java processes running with different arguments, and like to
> >see those arguments as well. How do I do that with "ps" ??
> >
> >For example: ps -A | grep java gives me all the java running processes but
> >doesn't show the arguments.
> >I have processes like "java -jar orion.jar", "java -jar bla.jar", etc...
> >In the ps I only see a thousand times "java" nothing more.
> >
> >With ps -x I see a little bit more but still not the arguments.
>
> Very brutal, but simply get the process ID number with ps or top, then
> do a "cat /proc/$PID/cmdline"
> Adding the flag u to the ps command also makes a lot of difference.
> try fi "ps aux"
>
> --
> If a trainstation is the place where trains stop, what is a workstation?
> ------------------------------------------------------------------------
> Herman Bruijn mail: [EMAIL PROTECTED]
> The Netherlands website: http://hermanbruijn.com
--
Norman Levin
"In 1555, Nostradamus wrote: 'Come the millennium, month 12, in the home of
greatest power, the village idiot will come forth to be acclaimed the
leader.'"
------------------------------
Date: Sat, 27 Jan 2001 14:08:45 -0600
From: Norman Levin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: can't partition HD
Ron Sussman wrote:
>
> I'm trying to install Mandrake 7.2 onto a 30 gig IBM HD. The entire disk
> is one big "C" drive containing win 98SE. I want to resize the "C" partition
> & carve out a few gigs for linux. Both DiskDrake & Partition Magic fail. DD
> says "can't resize hard drive"; PM says that it can't partition the drive
> because it's full (PM lies; actually 27-28 gigs are free). Any ideas?
> Thanks
** win 98 and I guess SE, moves some junk to the high end of the disk and then
says it is not moveable (how rude). Try 'defrag' and look at the 'picture'. You will
find these 4k blocks at the high end of your disk. I do NOT know what you have to do
to make them moveable - but that's the bind. You would think PM could do that? Is
this
that latest level?
--
Norman Levin
"In 1555, Nostradamus wrote: 'Come the millennium, month 12, in the home of
greatest power, the village idiot will come forth to be acclaimed the
leader.'"
------------------------------
From: newbie <[EMAIL PROTECTED]>
Subject: Partition 101
Date: Sat, 27 Jan 2001 22:20:29 GMT
My RH 6.2 disk druid complains when I try to add the boot partition
(i.e. "/"). It tells me that my boot partition is too big. On the 30G
drive, I've already partitioned/installed W95 so that the C, E, and F
partitions that the W95 fdisk assigned are each 2047 MB. G is between 1
and 2 Gb. Disk druid can see that approx 75% of the disk is still
available to use. I can't figure out therefore why disk druid doesn't
allow me to parition /, /usr, /opt, and swap as I planned to do.
I should mention that I ran a low-level format utility on the disk
before I started the W95 install.
I also understood that the W95 install should have been done before the
RH 6.2 install. Should I have done this in reverse order perhaps?
Tia,
Brian
Sent via Deja.com
http://www.deja.com/
------------------------------
From: newbie <[EMAIL PROTECTED]>
Subject: Re: Need your suggestion on how many partition for my 30GB hd??
Date: Sat, 27 Jan 2001 22:26:59 GMT
> My question is:
> how much space for each point...
>
While I'm sure others have other ideas, I subscribe to the KISS approach
for my home machines: 2x RAM for the swap and everything else in /.
After installation, I create the appropriate directories that were not
created during the install. I'm aware that there are reasons for not
following this method, but for my purposes it seems to work OK.
-Brian
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Jesse Marder)
Subject: Getting ISDN work in mandrake 7.2
Date: Sat, 27 Jan 2001 22:38:42 GMT
Reply-To: [EMAIL PROTECTED]
Hi.
I installed mandrake 7.2 with no bigger problems. I am completely new
to linux at the time. I wanted to set up ISDN with drakenet, but
although it says that I am connected to the internet, i dont get any
response in netscape and when I click on the internet icon on the
desktop I get a response that the pppd daemon is not working, and that
I should check if it is properly installed.
what can I do to make all this work?
greets,
Jesse
------------------------------
From: Thomas Dickey <[EMAIL PROTECTED]>
Subject: Re: Mandrake & c++
Date: 27 Jan 2001 22:50:01 GMT
Thomas Dickey <[EMAIL PROTECTED]> wrote:
> Jon Church <[EMAIL PROTECTED]> wrote:
>> I may be brain dead here, but, it seems that a workstation installation of
>> Mandrake 7.1 does not include the standard c++ library <iostream.h>.
>> I've never had this trouble with RH. Mandrake includes other libraries
>> (stdlib.h time.h etc) but not iostream.h I can't believe this is true but
>> I can't get the simplest c++ programs to run. Where am I going wrong??
...
> probably a broken spec file...
more than that (I went a couple of different routes before abandoning
their patches - which break the basic build structure of gcc and leave
it in a not-good-state - and simply compiled the original gcc sources
to get the g++ headers).
fyi, this is what should be installed under /usr/include:
g++-3
g++-3/std
g++-3/std/bastring.h
g++-3/std/complext.h
g++-3/std/dcomplex.h
g++-3/std/fcomplex.h
g++-3/std/gslice.h
g++-3/std/gslice_array.h
g++-3/std/indirect_array.h
g++-3/std/ldcomplex.h
g++-3/std/mask_array.h
g++-3/std/slice.h
g++-3/std/slice_array.h
g++-3/std/std_valarray.h
g++-3/std/straits.h
g++-3/std/valarray_array.h
g++-3/std/valarray_meta.h
g++-3/std/bastring.cc
g++-3/std/complext.cc
g++-3/std/valarray_array.tcc
g++-3/PlotFile.h
g++-3/SFile.h
g++-3/builtinbuf.h
g++-3/editbuf.h
g++-3/fstream.h
g++-3/indstream.h
g++-3/iomanip.h
g++-3/iostream.h
g++-3/istream.h
g++-3/ostream.h
g++-3/parsestream.h
g++-3/pfstream.h
g++-3/procbuf.h
g++-3/stdiostream.h
g++-3/stream.h
g++-3/streambuf.h
g++-3/strfile.h
g++-3/strstream.h
g++-3/cassert
g++-3/cctype
g++-3/cerrno
g++-3/cfloat
g++-3/ciso646
g++-3/climits
g++-3/clocale
g++-3/cmath
g++-3/complex
g++-3/csetjmp
g++-3/csignal
g++-3/cstdarg
g++-3/cstddef
g++-3/cstdio
g++-3/cstdlib
g++-3/cstring
g++-3/ctime
g++-3/cwchar
g++-3/cwctype
g++-3/string
g++-3/stdexcept
g++-3/algorithm
g++-3/deque
g++-3/functional
g++-3/hash_map
g++-3/hash_set
g++-3/iterator
g++-3/list
g++-3/map
g++-3/memory
g++-3/numeric
g++-3/pthread_alloc
g++-3/queue
g++-3/rope
g++-3/set
g++-3/slist
g++-3/stack
g++-3/utility
g++-3/vector
g++-3/fstream
g++-3/iomanip
g++-3/iostream
g++-3/strstream
g++-3/iosfwd
g++-3/bitset
g++-3/valarray
g++-3/complex.h
g++-3/stl.h
g++-3/algo.h
g++-3/algobase.h
g++-3/alloc.h
g++-3/bvector.h
g++-3/defalloc.h
g++-3/deque.h
g++-3/function.h
g++-3/hash_map.h
g++-3/hash_set.h
g++-3/hashtable.h
g++-3/heap.h
g++-3/iterator.h
g++-3/list.h
g++-3/map.h
g++-3/multimap.h
g++-3/multiset.h
g++-3/pair.h
g++-3/pthread_alloc.h
g++-3/rope.h
g++-3/ropeimpl.h
g++-3/set.h
g++-3/slist.h
g++-3/stack.h
g++-3/stl_algo.h
g++-3/stl_algobase.h
g++-3/stl_alloc.h
g++-3/stl_bvector.h
g++-3/stl_config.h
g++-3/stl_construct.h
g++-3/stl_deque.h
g++-3/stl_function.h
g++-3/stl_hash_fun.h
g++-3/stl_hash_map.h
g++-3/stl_hash_set.h
g++-3/stl_hashtable.h
g++-3/stl_heap.h
g++-3/stl_iterator.h
g++-3/stl_list.h
g++-3/stl_map.h
g++-3/stl_multimap.h
g++-3/stl_multiset.h
g++-3/stl_numeric.h
g++-3/stl_pair.h
g++-3/stl_queue.h
g++-3/stl_raw_storage_iter.h
g++-3/stl_relops.h
g++-3/stl_rope.h
g++-3/stl_set.h
g++-3/stl_slist.h
g++-3/stl_stack.h
g++-3/stl_tempbuf.h
g++-3/stl_tree.h
g++-3/stl_uninitialized.h
g++-3/stl_vector.h
g++-3/tempbuf.h
g++-3/tree.h
g++-3/type_traits.h
g++-3/vector.h
(the set of rpms apparently was not tested - a minimal test would be to
see if the installed system could rebuild the rpms from source).
--
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
------------------------------
Date: Sat, 27 Jan 2001 18:02:00 -0500
From: Dan <[EMAIL PROTECTED]>
Subject: StarOffice 5.2 and Samsung ML-4600 Printer
Hi all,
I just got the Samsung ML-4600 and let me first say that
I'm very impress
with it. It is an excellent printer for the money, of
course there are
many other printers out there that's better, but like
anything in life the
better the quality, the greater the price. However, the
ML-4600 is
consider, in my opinion, dollar-for-dollar the best buy.
Although the print quality is crisp and sharp, but I do
have one complain,
it seems that the printing are "thin" and "light" compare
to the traditional
true laser printer. But for the price that I paid $242
(all and all),
it's a steal.
Now that I set up the printer and it's printing, I just
need to know how
to set it up to StarOffice 5.2.
Under "printer setup," StarOffice gives you whole bunch of
drivers for
other printers, and there is a option to add other
drivers, I have try it
and failed.
On the CD there was only a script that sets up
"printtool," but I didn't
actually see anything that I can use for StarOffice's
"printer setup."
Please help!!
-Dan
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: parport setup
Date: Sat, 27 Jan 2001 22:58:40 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Thu, 25 Jan 2001 21:11:18 -0500, Wesley <[EMAIL PROTECTED]> wrote:
>Thanks for the feedback. Here's what I see in /var/log/messages that
>makes me think that part is ok:
>
>[date] [time] [host] kernel: parport0: PC-style at 0x378 [SPP]
>[date] [time] [host] kernel: lp0: using parport0 (polling).
>
>Am I right in thinking that shows /dev/lp0 correctly initialized?
Maybe not. Although the lexmarkx32 driver did not work with my 5700
(maybe due to old ghostscript version), the first thing the x32 driver
said when I tried using it was that interupts had to be enabled for the
parallel port. But this error was NOT on the remote xterm I was
attempting to print from, it came up in the root console on the computer
connected to the printer.
So in /etc/conf.modules I enabled the irq and commented out the line to
pre-install plip:
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7
#pre-install plip modprobe parport_pc ; echo 7 > /proc/parport/0/irq
But then my soundchip tried using irq 7, so I had to tell my soundchip not
to use that irq. Then boot messages showed:
Jan 26 12:34:47 localhost kernel: parport0: PC-style at 0x378 (0x778),
irq 7 [SPP,ECP,ECPPS2]
Jan 26 12:34:47 localhost kernel: lp0: using parport0 (interrupt-driven).
>Secondly, I did the two echoes you suggested, the hello world and the
>form feed, with no reaction from the printer whatsoever. No kind of
>message in /var/log/messages either.
Lexmark printers (other than postscript models) are brain dead and do not
understand text, so echoing a text string to them directly will never
work. They only understand special driver commands. Echoing directly to
a port does not go through a daemon, therefore would not show up in
/var/log/messages.
>In case this helps, here's what tunelp thinks of how things are:
>
># tunelp /dev/lp0
>/dev/lp0 using IRQ 7
>
># tunelp /dev/lp0 -s
>/dev/lp0 status is 216, on-line
Check 'cat /proc/interrupts' to see if irq 7 is being used by parport0 or
anything else. It is possible that tunelp is confused if your system is
preloading irq 7 for parport use with plip like mine was.
>Any warning bells? Suggestions of what else to check? Thanks for your
>help so far,
The x32 driver requires at least ghostscript 6.01 (current Aladdin version
is 6.5)? What version is yours?
The lexmarkx32 driver does have a nice Windows like GUI interface for
printer settings and aligning heads. Did your printer do anything when
you bring up the alignment window (which should print the alignment page)?
I hope it does work for you.
At least it has led me on a quest to find a driver for my 5700 if I can
figure out how to patch ghostscript 6.5 with 6.0 patches.
--
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/
------------------------------
** 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
******************************