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

Bug#291232: marked as done (kernel-source-2.6.10: Cannot burn DVD as normal user)



Your message dated Sun, 7 Aug 2005 13:22:46 +0200
with message-id <20050807112246.GH1807@baikonur.stro.at>
and subject line kernel-source-2.6.10: Cannot burn DVD as normal user
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Jan 2005 14:44:25 +0000
>From afcpack@verizon.net Wed Jan 19 06:44:25 2005
Return-path: <afcpack@verizon.net>
Received: from out007pub.verizon.net (out007.verizon.net) [206.46.170.107] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CrH4L-0006l5-00; Wed, 19 Jan 2005 06:44:25 -0800
Received: from localhost.localdomain ([151.205.40.151])
          by out007.verizon.net
          (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP
          id <20050119144424.WNDU21228.out007.verizon.net@localhost.localdomain>;
          Wed, 19 Jan 2005 08:44:24 -0600
Content-Type: multipart/mixed; boundary="===============0911412019=="
MIME-Version: 1.0
From: Brian Pack <afcpack@verizon.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kernel-source-2.6.10: Cannot burn DVD as normal user
Bcc: Brian Pack <afcpack@verizon.net>
X-Mailer: reportbug 3.5
Date: Wed, 19 Jan 2005 09:44:23 -0500
X-Authentication-Info: Submitted using SMTP AUTH at out007.verizon.net from [151.205.40.151] at Wed, 19 Jan 2005 08:44:23 -0600
Message-Id: <20050119144424.WNDU21228.out007.verizon.net@localhost.localdomain>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0911412019==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: kernel-source-2.6.10
Version: 2.6.10-4
Severity: important
Tags: patch

When running as normal user with kernel 2.6.10, growisofs gives the
following error when attempting to burn a DVD:

Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
:-( unable to PREVENT MEDIA REMOVAL: Operation not permitted

Running as root works fine.

I found this patch on LKML, and can now burn as normal user:

--- linux-2.6.11-mm1/drivers/block/scsi_ioctl.c.orig	2005-01-17
20:42:40.000000000 +0100
+++ linux-2.6.11-mm1/drivers/block/scsi_ioctl.c	2005-01-17
20:43:14.000000000 +0100
@@ -197,9 +197,7 @@ static int verify_command(struct file *f
 	if (type & CMD_WRITE_SAFE) {
	 		if (file->f_mode & FMODE_WRITE)
			 			return 0;
						-	}
						-
						-	if (!(type &
							CMD_WARNED)) {
							+	} else
							if (!(type &
							CMD_WARNED)) {
							 		cmd_type[cmd[0]]
									=
									CMD_WARNED;
									 		printk(KERN_WARNING
											"scsi:
											unknown
											opcode
											0x%02x\n",
											cmd[0]);
											 	}

Link to patch web page:
http://marc.theaimsgroup.com/?l=linux-kernel&m=110599420505734&w=2


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-20050119
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages kernel-source-2.6.10 depends on:
ii  binutils                      2.15-5     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-3    high-quality block-sorting file co
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities

-- no debconf information

--===============0911412019==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="verify_command.patch"

--- linux-2.6.11-mm1/drivers/block/scsi_ioctl.c.orig	2005-01-17 20:42:40.000000000 +0100
+++ linux-2.6.11-mm1/drivers/block/scsi_ioctl.c	2005-01-17 20:43:14.000000000 +0100
@@ -197,9 +197,7 @@ static int verify_command(struct file *f
 	if (type & CMD_WRITE_SAFE) {
 		if (file->f_mode & FMODE_WRITE)
 			return 0;
-	}
-
-	if (!(type & CMD_WARNED)) {
+	} else if (!(type & CMD_WARNED)) {
 		cmd_type[cmd[0]] = CMD_WARNED;
 		printk(KERN_WARNING "scsi: unknown opcode 0x%02x\n", cmd[0]);
 	}

--===============0911412019==--

---------------------------------------
Received: (at 291232-done) by bugs.debian.org; 7 Aug 2005 11:54:21 +0000
>From max@baikonur.stro.at Sun Aug 07 04:54:21 2005
Return-path: <max@baikonur.stro.at>
Received: from baikonur.stro.at [213.239.196.228] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E1jjQ-0004sA-00; Sun, 07 Aug 2005 04:54:21 -0700
Received: by baikonur.stro.at (Postfix, from userid 1001)
	id BB85B5C00F; Sun,  7 Aug 2005 13:22:46 +0200 (CEST)
Date: Sun, 7 Aug 2005 13:22:46 +0200
From: Maximilian Attems <debian@sternwelten.at>
To: 291232-done@bugs.debian.org
Subject: Re: kernel-source-2.6.10: Cannot burn DVD as normal user
Message-ID: <20050807112246.GH1807@baikonur.stro.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by Amavis (ClamAV) at stro.at
Delivered-To: 291232-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

that got fixed upstream, please upgrade to latest linux image in
unstable.



Reply to: