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

Bug#395031: Kernel complains about DMA



Package: kernel-image-2.6.8-3-386
Version: 2.6.8-16sarge5

When booting the abovementioned kernel on a friends laptop, it shows errors when
trying to initialize the IDE controller. When showing the errors, it waits for
quite some time, increasing the boottime with about a minute (raw guestimate).

The laptop is a Dell Lattitude xpi cd p150st and it is running the current
Debian stable.

Oct 24 11:00:24 localhost kernel: Linux version 2.6.8-3-386 (root@lart) (gcc
version 3.3.5 (Debian 1:3.3.5-13)) #1 Sat Jul 15 09:26:40 UTC 2006
Oct 24 11:00:24 localhost kernel: BIOS-provided physical RAM map:
Oct 24 11:00:24 localhost kernel:  BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
Oct 24 11:00:24 localhost kernel:  BIOS-e820: 0000000000100000 - 0000000003000000 (usable)
Oct 24 11:00:24 localhost kernel: 48MB LOWMEM available.
Oct 24 11:00:24 localhost kernel: On node 0 totalpages: 12288
Oct 24 11:00:24 localhost kernel:   DMA zone: 4096 pages, LIFO batch:1
Oct 24 11:00:24 localhost kernel:   Normal zone: 8192 pages, LIFO batch:2
Oct 24 11:00:24 localhost kernel:   HighMem zone: 0 pages, LIFO batch:1
Oct 24 11:00:24 localhost kernel: DMI not present.
Oct 24 11:00:24 localhost kernel: ACPI: Unable to locate RSDP
Oct 24 11:00:24 localhost kernel: Built 1 zonelists
Oct 24 11:00:24 localhost kernel: Kernel command line: root=/dev/hda1 ro
Oct 24 11:00:24 localhost kernel: No local APIC present or hardware disabled
Oct 24 11:00:24 localhost kernel: Initializing CPU#0
Oct 24 11:00:24 localhost kernel: PID hash table entries: 256 (order 8: 2048 bytes)
Oct 24 11:00:24 localhost kernel: Detected 150.429 MHz processor.
Oct 24 11:00:24 localhost kernel: Using tsc for high-res timesource
...
Oct 24 11:00:25 localhost kernel: SCSI subsystem initialized
Oct 24 11:00:25 localhost kernel: libata version 1.02 loaded.
Oct 24 11:00:25 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Oct 24 11:00:25 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Oct 24 11:00:25 localhost kernel: CMD643: IDE controller at PCI slot 0000:00:08.0
Oct 24 11:00:25 localhost kernel: CMD643: chipset revision 0
Oct 24 11:00:25 localhost kernel: CMD643: not 100%% native mode: will probe irqs later
Oct 24 11:00:25 localhost kernel: CMD643: simplex device: DMA forced
Oct 24 11:00:25 localhost kernel:     ide0: BM-DMA at 0xfe00-0xfe07, BIOS settings: hda:pio, hdb:pio
Oct 24 11:00:25 localhost kernel:     ide1: BM-DMA at 0xfe08-0xfe0f, BIOS settings: hdc:pio, hdd:pio
Oct 24 11:00:25 localhost kernel: hda: IBM-DCRA-22160, ATA DISK drive
Oct 24 11:00:25 localhost kernel: Using anticipatory io scheduler
Oct 24 11:00:25 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Oct 24 11:00:25 localhost kernel: hda: max request size: 128KiB
Oct 24 11:00:25 localhost kernel: hda: 4233600 sectors (2167 MB) w/96KiB Cache, CHS=4200/16/63, DMA
Oct 24 11:00:25 localhost kernel:  /dev/ide/host0/bus0/target0/lun0:<4>hda: dma_timer_expiry: dma status == 0x24
Oct 24 11:00:25 localhost kernel: hda: DMA timeout error
Oct 24 11:00:25 localhost kernel: hda: dma timeout error: status=0x50 { DriveReady SeekComplete }
Oct 24 11:00:25 localhost kernel:
Oct 24 11:00:25 localhost kernel:  p1 p2 <<4>hda: dma_timer_expiry: dma status == 0x24
Oct 24 11:00:25 localhost kernel: hda: DMA timeout error
Oct 24 11:00:25 localhost kernel: hda: dma timeout error: status=0x50 { DriveReady SeekComplete }
Oct 24 11:00:25 localhost kernel:
Oct 24 11:00:25 localhost kernel:  p5 >
Oct 24 11:00:25 localhost kernel: hdc: CD-ROM CDR-N16D, ATAPI CD/DVD-ROM drive
Oct 24 11:00:25 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15
Oct 24 11:00:25 localhost kernel: ide2: I/O resource 0x3EE-0x3EE not free.
Oct 24 11:00:25 localhost kernel: ide2: ports already in use, skipping probe
Oct 24 11:00:25 localhost kernel: hda: dma_timer_expiry: dma status == 0x24
Oct 24 11:00:25 localhost kernel: hda: DMA timeout error
Oct 24 11:00:25 localhost kernel: hda: dma timeout error: status=0x50 { DriveReady SeekComplete }
Oct 24 11:00:25 localhost kernel:
Oct 24 11:00:25 localhost kernel: hda: dma_timer_expiry: dma status == 0x24
Oct 24 11:00:25 localhost kernel: hda: DMA timeout error
Oct 24 11:00:25 localhost kernel: hda: dma timeout error: status=0x50 { DriveReady SeekComplete }
Oct 24 11:00:25 localhost kernel:
Oct 24 11:00:25 localhost kernel: EXT3-fs: INFO: recovery required on readonly filesystem.
Oct 24 11:00:25 localhost kernel: EXT3-fs: write access will be enabled during recovery.
Oct 24 11:00:25 localhost kernel: kjournald starting.  Commit interval 5 seconds
...

For now, I've compiled a 2.6.19-rc3 kernel without DMA support which boots fine
(and fast). I'm about to test a 2.6.19-rc3 kernel _with_ DMA to see if the bug
has been fixed sometime after the 2.6.8 kernels.

With friendly regards,
Takis

-- 
vCard: http://www.issaris.be/pi.vcf
Public key: http://www.issaris.be/pi.key



Reply to: