Bug#291232: kernel-source-2.6.10: Cannot burn DVD as normal user

2005-01-19 Thread Brian Pack
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.orig2005-01-17
20:42:40.0 +0100
+++ linux-2.6.11-mm1/drivers/block/scsi_ioctl.c 2005-01-17
20:43:14.0 +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-kernelm=110599420505734w=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-3high-quality block-sorting file co
ii  coreutils [fileutils] 5.2.1-2The GNU core utilities

-- no debconf information
--- linux-2.6.11-mm1/drivers/block/scsi_ioctl.c.orig2005-01-17 
20:42:40.0 +0100
+++ linux-2.6.11-mm1/drivers/block/scsi_ioctl.c 2005-01-17 20:43:14.0 
+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]);
}


Bug#289610: kernel-source-2.6.10: console screen blank when vesafb compiled statically

2005-01-09 Thread Brian Pack
Package: kernel-source-2.6.10
Version: 2.6.10-3
Severity: important

Compiling the kernel with the debianized /drivers/video/vesafb.c
statically results in a blank screen at bootup. Replacing with the
vanilla vesafb.c works.

I patched with the bootsplash-3.1.4-2.6.10.diff from bootsplash.de
before compiling. 

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-20050109
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-3high-quality block-sorting file co
ii  coreutils [fileutils] 5.2.1-2The GNU core utilities

-- no debconf information




Re: Bug#279648: kernel-source-2.6.9: no console on vga mode

2004-12-27 Thread Brian Pack
I just found the link:

http://svn.debian.org/viewcvs/kernel/trunk/kernel/i386/kernel-image-2.6.9-i386-2.6.9/post-install?view=autorev=1770

But unfortunately most of the contents of svn.debian.org are unavailable
at the moment. Any suggestions as to where else I can find the fix?



signature.asc
Description: This is a digitally signed message part