public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Steven J. Hathaway" <shathawa@e-z.net>
To: andre@linux-ide.org, linux-kernel@vger.kernel.org, axboe@suse.de
Subject: Add "SAMSUNG CD-ROM SC-140" to ide-dma blacklist
Date: Sun, 01 Oct 2006 13:15:49 -0700	[thread overview]
Message-ID: <452021F4.79081F8F@e-z.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

MS-Windows sees the CD-ROM ok.
Linux V 2.4.21 and earlier see the CD-ROM ok.
Linux V 2.4.24 and later fail to find a CD-ROM file system.
The major ide code changed since 2.4.21.  I have since
required the following patch in order for the kernel to
see the CDROM.   Enclosed is a context diff patch file.

The problem appeared when I was trying to install a Slackware
distribution.
The bootstrap would load the kernel and initrd structure, but the
kernel,
once gaining control, would register file system errors when accessing
the disk drive.  Seeing other related SAMSUNG CD-ROM drivers in the
ide-dma.c blacklist, and adding my SAMSUNG CD-ROM device to the
same blacklist, and rebuilding a kernel, the problem has been overcome.

Sincerely,
Steven J. Hathaway



[-- Attachment #2: ide-dma.c-patch-samsung-cdr --]
[-- Type: text/plain, Size: 725 bytes --]

KERNEL Version 2.4.32
The "SAMSUNG CD-ROM SC-140" needs to be added to the dma blacklist.
I have had to make this patch since about Version 2.4.23 to accommodate
a major code change in ide-dma structure.  Here is the context diff.

Sincerely:  Steven J.Hathaway, <shathawa@e-z.net>

*** drivers/ide/ide-dma.c-org	2006-10-01 12:31:17.000000000 -0700
--- drivers/ide/ide-dma.c	2006-10-01 12:33:20.000000000 -0700
***************
*** 137,142 ****
--- 137,143 ----
  	{ "CD-ROM Drive/F5A",	"ALL"		},
  	{ "RICOH CD-R/RW MP7083A",	"ALL"		},
  	{ "WPI CDD-820",		"ALL"		},
+ 	{ "SAMSUNG CD-ROM SC-140",	"ALL"		},
  	{ "SAMSUNG CD-ROM SC-148C",	"ALL"		},
  	{ "SAMSUNG CD-ROM SC-148F",	"ALL"		},
  	{ "SAMSUNG CD-ROM SC",	"ALL"		},

             reply	other threads:[~2006-10-01 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-01 20:15 Steven J. Hathaway [this message]
2006-10-03 11:24 ` Add "SAMSUNG CD-ROM SC-140" to ide-dma blacklist Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=452021F4.79081F8F@e-z.net \
    --to=shathawa@e-z.net \
    --cc=andre@linux-ide.org \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox