[PARPORT] HP 710C printer daisy chained via parallel Zip 100 drive produces kernel Oops

From: W. Robert Kellock (sales@creditscore.co.nz)
Date: Tue Apr 09 2002 - 21:40:23 EDT

  • Next message: Jerry Mulchin: "Re: [PARPORT] SIIG Dual Parallel Port card under RH 6.2"

    OS: Redhat 7.1
    Kernel: 2.4.2-2
    Bios EPP: 1.9 (same result with EPP 1.7)

    /etc/modules.conf setting:
            alias parport_lowlevel parport_pc
            alias scsi_hostadaptor ppa

    /etc/rc.local setting:
            /sbin/modprobe ppa

    produces:
            Apr 10 12:49:36 localhost kernel: SCSI subsystem driver Revision:
    1.00
            Apr 10 12:49:36 localhost kernel: ppa: Version 2.07 (for Linux
    2.4.x)
            Apr 10 12:49:36 localhost kernel: ppa: Found device at ID 6,
    Attempting to use EPP 32 bit
            Apr 10 12:49:36 localhost kernel: ppa: Communication established
    with ID 6 using EPP 32 bit
            Apr 10 12:49:36 localhost kernel: scsi0 : Iomega VPI0 (ppa)
    interface
            Apr 10 12:49:36 localhost kernel: Vendor: IOMEGA Model: ZIP 100
    Rev: D.13
            Apr 10 12:49:36 localhost kernel: Type: Direct-Access
    ANSI SCSI revision: 02

    lsmod produces:
            Module Size Used by
            soundcore 4464 0 (autoclean)
            ppa 10016 0 (unused)
            scsi_mod 95104 1 [ppa]
            parport_pc 17968 2 (autoclean)
            lp 5168 0 (autoclean)
            parport 25952 2 (autoclean) [ppa parport_pc lp]
            autofs 11264 1 (autoclean)
            8139too 16480 1 (autoclean)
            nls_iso8859-1 2880 2 (autoclean)
            nls_cp437 4384 2 (autoclean)
            vfat 9392 2 (autoclean)
            fat 32672 0 (autoclean) [vfat]
            mousedev 4160 1
            hid 11776 0 (unused)
            input 3488 0 [mousedev hid]
            usb-uhci 20720 0 (unused)
            usbcore 49664 1 [hid usb-uhci]

    That is how things look immediately after Linux boots.

    As soon as I begin to use the Zip drive I get a new module loaded called
    sd_mod. At this stage everything works fine as expected.

    Module Size Used by
    sd_mod 11728 0 (autoclean)
    soundcore 4464 0 (autoclean)
    ppa 10016 0
    scsi_mod 95104 2 [sd_mod ppa]
    parport_pc 17968 2 (autoclean)
    lp 5168 0 (autoclean)
    parport 25952 2 (autoclean) [ppa parport_pc lp]
    autofs 11264 1 (autoclean)
    8139too 16480 1 (autoclean)
    nls_iso8859-1 2880 2 (autoclean)
    nls_cp437 4384 2 (autoclean)
    vfat 9392 2 (autoclean)
    fat 32672 0 (autoclean) [vfat]
    mousedev 4160 1
    hid 11776 0 (unused)
    input 3488 0 [mousedev hid]
    usb-uhci 20720 0 (unused)
    usbcore 49664 1 [hid usb-uhci]

    Shortly thereafter sd_mod, soundcore, lp and anything else not being used is
    unloaded by /etc/cron.d/kmod. At any time I can print and the lp module
    gets loaded correctly but...

    when I attempt to reuse the Zip drive sd_mod gets stuck initializing and
    /var/log/messages reveals a kernel Oops. Can anyone help me please?

    Module Size Used by
    sd_mod 11728 1 (initializing)
    ppa 10016 0
    scsi_mod 95104 1 [sd_mod ppa]
    parport_pc 17968 1 (autoclean)
    parport 25952 1 (autoclean) [ppa parport_pc]
    autofs 11264 1 (autoclean)
    8139too 16480 1 (autoclean)
    nls_iso8859-1 2880 2 (autoclean)
    nls_cp437 4384 2 (autoclean)
    vfat 9392 2 (autoclean)
    fat 32672 0 (autoclean) [vfat]
    mousedev 4160 1
    hid 11776 0 (unused)
    input 3488 0 [mousedev hid]
    usb-uhci 20720 0 (unused)
    usbcore 49664 1 [hid usb-uhci]

    Apr 10 12:58:35 localhost kernel: Attached scsi removable disk sda at scsi0,
    channel 0, id 6, lun 0
    Apr 10 12:58:37 localhost kernel: SCSI device sda: 196608 512-byte hdwr
    sectors (101 MB)
    Apr 10 12:58:37 localhost kernel: sda: Write Protect is off
    Apr 10 12:58:37 localhost kernel: sda: sda4
    Apr 10 13:03:29 localhost kernel: Attached scsi removable disk sda at scsi0,
    channel 0, id 6, lun 0
    Apr 10 13:03:29 localhost kernel: SCSI device sda: 196608 512-byte hdwr
    sectors (101 MB)
    Apr 10 13:03:29 localhost kernel: sda: Write Protect is off
    Apr 10 13:03:29 localhost kernel: sda:<1>Unable to handle kernel paging
    request at virtual address 000f038e
    Apr 10 13:03:29 localhost kernel: printing eip:
    Apr 10 13:03:29 localhost kernel: c0162cd7
    Apr 10 13:03:29 localhost kernel: pgd entry c9ca2000: 0000000000000000
    Apr 10 13:03:29 localhost kernel: pmd entry c9ca2000: 0000000000000000
    Apr 10 13:03:29 localhost kernel: ... pmd not present!
    Apr 10 13:03:29 localhost kernel: Oops: 0002
    Apr 10 13:03:29 localhost kernel: CPU: 0
    Apr 10 13:03:29 localhost kernel: EIP: 0010:[account_io_start+39/80]
    Apr 10 13:03:29 localhost kernel: EIP: 0010:[<c0162cd7>]
    Apr 10 13:03:29 localhost kernel: EFLAGS: 00013046
    Apr 10 13:03:29 localhost kernel: eax: 00000000 ebx: 000f0362 ecx:
    00000002 edx: 00000000
    Apr 10 13:03:29 localhost kernel: esi: 00000002 edi: 00000000 ebp:
    00000002 esp: c2033c98
    Apr 10 13:03:29 localhost kernel: ds: 0018 es: 0018 ss: 0018
    Apr 10 13:03:29 localhost kernel: Process modprobe (pid: 1197,
    stackpage=c2033000)
    Apr 10 13:03:29 localhost kernel: Stack: c137b4a0 c2033cd8 c6a734a0 00000002
    c6a734a0 c0162d85 000f0362 c6a734a0
    Apr 10 13:03:29 localhost kernel: 00000000 00000002 000f0362 00000000
    cb0fbc80 00000000 00000800 c01634a7
    Apr 10 13:03:29 localhost kernel: c6a734a0 00000000 00000002 00001dc0
    00000034 00002000 cb0fa448 cb0fa440
    Apr 10 13:03:29 localhost kernel: Call Trace: [req_new_io+53/96]
    [__make_request+1287/1776] [<cc86fb3b>] [generic_make_request+346/368]
    [<cc871420>] [submit_bh+225/256] [__insert_into_queues+112/128]
    Apr 10 13:03:29 localhost kernel: Call Trace: [<c0162d85>] [<c01634a7>]
    [<cc86fb3b>] [<c01637ea>] [<cc871420>] [<c01638e1>] [<c0134ce0>]
    Apr 10 13:03:29 localhost kernel: [ll_rw_block+359/448]
    [bread+49/112] [msdos_partition+117/896] [printk+366/384]
    [check_partition+138/208] [printk+366/384] [<cc87ba4f>]
    [grok_partitions+102/176]
    Apr 10 13:03:29 localhost kernel: [<c0163ab7>] [<c01357b1>]
    [<c0153825>] [<c011610e>] [<c01533ca>] [<c011610e>] [<cc87ba4f>]
    [<c01534c6>]
    Apr 10 13:03:29 localhost kernel: [register_disk+43/64] [<cc87ac3a>]
    [<cc87bc28>] [<cc87bbe0>] [<cc91b3f6>] [<cc879000>] [<cc87b1c6>]
    [<cc87bbe0>]
    Apr 10 13:03:29 localhost kernel: [<c015344b>] [<cc87ac3a>]
    [<cc87bc28>] [<cc87bbe0>] [<cc91b3f6>] [<cc879000>] [<cc87b1c6>]
    [<cc87bbe0>]
    Apr 10 13:03:29 localhost kernel: [<cc87bbe0>]
    [sys_init_module+1317/1504] [<cc87bd80>] [<cc86f000>] [<cc879060>]
    [system_call+51/56]
    Apr 10 13:03:29 localhost kernel: [<cc87bbe0>] [<c0116e05>]
    [<cc87bd80>] [<cc86f000>] [<cc879060>] [<c010901b>]
    Apr 10 13:03:29 localhost kernel:
    Apr 10 13:03:29 localhost kernel: Code: 01 4b 2c eb 0e 8d 74 26 00 85 d2 74
    03 ff 43 34 01 4b 3c 85
    ----------------------------------------------------------------------------
    ---------------------------------
    W.Robert Kellock Ph:
    +64 3 326 6115
    Sales Manager Fax:
    +64 3 326 6115
    Credit Systems Control Ltd Web:
    www.creditscore.co.nz
                                                  "making decisions easy"
    ----------------------------------------------------------------------------
    ---------------------------------

    -- 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 2b29 : Tue Apr 09 2002 - 21:49:07 EDT