* Add "SAMSUNG CD-ROM SC-140" to ide-dma blacklist
@ 2006-10-01 20:15 Steven J. Hathaway
2006-10-03 11:24 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Steven J. Hathaway @ 2006-10-01 20:15 UTC (permalink / raw)
To: andre, linux-kernel, axboe
[-- 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" },
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Add "SAMSUNG CD-ROM SC-140" to ide-dma blacklist
2006-10-01 20:15 Add "SAMSUNG CD-ROM SC-140" to ide-dma blacklist Steven J. Hathaway
@ 2006-10-03 11:24 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2006-10-03 11:24 UTC (permalink / raw)
To: Steven J. Hathaway; +Cc: andre, linux-kernel
On Sun, Oct 01 2006, Steven J. Hathaway wrote:
> 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.
Looks reasonable, applied.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-03 11:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-01 20:15 Add "SAMSUNG CD-ROM SC-140" to ide-dma blacklist Steven J. Hathaway
2006-10-03 11:24 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox