login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2009
»
April
»
16
Re: BUG: using rootfstype=ext4 causes oops
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Price
Subject:
Re: BUG: using rootfstype=ext4 causes oops
Date: Thursday, April 16, 2009 - 10:05 am
On Thu, Apr 16, 2009 at 06:02:21PM +0200, Bartlomiej Zolnierkiewicz wrote:
quoted text
> Freeing non-slab objects is bad. > > Andrew, does this patch help?
Yes, that seems to fix it. I tested it with gfs2 and ext4 the usual way and I couldn't reproduce the panic. Thanks Bartlomiej.
quoted text
> --- > drivers/ide/ide-io.c | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) > > Index: b/drivers/ide/ide-io.c > =================================================================== > --- a/drivers/ide/ide-io.c > +++ b/drivers/ide/ide-io.c > @@ -102,11 +102,14 @@ void ide_complete_cmd(ide_drive_t *drive > drive->dev_flags |= IDE_DFLAG_PARKED; > } > > - if (rq && rq->cmd_type == REQ_TYPE_ATA_TASKFILE) > - memcpy(rq->special, cmd, sizeof(*cmd)); > + if (rq && rq->cmd_type == REQ_TYPE_ATA_TASKFILE) { > + struct ide_cmd *orig_cmd = rq->special; > > - if (cmd->tf_flags & IDE_TFLAG_DYN) > - kfree(cmd); > + if (cmd->tf_flags & IDE_TFLAG_DYN) > + kfree(orig_cmd); > + else > + memcpy(orig_cmd, cmd, sizeof(*cmd)); > + } > } > > /* obsolete, blk_rq_bytes() should be used instead */ >
-- Andrew Price --
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:
BUG: using rootfstype=ext4 causes oops
, Andrew Price
, (Wed Apr 15, 1:59 pm)
Re: BUG: using rootfstype=ext4 causes oops
, Theodore Tso
, (Wed Apr 15, 9:19 pm)
Re: BUG: using rootfstype=ext4 causes oops
, Andrew Price
, (Thu Apr 16, 3:47 am)
Re: BUG: using rootfstype=ext4 causes oops
, Theodore Tso
, (Thu Apr 16, 7:53 am)
Re: BUG: using rootfstype=ext4 causes oops
, Bartlomiej Zolnierki ...
, (Thu Apr 16, 9:02 am)
Re: BUG: using rootfstype=ext4 causes oops
, Andrew Price
, (Thu Apr 16, 9:38 am)
Re: BUG: using rootfstype=ext4 causes oops
, Theodore Tso
, (Thu Apr 16, 9:55 am)
Re: BUG: using rootfstype=ext4 causes oops
, Andrew Price
, (Thu Apr 16, 10:05 am)
Re: BUG: using rootfstype=ext4 causes oops
, Bartlomiej Zolnierki ...
, (Thu Apr 16, 12:22 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate