[PARPORT] onscsi hangs the computer

From: Edward (esazonov@eds.hopto.org)
Date: Mon May 19 2003 - 20:58:12 EDT

  • Next message: Nate Jenkins: "Re: [PARPORT] Problems with par (/proc/ioports)"

    Hello:

    I have a problem with my parallel port scanner Scanport
    SQ300.
    May be somebody could help me to solve the mystery. I hope
    this is a right place to ask ;-)

    The computer has the stock Mandrake 9.1
    All scsi modules are loaded, parport is loaded.
    I manually load ppscsi and and onsci.
    Start xsane, scanner start scanning (at least it makes
    noise), and computer hangs (except for one time, when it
    actually scanned a page)
    Here is a dump of kernel messages (it is kinda long)

    kernel: ppSCSI 0.92 (0.92) installed
    kernel: onscsi.0: onscsi 0.91 (0.92), OnSpec 90c26 at 0x378
    mode 1 (PS/2) dly 1 nice 0 sg 16
    kernel: scsi1 : onscsi
    kernel: Vendor: Model: scanner 330CS Rev:
    1.34
    kernel: Type: Scanner ANSI
    SCSI revision: 02
    kernel: Attached scsi generic sg1 at scsi1, channel 0, id 2,
    lun 0, type 6

    Here I click "scan" button

    kernel: Unable to handle kernel NULL pointer dereference at
    virtual address 00000177
    kernel: printing eip:
    kernel: e48f4088
    kernel: *pde = 00000000
    kernel: Oops: 0002
    kernel: sg onscsi ppscsi nvidia lp parport_pc parport
    ipt_TOS ipt_MASQUERADE ipt_LOG ipt_REJECT ipt_state
    iptable_mangle ip_nat_irc ip_nat_ftp iptable_nat
    ip_conntrack_irc ip_conntrack_ftp ip_conntrack
    iptable_filter ip_tables snd-seq-midi snd-opl3-synth
    snd-seq-instr snd-seq-midi-emul snd-ainstr-fm snd-seq-oss
    snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss
    snd-cmipci snd-pcm snd-page-alloc snd-opl3-lib snd-timer
    snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device snd
    nfsd sr_mod floppy via-rhine mii ntfs nls_utf8 nls_cp437
    vfat fat supermount ide-cd cdrom tuner tvaudio bttv videodev
    i2c-algo-bit i2c-core soundcore ide-scsi scsi_mod af_packet
    usbvnet_rfmd usbvnetr ehci-hcd uhci usbcore rtc ext3 jbd
    kernel: CPU: 0
    kernel: EIP:
    0010:[sr_mod:__insmod_sr_mod_O/lib/modules/2.4.21-0.13mdk/kernel/drivers+-1773432/96]
       Tainted: P
    kernel: EIP: 0010:[<e48f4088>] Tainted: P
    kernel: EFLAGS: 00010206
    kernel: EIP is at ppsc_slow+0x28/0x60 [ppscsi]
    Kernel: eax: e488fe00 ebx: e488fe00 ecx: 145eac2c edx:
    00000102
    kernel: esi: e488fe00 edi: e48f40c0 ebp: c159df60 esp:
    c159df54
    kernel: ds: 0018 es: 0018 ss: 0018
    kernel: Process keventd (pid: 2, stackpage=c159d000)
    kernel: Stack: e488fe00 e488fe00 00000286 c159df78 e48f33b9
    e488fe00 c159df84 c159df84
    kernel: c159c558 c159df94 c01211c8 e488fe00 e488fed8
    e488fed8 00000000 00000000
    kernel: c159dfec c0129283 c033a610 c159c550 c159c560
    c159c000 c159c000 00000001
    kernel: Call Trace:
    kernel:
    [sr_mod:__insmod_sr_mod_O/lib/modules/2.4.21-0.13mdk/kernel/drivers+-2183680/96]
    host_structs+0x0/0x5e0 [onscsi]
    kernel: [<e488fe00>] host_structs+0x0/0x5e0 [onscsi]
    kernel:
    [sr_mod:__insmod_sr_mod_O/lib/modules/2.4.21-0.13mdk/kernel/drivers+-2183680/96]
    host_structs+0x0/0x5e0 [onscsi]
    kernel: [<e488fe00>] host_structs+0x0/0x5e0 [onscsi]
    kernel:
    [sr_mod:__insmod_sr_mod_O/lib/modules/2.4.21-0.13mdk/kernel/drivers+-1776711/96]
    ppsc_tq_int+0x69/0xa0 [ppscsi]
    kernel: [<e48f33b9>] ppsc_tq_int+0x69/0xa0 [ppscsi]
    kernel:
    [sr_mod:__insmod_sr_mod_O/lib/modules/2.4.21-0.13mdk/kernel/drivers+-2183680/96]
    host_structs+0x0/0x5e0 [onscsi]
    kernel: [<e488fe00>] host_structs+0x0/0x5e0 [onscsi]
    kernel: [__run_task_queue+72/96] __run_task_queue+0x48/0x60
    [kernel]
    kernel: [<c01211c8>] __run_task_queue+0x48/0x60 [kernel]
    kernel:
    [sr_mod:__insmod_sr_mod_O/lib/modules/2.4.21-0.13mdk/kernel/drivers+-2183680/96]
    host_structs+0x0/0x5e0 [onscsi]
    kernel: [<e488fe00>] host_structs+0x0/0x5e0 [onscsi]
    kernel:
    [sr_mod:__insmod_sr_mod_O/lib/modules/2.4.21-0.13mdk/kernel/drivers+-2183464/96]
    host_structs+0xd8/0x5e0 [onscsi]
    kernel: [<e488fed8>] host_structs+0xd8/0x5e0 [onscsi]
    kernel:
    [sr_mod:__insmod_sr_mod_O/lib/modules/2.4.21-0.13mdk/kernel/drivers+-2183464/96]
    host_structs+0xd8/0x5e0 [onscsi]
    kernel: [<e488fed8>] host_structs+0xd8/0x5e0 [onscsi]
    kernel: [context_thread+307/448] context_thread+0x133/0x1c0
    [kernel]
    kernel: [<c0129283>] context_thread+0x133/0x1c0 [kernel]
    kernel: [context_thread+0/448] context_thread+0x0/0x1c0
    [kernel]
    kernel: [<c0129150>] context_thread+0x0/0x1c0 [kernel]
    kernel: [rest_init+0/48] stext+0x0/0x30 [kernel]
    kernel: [<c0105000>] stext+0x0/0x30 [kernel]
    kernel: [arch_kernel_thread+38/64]
    arch_kernel_thread+0x26/0x40 [kernel]
    kernel: [<c0107526>] arch_kernel_thread+0x26/0x40 [kernel]
    kernel: [context_thread+0/448] context_thread+0x0/0x1c0
    [kernel]
    kernel: [<c0129150>] context_thread+0x0/0x1c0 [kernel]
    kernel:
    kernel: Code: c0 5a 75 25 89 d8 43 83 f8 1d 7e ec 6a 00 8b
    46 60 8b 40 58
    kernel: onscsi.0: Command abort not supported
    kernel: onscsi.0: Driver won't give up for reset
    kernel: onscsi.0: Driver won't give up for reset
    kernel: scsi: device set offline - command error recover
    failed: host 1 channel 0 id 2 lun 0
    kernel: onscsi.0: Driver is busy
    kernel: onscsi.0: Command abort not supported
    kernel: onscsi.0: Driver won't give up for reset
    kernel: onscsi.0: Driver won't give up for reset
    kernel: onscsi.0: Driver is busy
    kernel: onscsi.0: Command abort not supported
    kernel: onscsi.0: Driver won't give up for reset

    I tried both standard and EPP port configurations.
    What could be wrong here?
    Thank you,
    Edward

    Edward Sazonov, Ph.D.
    Assistant
    Professor
    Clarkson University
    PO Box 5720
    Potsdam, NY 13699

    Phone: 315-268-3914
     
      Fax: 315-268-7600
    esazonov@clarkson.edu

    -- 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 : Mon May 19 2003 - 21:06:09 EDT