Debian Bug report logs - #226057
Installer doesn't handle the DMA-disabling boot options

Package: hw-detect; Maintainer for hw-detect is Debian Install System Team <debian-boot@lists.debian.org>; Source for hw-detect is src:hw-detect.

Reported by: jjramsey@pobox.com

Date: Sun, 4 Jan 2004 04:33:02 UTC

Severity: wishlist

Done: Joey Hess <joeyh@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install Team <debian-boot@lists.debian.org>:
Bug#226057; Package installation-reports. Full text and rfc822 format available.

Acknowledgement sent to jjramsey@pobox.com:
New Bug report received and forwarded. Copy sent to Debian Install Team <debian-boot@lists.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "James J. Ramsey" <jjramsey_6x9eq42@yahoo.com>
To: submit@bugs.debian.org
Subject: Installer doesn't handle the DMA-disabling boot options
Date: Sat, 3 Jan 2004 18:01:44 -0800 (PST)
Package: installation-reports
Version: 20040103

Debian-installer-version: sarge-i386-netinst.iso from
http://people.debian.org/~manty/testing/netinst/i386/20040103/

Also applies to the copies of sarge-i386-netinst.iso
from
http://people.debian.org/~manty/testing/netinst/i386/daily/
dated 2004-01-01 and 2003-12-31

Date: Jan. 3, 2004, 8:00 p.m.
Method: Booted from CD burned from
sarge-i386-netinst.iso

Base System Installation Checklist:

Initial boot worked:    [O]
Configure network HW:   [ ]
Config network:         [ ]
Detect CD:              [ ]
Load installer modules: [E]
Detect hard drives:     [ ]
Partition hard drives:  [ ]
Create file systems:    [ ]
Mount partitions:       [ ]
Install base system:    [ ]
Install boot loader:    [ ]
Reboot:                 [O]
[O] = OK, [E] = Error (please elaborate below), [ ] =
didn't try it

Deja vu all over again. The following may be familiar
to you.

Whenever I have attempted to install, I get this error
message:

"The integrity check for <FOO> failed. It is most
likely corrupt. Aborting."

After that, I can reboot and get back to my old
system.

where <FOO> varies from one attempted install to the
next, sometimes "base-installer," or
"baseconfig-udeb," or "bterm-unifont."

To check the integrity of the CD that I burned, I ran
"dd if=/dev/cdrom
of=/tmp/copy-of-sarge-i386-netinst.iso" and checked to
see if the MD5SUM of copy-of-sarge-i386-netinst.iso
matched that of the original sarge-i386-netinst.iso
that I burned to the CD. It did. I also made sure that
the diff command reported no difference between
copy-of-sarge-i386-netinst.iso and
sarge-i386-netinst.iso.

End of the deja vu, now for the new stuff.

Once I saw the error message, I switched to another
virtual terminal and ran "dmesg | grep hdb". One of
the lines read

hdb: ATAPI 6x CD-ROM drive, 256kB Cache, DMA
                                         ^^^

This explains everything. I know from experience that
a good way to read garbage from my CD-ROM is to try to
access it via DMA. (That is a good way to read garbage
from most older ATAPI devices, as I'm sure you know. )
I bet that what's going on is that when udebs are read
from the CD-ROM, sooner or later, one of them is read
wrong, which is probably why the integrity check
fails.

What's really wrong with this picture is that passing
the standard-issue kernel option "ide=nodma" doesn't
work. "dmesg | grep hdb" still reports the same thing.
This is not good. (Yes, at the boot prompt, I type
"linux ide=nodma", not just "ide=nodma".)

A good question is why DMA is enabled for ATAPI
devices at all, since Debian is supposed to be
installable on older hardware, which is where DMA
problems tend to crop up.


__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003



Severity set to `wishlist'. Request was from David Härdeman <david@2gen.com> to control@bugs.debian.org. Full text and rfc822 format available.

Bug reassigned from package `installation-reports' to `debian-installer'. Request was from David Härdeman <david@2gen.com> to control@bugs.debian.org. Full text and rfc822 format available.

Tags added: d-i Request was from David Härdeman <david@2gen.com> to control@bugs.debian.org. Full text and rfc822 format available.

Bug reassigned from package `debian-installer' to `hw-detect'. Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#226057; Package hw-detect. Full text and rfc822 format available.

Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. Full text and rfc822 format available.

Message #18 received at 226057@bugs.debian.org (full text, mbox):

From: Joey Hess <joeyh@debian.org>
To: 226057@bugs.debian.org
Subject: one approach
Date: Sun, 19 Jun 2005 19:23:21 -0400
[Message part 1 (text/plain, inline)]
For the record, I tried fixing this using the attached patch. It doesn't
work very well because 

a) the modules.conf gets gummed up with all these ugly and useless
   parameters to all modules
b) ide-core is not explicitly modprobed anyway, it's pulled in by deps,
   so AFAIK it never sees the options anyway

At the moment, explicitly modprobing ide-core and adding a hack to grep
out the ide= options for it seems to be the only way to fix this. Ugh.

-- 
see shy jo
[p (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Tags removed: d-i Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Reply sent to Joey Hess <joeyh@debian.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to jjramsey@pobox.com:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #25 received at 226057-done@bugs.debian.org (full text, mbox):

From: Joey Hess <joeyh@debian.org>
To: 226057-done@bugs.debian.org
Subject: fixed..
Date: Thu, 15 Jun 2006 04:35:32 -0400
[Message part 1 (text/plain, inline)]
This has been fixed, it should be possible to pass per-module options at
kernel boot for any module.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 18 Jun 2007 10:00:06 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 17:58:56 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.