login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
26
Re: [PATCH] Initialise scatter/gather list in ata_sg_setup
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Jens Axboe <jens.axboe@...>
To: Anton Blanchard <anton@...>
Cc: <linux-kernel@...>
Subject:
Re: [PATCH] Initialise scatter/gather list in ata_sg_setup
Date: Friday, October 26, 2007 - 7:58 am
On Thu, Oct 25 2007, Anton Blanchard wrote:
quoted text
> > (Sorry the subject was incorrect)... > > After turning on DEBUG_SG I hit a fail: > > kernel BUG at include/linux/scatterlist.h:50! > > ata_qc_issue > ata_scsi_translate > ipr_queuecommand > scsi_dispatch_cmd > scsi_request_fn > elv_insert > blk_execute_rq_nowait > blk_execute_rq > sg_io > scsi_cmd_ioctl > cdrom_ioctl > sr_block_ioctl > blkdev_driver_ioctl > blkdev_ioctl > block_ioctl > do_ioctl > vfs_ioctl > sys_ioctl > sg_ioctl_trans > > It looks like ata_sg_setup is working on an uninitialised sg table. Call > sg_init_table to initialise it before use. > > Signed-off-by: Anton Blanchard <anton@samba.org> > --- > > Jens this is against your sg branch. This fixes the fail but Id > appreciate a confirmation that it's the right fix :)
The patch looks OK, you could also get away with just doing that sg_init_table() on qc init/alloc. -- Jens Axboe -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] Initialise scatter/gather list in sg driver
, Anton Blanchard
, (Thu Oct 25, 3:29 pm)
[PATCH] Initialise scatter/gather list in ata_sg_setup
, Anton Blanchard
, (Thu Oct 25, 3:32 pm)
Re: [PATCH] Initialise scatter/gather list in ata_sg_setup
, Jens Axboe
, (Fri Oct 26, 7:58 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.21
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
Josef 'Jeff' Sipek
[PATCH 02/24] lookup_one_len_nd - lookup_one_len with nameidata argument
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [GIT]: Networking
David Miller
[PATCH]: Preliminary release of Sun Neptune driver
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
573 guests
online.
Online users
geocoinproject
Syndicate