Re: [PARPORT] at boot... printer goes crazy


Patrick Bauer (bauerp@niagara.com)
Thu, 16 Jul 1998 11:08:13 -0400 (EDT)


Okay... this is gonna be kinda long...

Note... that only a printer is connected to the parallel port... while
probing is performed for Paride devices... no Paride device is attached
to the parallel port... or to the printer...

There are four cases... in all these cases... parport_init,
parport_pc, parport_ieee1284, parport_procfs and parport_share... are
all compiled into the kernel...

1) lp compiled into the kernel
   paride, pd, epat --- not compiled in kernel or as a module

   In this case... the printer works normally

2) lp compiled into the kernel
   paride, pd, epat --- compiled as modules

   In this case... the printer also works normally... note... that nothing
   has been added to conf.modules... in connection with pd and epat... so
   i don't think the paride and/or pd and/or epat modules attempt to load
   in this case...

3) lp compiled into the kernel
   paride, pd, epat --- also compiled into the kernel

   In this case... the printer prints garbage on boot

4) lp compiled as module
   paride, pd, epat --- compiled into the kernel

   In this case... the printer prints garbage on boot

Hope this answers all of your questions... for now...

Here is the dmesg output... for all four cases above...

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

1) lp compiled into the kernel
   paride, pd, epat --- not compiled in kernel or as a module

Linux version 2.1.108 (Linux version 2.1.108 (root@peachy) (gcc version 2.7.2.3) #1 Thu Jul 16
08:20:35
 EDT 1998

         .u$e.
       .$$$$$:S
       $"*$/"*$$
       $.`$ . ^F
       4k+#+T.$F
       4P+++"$"$
       :R"+ t$$B
    ___# $$$
    | | R$$k
   dd. | Linux $!$
   ddd | ia32 $9$F
 '!!!!!$ !!#!`
  !!!!!* .!!!!!`
'!!!!!!!W..e$$!!!!!!`
 "~^^~ ^~~^

Console: colour VGA+ 80x25
Calibrating delay loop... 53.25 BogoMIPS
Memory: 63060k/65536k available (952k kernel code, 392k reserved, 1084k
data, 48
k init)
CPU: Intel Pentium 75+ stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfdba1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O for device 00:3a
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,PS2,EPP]
Serial driver version 4.26 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
lp0: using parport0 (polling).
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU M1638TAU, ATA DISK drive
hdc: ST32122A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: FUJITSU M1638TAU, 2452MB w/128kB Cache, CHS=622/128/63, DMA
hdc: ST32122A, 2014MB w/0kB Cache, CHS=4092/16/63, UDMA
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
PPP: version 2.3.3 (demand dialling)
TCP compression code copyright 1989 Regents of the University of
California
PPP line discipline registered.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
wd.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
eth0: WD80x3 at 0x280, 00 00 C0 9F A0 5E WD8013, IRQ 10, shared memory at
0xcc00
0-0xcffff.
Partition check:
 hda: hda1 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 > hda2 hda3
 hdc:hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
 [PTBL] [1023/64/63] hdc1
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 48k freed
Adding Swap: 68508k swap-space (priority -1)
VFS: Disk change detected on device 02:00
end_request: I/O error, dev 02:00 (floppy), sector 0
SIFMTU sl0(ifconfig)
registered device ppp0
PPP BSD Compression module registered
PPP Deflate Compression module registered

2) lp compiled into the kernel
   paride, pd, epat --- compiled as modules

Linux version 2.1.108 (Linux version 2.1.108 (root@peachy) (gcc version 2.7.2.3) #1 Thu Jul 16
09:00:12
 EDT 1998

         .u$e.
       .$$$$$:S
       $"*$/"*$$
       $.`$ . ^F
       4k+#+T.$F
       4P+++"$"$
       :R"+ t$$B
    ___# $$$
    | | R$$k
   dd. | Linux $!$
   ddd | ia32 $9$F
 '!!!!!$ !!#!`
  !!!!!* .!!!!!`
'!!!!!!!W..e$$!!!!!!`
 "~^^~ ^~~^

Console: colour VGA+ 80x25
Calibrating delay loop... 53.25 BogoMIPS
Memory: 63060k/65536k available (952k kernel code, 392k reserved, 1084k
data, 48
k init)
CPU: Intel Pentium 75+ stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfdba1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O for device 00:3a
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,PS2,EPP]
Serial driver version 4.26 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
lp0: using parport0 (polling).
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU M1638TAU, ATA DISK drive
hdc: ST32122A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: FUJITSU M1638TAU, 2452MB w/128kB Cache, CHS=622/128/63, DMA
hdc: ST32122A, 2014MB w/0kB Cache, CHS=4092/16/63, UDMA
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
PPP: version 2.3.3 (demand dialling)
TCP compression code copyright 1989 Regents of the University of
California
PPP line discipline registered.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
wd.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
eth0: WD80x3 at 0x280, 00 00 C0 9F A0 5E WD8013, IRQ 10, shared memory at
0xcc00
0-0xcffff.
Partition check:
 hda: hda1 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 > hda2 hda3
 hdc:hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
 [PTBL] [1023/64/63] hdc1
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 48k freed
Adding Swap: 68508k swap-space (priority -1)
VFS: Disk change detected on device 02:00
end_request: I/O error, dev 02:00 (floppy), sector 0
SIFMTU sl0(ifconfig)
registered device ppp0
PPP BSD Compression module registered
PPP Deflate Compression module registered

3) lp compiled into the kernel
   paride, pd, epat --- also compiled into the kernel

Linux version 2.1.108 (Linux version 2.1.108 (root@peachy) (gcc version 2.7.2.3) #1 Thu Jul 16
09:35:59
 EDT 1998

         .u$e.
       .$$$$$:S
       $"*$/"*$$
       $.`$ . ^F
       4k+#+T.$F
       4P+++"$"$
       :R"+ t$$B
    ___# $$$
    | | R$$k
   dd. | Linux $!$
   ddd | ia32 $9$F
 '!!!!!$ !!#!`
  !!!!!* .!!!!!`
'!!!!!!!W..e$$!!!!!!`
 "~^^~ ^~~^

Console: colour VGA+ 80x25
Calibrating delay loop... 261.32 BogoMIPS
Memory: 63044k/65536k available (968k kernel code, 392k reserved, 1084k
data, 48
k init)
CPU: Intel Pentium 75+ stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfdba1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O for device 00:3a
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,PS2,EPP]
Serial driver version 4.26 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
lp0: using parport0 (polling).
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU M1638TAU, ATA DISK drive
hdc: ST32122A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: FUJITSU M1638TAU, 2452MB w/128kB Cache, CHS=622/128/63, DMA
hdc: ST32122A, 2014MB w/0kB Cache, CHS=4092/16/63, UDMA
paride: epat registered as protocol 0
pd: pd version 1.03, major 45, cluster 64, nice 0
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
PPP: version 2.3.3 (demand dialling)
TCP compression code copyright 1989 Regents of the University of
California
PPP line discipline registered.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
wd.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
eth0: WD80x3 at 0x280, 00 00 C0 9F A0 5E WD8013, IRQ 10, shared memory at
0xcc00
0-0xcffff.
pda: Autoprobe failed
pd: no valid drive found
Partition check:
 hda: hda1 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 > hda2 hda3
 hdc:hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
 [PTBL] [1023/64/63] hdc1
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 48k freed
Adding Swap: 68508k swap-space (priority -1)
VFS: Disk change detected on device 02:00
end_request: I/O error, dev 02:00 (floppy), sector 0
SIFMTU sl0(ifconfig)
registered device ppp0
PPP BSD Compression module registered
PPP Deflate Compression module registered

4) lp compiled as module
   paride, pd, epat --- compiled into the kernel

Linux version 2.1.108 (Linux version 2.1.108 (root@peachy) (gcc version 2.7.2.3) #1 Thu Jul 16
10:09:22
 EDT 1998

         .u$e.
       .$$$$$:S
       $"*$/"*$$
       $.`$ . ^F
       4k+#+T.$F
       4P+++"$"$
       :R"+ t$$B
    ___# $$$
    | | R$$k
   dd. | Linux $!$
   ddd | ia32 $9$F
 '!!!!!$ !!#!`
  !!!!!* .!!!!!`
'!!!!!!!W..e$$!!!!!!`
 "~^^~ ^~~^

Console: colour VGA+ 80x25
Calibrating delay loop... 53.25 BogoMIPS
Memory: 63048k/65536k available (968k kernel code, 392k reserved, 1080k
data, 48
k init)
CPU: Intel Pentium 75+ stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfdba1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O for device 00:3a
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,PS2,EPP]
Serial driver version 4.26 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU M1638TAU, ATA DISK drive
hdc: ST32122A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: FUJITSU M1638TAU, 2452MB w/128kB Cache, CHS=622/128/63, DMA
hdc: ST32122A, 2014MB w/0kB Cache, CHS=4092/16/63, UDMA
paride: epat registered as protocol 0
pd: pd version 1.03, major 45, cluster 64, nice 0
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
PPP: version 2.3.3 (demand dialling)
TCP compression code copyright 1989 Regents of the University of
California
PPP line discipline registered.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
wd.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
eth0: WD80x3 at 0x280, 00 00 C0 9F A0 5E WD8013, IRQ 10, shared memory at
0xcc00
0-0xcffff.
pda: Autoprobe failed
pd: no valid drive found
Partition check:
 hda: hda1 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 > hda2 hda3
 hdc:hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
 [PTBL] [1023/64/63] hdc1
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 48k freed
Adding Swap: 68508k swap-space (priority -1)
VFS: Disk change detected on device 02:00
end_request: I/O error, dev 02:00 (floppy), sector 0
SIFMTU sl0(ifconfig)
registered device ppp0
PPP BSD Compression module registered
PPP Deflate Compression module registered
lp0: using parport0 (polling).

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

So... as u can see... the printer printing garbage on boot... seems to
depend on whether paride, pd and epat... are compiled into the kernel..

Pat.

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:59 EST