Re: aha1542 oops caused by new request_irq routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James,
  I didn't mention that I've been fiddling with the aha1542 driver on
my own. I also get an oops message when kmalloc is called with
GFP_KERNEL, so I changed it to GFP_ATOMIC and the oops went away.

May 31 09:22:54 K6 kernel: BUG: sleeping function called from invalid
context at mm/slub.c:1598
May 31 09:22:54 K6 kernel: in_atomic(): 0, irqs_disabled(): 1, pid:
4787, name: scsi_scan_5
May 31 09:22:54 K6 kernel: Pid: 4787, comm: scsi_scan_5 Not tainted
2.6.30.10-105.2.23.RODATA.fc11.i586 #1
May 31 09:22:54 K6 kernel: Call Trace:
May 31 09:22:54 K6 kernel: [<c0422ab7>] __might_sleep+0xc4/0xc9
May 31 09:22:54 K6 kernel: [<c04a4aef>] __kmalloc+0x7e/0x121
May 31 09:22:54 K6 kernel: [<d08649fd>]
aha1542_queuecommand+0x1ba/0x3d9 [aha1542]
May 31 09:22:54 K6 kernel: [<c0437042>] ? internal_add_timer+0x93/0x97
May 31 09:22:54 K6 kernel: [<c0600eb8>] ? scsi_done+0x0/0x12
May 31 09:22:54 K6 kernel: [<c060110e>] scsi_dispatch_cmd+0x173/0x1e2
May 31 09:22:54 K6 kernel: [<c0605e67>] scsi_request_fn+0x327/0x459
May 31 09:22:54 K6 kernel: [<c055c588>] __generic_unplug_device+0x2b/0x2e
May 31 09:22:54 K6 kernel: [<c055ebc7>] blk_execute_rq_nowait+0x66/0x89
May 31 09:22:54 K6 kernel: [<c055ec5b>] blk_execute_rq+0x71/0x92
May 31 09:22:54 K6 kernel: [<c055eb34>] ? blk_end_sync_rq+0x0/0x2d
May 31 09:22:54 K6 kernel: [<c0606e04>] scsi_execute+0xcd/0x123
May 31 09:22:54 K6 kernel: [<c0606ecf>] scsi_execute_req+0x75/0xa2
May 31 09:22:54 K6 kernel: [<c0607ca0>] scsi_probe_and_add_lun+0x1fb/0x947
May 31 09:22:54 K6 kernel: [<c056fc06>] ? kvasprintf+0x3a/0x45
May 31 09:22:54 K6 kernel: [<c05f5322>] ? get_device+0x18/0x1d
May 31 09:22:54 K6 kernel: [<c0607798>] ? scsi_alloc_target+0x1bf/0x1ef
May 31 09:22:54 K6 kernel: [<c06085ba>] __scsi_scan_target+0x76/0x4d2
May 31 09:22:54 K6 kernel: [<c0421821>] ? wakeup_preempt_entity+0x119/0x13d
May 31 09:22:54 K6 kernel: [<c0423537>] ? __dequeue_entity+0x28/0x2c
May 31 09:22:54 K6 kernel: [<c04235db>] ? set_next_entity+0xa0/0x10c
May 31 09:22:54 K6 kernel: [<c0402286>] ? __switch_to+0x78/0xfbe
May 31 09:22:54 K6 kernel: [<c0424063>] ? pick_next_task_fair+0x87/0x8e
May 31 09:22:54 K6 kernel: [<c0608a5b>] scsi_scan_channel+0x45/0x6b
May 31 09:22:54 K6 kernel: [<c0608b44>] scsi_scan_host_selected+0xc3/0xfe
May 31 09:22:54 K6 kernel: [<c0608bd8>] do_scsi_scan_host+0x59/0x62
May 31 09:22:54 K6 kernel: [<c0608be1>] ? do_scan_async+0x0/0x100
May 31 09:22:54 K6 kernel: [<c0608bf9>] do_scan_async+0x18/0x100
May 31 09:22:54 K6 kernel: [<c0608be1>] ? do_scan_async+0x0/0x100
May 31 09:22:54 K6 kernel: [<c0440165>] kthread+0x4b/0x6f
May 31 09:22:54 K6 kernel: [<c044011a>] ? kthread+0x0/0x6f
May 31 09:22:54 K6 kernel: [<c0403f87>] kernel_thread_helper+0x7/0x10

- Matthew
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux