login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
26
Re: Oops when using growisofs
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Michael Buesch <mb@...>
To: Jens Axboe <jens.axboe@...>
Cc: Jan Kara <jack@...>, Andrew Morton <akpm@...>, Arnd Bergmann <arnd@...>, linux-kernel <linux-kernel@...>
Subject:
Re: Oops when using growisofs
Date: Thursday, June 26, 2008 - 2:21 pm
On Thursday 26 June 2008 20:11:42 Jens Axboe wrote:
quoted text
> On Thu, Jun 26 2008, Jan Kara wrote: > > On Wed 25-06-08 11:46:29, Michael Buesch wrote: > > > On Wednesday 25 June 2008 11:37:00 Jan Kara wrote: > > > > > Yeah the IO error is the trigger. > > > > > I noticed that it had obvious troubles accessing the DVD that was in the drive. > > > > > It sweeped over it for several seconds, then hung the system for 2 or 3 seconds > > > > > and then oopsed. But after that everything continued to work as usual. > > > > > (Except kded of course) > > > > Hmm, by "accessing" do you mean that you've mounted the burned DVD and when > > > > browsing it the IO error and the oops occured or that IO error happened > > > > when burning? It is important because in the first case i_blkbits would be > > > > taken from some ISOFS inode desribing some file while in the second case > > > > i_blkbits are from the inode of the device... > > > I don't know. kded, which caused the oops, is always running. It is a KDE daemon > > > that polls device state and so on. So yeah, it might have accessed the drive > > > while growisofs was writing to it. > > > > > > However with "accessing" I mean the DVD drive motor was spinning up and down > > > and the laser lens was moving like crazy. The sound that happens, if you put > > > a completely scratched DVD into the drive and it is unable to make sense of it. > > > However, this was not scratched. It was a new DVD with one session on it that > > > I just burnt 5 minutes before that. So I wanted to append another session to it > > > and it crashed and resulted in IO errors in growisofs. > > I've been looking into this problem for some time. The only way how > > I see blocksize can be set so big is in cdrom_read_capacity() in > > drivers/ide/ide-cd.c. That basically blindly fills in > > queue->hardsect_size with what the drive returns and this can > > propagate in bd_set_size() to i_blkbits. Jens, do you think that is > > possible? Shouldn't ide_cd_read_toc() do some sanity checks of the > > blocksize returned? > > It can't hurt, the value should be >= 512b and <= 4kb. Normally it would > be 2kb, but some devices have a 512b switch so that is also seen. Not > sure that 1kb and 4kb are valid, but at least it would still point to > the drive possibly returning valid data and not garbage. So accept all > those, reject (and complain) if it isn't one of those and default to 2kb.
I agree with the need for a hardware sanity check and I would happily test any RFC patch :) -- Greetings Michael. --
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:
Oops when using growisofs
, Michael Buesch
, (Sun Jun 22, 12:18 pm)
Re: Oops when using growisofs
, Arnd Bergmann
, (Sun Jun 22, 5:22 pm)
Re: Oops when using growisofs
, Michael Buesch
, (Sun Jun 22, 6:05 pm)
Re: Oops when using growisofs
, Michael Buesch
, (Sun Jun 22, 6:28 pm)
Re: Oops when using growisofs
, Andrew Morton
, (Mon Jun 23, 2:34 am)
Re: Oops when using growisofs
, Jan Kara
, (Tue Jun 24, 1:28 pm)
Re: Oops when using growisofs
, Michael Buesch
, (Tue Jun 24, 2:39 pm)
Re: Oops when using growisofs
, Jan Kara
, (Wed Jun 25, 5:37 am)
Re: Oops when using growisofs
, Michael Buesch
, (Wed Jun 25, 5:46 am)
Re: Oops when using growisofs
, Jan Kara
, (Thu Jun 26, 1:05 pm)
Re: Oops when using growisofs
, Jens Axboe
, (Thu Jun 26, 2:11 pm)
Re: Oops when using growisofs
, Michael Buesch
, (Thu Jun 26, 2:21 pm)
Re: Oops when using growisofs
, Jens Axboe
, (Thu Jun 26, 2:36 pm)
Re: Oops when using growisofs
, Andrew Morton
, (Tue Jul 22, 5:25 am)
Re: Oops when using growisofs
, Jan Kara
, (Wed Jul 9, 2:46 pm)
Re: Oops when using growisofs
, Michael Buesch
, (Sun Jun 29, 3:39 pm)
Re: Oops when using growisofs
, Michael Buesch
, (Thu Jun 26, 2:39 pm)
Re: Oops when using growisofs
, Jens Axboe
, (Thu Jun 26, 2:41 pm)
Re: Oops when using growisofs
, Arnd Bergmann
, (Tue Jun 24, 9:42 pm)
Re: Oops when using growisofs
, Nick Piggin
, (Mon Jun 23, 2:59 am)
Re: Oops when using growisofs
, Arnd Bergmann
, (Sun Jun 22, 5:31 pm)
Re: Oops when using growisofs
, Michael Buesch
, (Sun Jun 22, 6:09 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Justin C. Sherrill
Re: pkgsrc bulk build and tiff
Jeremy Allison
Re: [RFC] Heads up on sys_fallocate()
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
netbsd-tech-kern
:
Matt Thomas
Re: Add a MAP_ALIGNED flag for mmap(2).
Vsevolod Stakhov
Unicode support in iso9660.
Jaromir Dolecek
Re: Speeding up fork/wait path
matthew green
re: merge of freebsd eventhandler
git
:
dragonflybsd-user
:
Petr Janda
KDE and OpenSSL = Broken
sam
Re: Loader not found
Erick Perez
Re: dragonfly pdf documentation
Michel Talon
Re: Compatability with FreeBSD Ports [debian package tools]
Colocation donated by:
Who's online
There are currently
2 users
and
678 guests
online.
Online users
mikejack
donkey99
Syndicate