linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.67: ppa driver & preempt == oops
@ 2003-04-12 15:03 Gert Vervoort
  2003-04-12 18:28 ` Robert Love
  2003-04-12 21:12 ` Andrew Morton
  0 siblings, 2 replies; 29+ messages in thread
From: Gert Vervoort @ 2003-04-12 15:03 UTC (permalink / raw)
  To: linux-kernel

ppa: Version 2.07 (for Linux 2.4.x)
ppa: Found device at ID 6, Attempting to use EPP 16 bit
ppa: Communication established with ID 6 using EPP 16 bit
scsi0 : Iomega VPI0 (ppa) interface
bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023cf5c>] scsi_probe_lun+0x6c/0x200
 [<c023d38b>] scsi_probe_and_add_lun+0x7b/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023cf5c>] scsi_probe_lun+0x6c/0x200
 [<c023d38b>] scsi_probe_and_add_lun+0x7b/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023cf5c>] scsi_probe_lun+0x6c/0x200
 [<c023d38b>] scsi_probe_and_add_lun+0x7b/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023cf5c>] scsi_probe_lun+0x6c/0x200
 [<c023d38b>] scsi_probe_and_add_lun+0x7b/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023cf5c>] scsi_probe_lun+0x6c/0x200
 [<c023d38b>] scsi_probe_and_add_lun+0x7b/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023cf5c>] scsi_probe_lun+0x6c/0x200
 [<c023d38b>] scsi_probe_and_add_lun+0x7b/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023cf5c>] scsi_probe_lun+0x6c/0x200
 [<c023d38b>] scsi_probe_and_add_lun+0x7b/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023d074>] scsi_probe_lun+0x184/0x200
 [<c023d38b>] scsi_probe_and_add_lun+0x7b/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

  Vendor: IOMEGA    Model: ZIP 100           Rev: D.13
  Type:   Direct-Access                      ANSI SCSI revision: 02
bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023c7ef>] scsi_get_evpd_page+0x7f/0x120
 [<c023ce2e>] scsi_load_identifier+0x2e/0xf0
 [<c023d248>] scsi_add_lun+0x158/0x220
 [<c023d3b9>] scsi_probe_and_add_lun+0xa9/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0128db4>] queue_work+0x84/0xa0
 [<c02402f5>] ppa_queuecommand+0x95/0xa0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023c002>] scsi_request_fn+0x172/0x230
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023cc43>] scsi_get_serialnumber+0x93/0x1b0
 [<c023c852>] scsi_get_evpd_page+0xe2/0x120
 [<c023ceeb>] scsi_load_identifier+0xeb/0xf0
 [<c023d248>] scsi_add_lun+0x158/0x220
 [<c023d3b9>] scsi_probe_and_add_lun+0xa9/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

bad: scheduling while atomic!
Call Trace:
 [<c0117064>] schedule+0x3a4/0x3b0
 [<c0117349>] wait_for_completion+0x99/0xe0
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c01170c0>] default_wake_function+0x0/0x20
 [<c023b15e>] scsi_wait_req+0x7e/0xb0
 [<c023b050>] scsi_wait_done+0x0/0x90
 [<c023cf5c>] scsi_probe_lun+0x6c/0x200
 [<c023d38b>] scsi_probe_and_add_lun+0x7b/0x130
 [<c023d64c>] scsi_scan_target+0x5c/0x100
 [<c023d741>] scsi_scan_host+0x51/0x90
 [<c023798d>] scsi_add_host+0x4d/0x90
 [<c0237dac>] scsi_register_host+0x6c/0xc0
 [<c01295df>] init_workqueues+0xf/0x30
 [<c01050a3>] init+0x33/0x190
 [<c0105070>] init+0x0/0x190
 [<c01071dd>] kernel_thread_helper+0x5/0x18

error in initcall at 0xc0391ad0: returned with preemption imbalance
Attached scsi removable disk sda at scsi0, channel 0, id 6, lun 0



^ permalink raw reply	[flat|nested] 29+ messages in thread
[parent not found: <fa.chdor2j.u72387@ifi.uio.no>]
[parent not found: <fa.hdvi4hc.152sj34@ifi.uio.no>]
[parent not found: <fa.fo1ils5.o4kt21@ifi.uio.no>]
* Re: [PATCH] Re: 2.5.67: ppa driver & preempt == oops
@ 2003-04-16  9:45 Chuck Ebbert
  0 siblings, 0 replies; 29+ messages in thread
From: Chuck Ebbert @ 2003-04-16  9:45 UTC (permalink / raw)
  To: Patrick Mansfield; +Cc: linux-kernel


> It opens sd twice (AFAIK) - I think mount scans the block devices (an open
> of sd) and then mounts (internal open). The code path in question is
> probably via sd.c functions sd_media_changed and sd_revalidate_disk, and
> the block_dev.c check_disk_change. sd_open calls check_disk_change.
>
> This could be the same problem others are seeing with removable media
> accessed via USB mass storage.


  I was seeing problems with ide-floppy on 2.5.66.  It kept
trying to re-register the disk, AFAICT... and there were different
errors depending on whether I booted with a disk in the drive.  (The
drive was removed, so I can't test anything now.)


--
 Chuck

^ permalink raw reply	[flat|nested] 29+ messages in thread
[parent not found: <fa.cde0mrb.127uv05@ifi.uio.no>]

end of thread, other threads:[~2003-04-17 19:36 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-12 15:03 2.5.67: ppa driver & preempt == oops Gert Vervoort
2003-04-12 18:28 ` Robert Love
2003-04-13 10:30   ` Gert Vervoort
2003-04-13 17:32     ` Robert Love
2003-04-13 17:44       ` Gert Vervoort
2003-04-15 19:00         ` [PATCH] " Patrick Mansfield
2003-04-15 20:44           ` Gert Vervoort
2003-04-15 21:40             ` Patrick Mansfield
2003-04-16 17:52               ` Gert Vervoort
2003-04-16 18:05                 ` Patrick Mansfield
2003-04-16 19:45                   ` Gert Vervoort
2003-04-16 20:07                     ` Mike Anderson
2003-04-16 18:03               ` Gert Vervoort
2003-04-15 21:37           ` Robert Love
2003-04-15 21:51             ` Randy.Dunlap
2003-04-15 22:07               ` Patrick Mansfield
2003-04-15 22:29                 ` Randy.Dunlap
2003-04-15 22:35                   ` Patrick Mansfield
2003-04-12 21:12 ` Andrew Morton
2003-04-13 11:45   ` Gert Vervoort
2003-04-13 20:44     ` Andrew Morton
     [not found] <fa.chdor2j.u72387@ifi.uio.no>
     [not found] ` <fa.gs8uudl.196640l@ifi.uio.no>
2003-04-15 23:04   ` [PATCH] " walt
2003-04-15 23:25     ` Patrick Mansfield
2003-04-16  3:30       ` walt
     [not found] <fa.hdvi4hc.152sj34@ifi.uio.no>
     [not found] ` <fa.fnhqqrs.ok0028@ifi.uio.no>
2003-04-15 23:51   ` walt
2003-04-16  0:07     ` Randy.Dunlap
     [not found] <fa.fo1ils5.o4kt21@ifi.uio.no>
     [not found] ` <fa.jt2b7k8.20qj0c@ifi.uio.no>
2003-04-16  3:19   ` walt
2003-04-16  9:45 Chuck Ebbert
     [not found] <fa.cde0mrb.127uv05@ifi.uio.no>
     [not found] ` <fa.i9on98t.1gg0toj@ifi.uio.no>
2003-04-17 19:37   ` walt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).