--- Kenn Humborg <kenn at research.wombat.ie> wrote:
> On Wed, Nov 24, 1999 at 03:25:34PM -0800, trevor
> prendergast wrote:
> > Hi,
> >
> > I am having trouble after installing Red Hat 6.1.
> When
[snip]
> Hmmm... That's pretty odd. AFAIK, parallel port
> detection
> at boot time is via I/O address only. So it looks
> like your
> parallel port is either disabled (via BIOS or
> jumper) or is
> living at a strange address.
>> Type dmesg and let us see the output.
>> Also, take a look at the device settings in Windows'
> Device
> Manager on 9x (I can't remember where it is on NT)
> and see
> if you can find out what I/O address and IRQ windows
> is
> using for it.
>> Once we know that, we might be able to provide a
> magic
> incantation that tells the Linux kernel where to
> find it.
>> Later,
> Kenn
>
Kenn,
I checked Windoze and the IRQ is 7, port 0x378 (this
appears to be normal).
The devices files are as follows:
crw-rw---- 1 root daemon 6, 0 May 5 1998
/dev/lp0
crw-rw---- 1 root daemon 6, 1 May 5 1998
/dev/lp1
crw-rw---- 1 root daemon 6, 2 May 5 1998
/dev/lp2
Here is the output from dmesg (notice the last line -
I am only after noticing it myself)
Linux version 2.2.12-20 (root at porky.devel.redhat.com)
(gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
release)) #1 Mon Sep 27 10:40:35 EDT 1999
Detected 233289274 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 232.65 BogoMIPS
Memory: 62780k/65536k available (1008k kernel code,
412k reserved, 992k data, 64k init)
DENTRY hash table entries: 262144 (order: 9, 2097152
bytes)
Buffer-cache hash table entries: 65536 (order: 6,
262144 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536
bytes)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: Intel Pentium II (Klamath) stepping 04
Checking 386/387 coupling... OK, FPU using exception
16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch
(rgooch at atnf.csiro.au)
PCI: PCI BIOS revision 2.10 entry at 0xfd9cc
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O for device 00:3a
PCI: Enabling memory for device 00:68
PCI: Enabling memory for device 00:69
PCI: Enabling I/O for device 00:78
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society
NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 65536 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT
SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K
size
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfcf0-0xfcf7, BIOS settings:
hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings:
hdc:DMA, hdd:pio
hda: Maxtor 84320D4, ATA DISK drive
hdb: WDC AC21600H, ATA DISK drive
hdc: NEC CD-ROM DRIVE:28B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 84320D4, 4120MB w/256kB Cache,
CHS=525/255/63
hdb: WDC AC21600H, 1549MB w/128kB Cache, CHS=787/64/63
hdc: ATAPI 32X CD-ROM drive, 256kB Cache
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum
routines
pII_mmx : 518.541 MB/sec
p5_mmx : 544.449 MB/sec
8regs : 400.431 MB/sec
32regs : 224.790 MB/sec
using fastest function: p5_mmx (544.449 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
hda: hda1 < hda5 hda6 > hda3
hdb: hdb1
RAMDISK: Compressed image found at block 0
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem).
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 64k freed
Adding Swap: 72252k swap-space (priority -1)
es1370: version v0.24 time 10:41:52 Sep 27 1999
es1370: found adapter at io 0xfc40 irq 5
es1370: features: joystick off, line in, mic impedance
0
lp: driver loaded but no devices found
It does appear that Linux cannot see the port due to a
BIOS setting. I have tried every combination in the
BIOS - so now I am going to trash Red Hat 6.1, install
5.2, make sure it sees my paralell port and upgrade
(as opposed to install) to 6.1. This should do it.
Let the fun begin...
Trevor.
=====
Trevor Prendergast,
Enfield, Co. Meath, Ireland.
Remember - computers are not intelligent, they only think they are.
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!