DMA not activated, not permitted

Bug #156127 reported by aftertaf
4
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Contents of /etc/initramfs-tools/modules:
___________________________________________
# eg sudo update-initramfs -k 2.6.22-12-generic -c
piix
ide_generic
ide_cd
ide_disk
# blacklist bad driver
blacklist ata_piix
# prevent unnecessary modules from being loaded (you don't need to do this)
blacklist ata_generic
blacklist libata
blacklist scsi_mod
______________________________________________

Did this modification to regenerate my initramfs to allow me to boot, otherwise got no root system detected and dropout to busybox with the TTY1 message (found workaround on google)

My System: hda/hdb 2 x IDE HDDn hdc IDE DVD Rom burner.
I have a SATA controller that I can disable in BIOS, by not granting an IRQ slot to it.... and this I have done....

I have this in lsmod concerning chipset:
_______________________________________
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
________________________________________

relevant (i think) part of dmesg output:
__________________________________________
[ 50.764851] checking if image is initramfs... it is
[ 51.215975] Switched to high resolution mode on CPU 0
[ 51.422257] Freeing initrd memory: 7119k freed
[ 51.422681] audit: initializing netlink socket (disabled)
[ 51.422751] audit(1193130505.072:1): initialized
[ 51.426053] VFS: Disk quotas dquot_6.5.1
[ 51.426168] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 51.426329] io scheduler noop registered
[ 51.426385] io scheduler anticipatory registered
[ 51.426440] io scheduler deadline registered
[ 51.426510] io scheduler cfq registered (default)
[ 51.426636] Boot video device is 0000:01:00.0
[ 51.426819] isapnp: Scanning for PnP cards...
[ 51.780404] isapnp: No Plug & Play device found
[ 51.812653] Real Time Clock Driver v1.12ac
[ 51.812805] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 51.814380] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 51.814678] input: Macintosh mouse button emulation as /class/input/input0
[ 51.814832] PNP: PS/2 Controller [PNP0303:KBD,PNP0f0e:PS2M] at 0x60,0x64 irq 1,12
[ 51.818232] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 51.818296] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 51.818567] mice: PS/2 mouse device common for all mice
[ 51.818753] EISA: Probing bus 0 at eisa.0
[ 51.818816] Cannot allocate resource for EISA slot 1
[ 51.818872] Cannot allocate resource for EISA slot 2
[ 51.818961] EISA: Detected 0 cards.
[ 51.819120] TCP cubic registered
[ 51.819184] NET: Registered protocol family 1
[ 51.819261] Using IPI No-Shortcut mode
[ 51.819488] Magic number: 11:769:121
[ 51.820060] Freeing unused kernel memory: 364k freed
[ 51.858933] input: AT Translated Set 2 keyboard as /class/input/input1
[ 53.103129] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 53.103137] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 53.103620] Probing IDE interface ide0...
[ 53.516267] hda: IC35L060AVVA07-0, ATA DISK drive
[ 53.795802] hdb: ST340014A, ATA DISK drive
[ 53.851559] Probing IDE interface ide1...
[ 54.714279] hdc: DVDRW IDE 16X, ATAPI CD/DVD-ROM drive
[ 55.385039] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 55.385067] ide1 at 0x170-0x177,0x376 on irq 15
[ 55.393477] hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
[ 55.393488] Uniform CD-ROM driver Revision: 3.20
[ 55.399527] hda: max request size: 128KiB
[ 55.409171] hda: 120103200 sectors (61492 MB) w/1863KiB Cache, CHS=65535/16/63
[ 55.409351] hda: cache flushes supported
[ 55.409388] hda: hda1 hda2 hda3
[ 55.414767] hdb: max request size: 128KiB
[ 55.414771] hdb: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63
[ 55.415169] hdb: cache flushes supported
[ 55.415190] hdb: hdb1 hdb2 hdb3 hdb4
[ 55.489461] AppArmor: AppArmor initialized<5>audit(1193130509.072:2): type=1505 info="AppArmor initialized" pid=1234
[ 55.496923] fuse init (API version 7.8)
[ 55.502273] Failure registering capabilities with primary security module.
[ 55.520000] ACPI: Processor [CPU0] (supports 8 throttling states)
[ 55.520018] ACPI Exception (processor_core-0783): AE_NOT_FOUND, Processor Device is not present [20070126]
[ 56.583783] Attempting manual resume
[ 56.583788] swsusp: Resume From Partition 3:68
[ 56.583790] PM: Checking swsusp image.
[ 56.600633] PM: Resume from disk failed.
[ 56.641821] usbcore: registered new interface driver usbfs
[ 56.641854] usbcore: registered new interface driver hub
[ 56.641880] usbcore: registered new device driver usb
[ 56.642835] USB Universal Host Controller Interface driver v3.0
[ 56.642904] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 56.642916] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[ 56.642921] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 56.643120] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[ 56.643149] uhci_hcd 0000:00:1d.0: irq 16, io base 0x00002440
[ 56.643279] usb usb1: configuration #1 chosen from 1 choice
[ 56.643311] hub 1-0:1.0: USB hub found
[ 56.643320] hub 1-0:1.0: 2 ports detected
[ 56.711553] SCSI subsystem initialized
[ 56.717787] libata version 2.21 loaded.
[ 56.746911] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 17
[ 56.746926] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[ 56.746930] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 56.746962] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[ 56.746991] uhci_hcd 0000:00:1d.1: irq 17, io base 0x00002460
[ 56.747102] usb usb2: configuration #1 chosen from 1 choice
[ 56.747131] hub 2-0:1.0: USB hub found
[ 56.747141] hub 2-0:1.0: 2 ports detected
[ 56.851178] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
[ 56.851193] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[ 56.851198] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 56.851226] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[ 56.851257] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00002480
[ 56.851377] usb usb3: configuration #1 chosen from 1 choice
[ 56.851407] hub 3-0:1.0: USB hub found
[ 56.851416] hub 3-0:1.0: 2 ports detected
[ 56.925714] kjournald starting. Commit interval 5 seconds
[ 56.925736] EXT3-fs: mounted filesystem with ordered data mode.
[ 56.955139] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 19
[ 56.955157] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[ 56.955161] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 56.955201] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
[ 56.955237] ehci_hcd 0000:00:1d.7: debug port 1
[ 56.955245] PCI: cache line size of 128 is not supported by device 0000:00:1d.7
[ 56.955256] ehci_hcd 0000:00:1d.7: irq 19, io mem 0xf8800000
[ 56.986382] usb 1-1: new full speed USB device using uhci_hcd and address 2
[ 57.029082] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 57.029244] usb usb4: configuration #1 chosen from 1 choice
[ 57.029277] hub 4-0:1.0: USB hub found
[ 57.029286] hub 4-0:1.0: 8 ports detected
[ 57.130373] ata_piix 0000:00:1f.1: version 2.11
[ 57.130390] PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
[ 57.130398] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
[ 57.130428] ata_piix 0000:00:1f.1: 0x1F0 IDE port busy
[ 57.130431] ata_piix 0000:00:1f.1: 0x170 IDE port busy
[ 57.130433] ata_piix 0000:00:1f.1: no available legacy port
[ 57.130448] ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
[ 57.285881] ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18
[ 57.285932] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[ 57.286024] scsi0 : ata_piix
[ 57.286086] scsi1 : ata_piix
[ 57.286115] ata1: SATA max UDMA/133 cmd 0x000124f0 ctl 0x0001280a bmdma 0x000124d0 irq 18
[ 57.286119] ata2: SATA max UDMA/133 cmd 0x000124f8 ctl 0x0001280e bmdma 0x000124d8 irq 18

Problem is, since gutsy, system is slow to respond, and K3B reports dma not active.
any attempt to run sudo hdparm -d 1 /dev/hdX <--(a/b/c) says operation not permitted

Using Gutsy release version, but problem was present since at least a month, and is linked i think, to the other bug I reported about not being able to boot....
, I explain the workaround I use in this post, and this error could be a consequence..

Revision history for this message
Andrew Ash (ash211) wrote :

I'm not quite sure what the issue is that you're having, aftertaf. If it's still a problem, could you please provide a more thorough description of what you're experiencing? Thanks

Revision history for this message
aftertaf (david-wooffindin) wrote : Re: [Bug 156127] Re: DMA not activated, not permitted

Hi,

when I wrote that, it seemed clear to me . . .

Basically, was having problems with all recent kernels from feisty upwards:

since then, i've reinstalled on a sata drive, and problem no longer
exists...
So, hard to give more info.
But, IIRC, my issue was the same as this google search shows
http://www.google.fr/search?hl=en&client=firefox-a&rls=org.mozilla%3Afr%3Aofficial&hs=B0g&q=dropping+to+busybox+ubuntu+live+cd&btnG=Search
And i found a lot of info in posts from Ben Collins about the fixes
possible...

Hope that helps... and not sure, therefore, if its fixed...
If not, sure someone who knows VERY well debian based systems will be able
to give 'useful' info...
Thanks, and good work.
Serious :D

2008/3/19, Andrew Ash <email address hidden>:
>
> I'm not quite sure what the issue is that you're having, aftertaf. If
> it's still a problem, could you please provide a more thorough
> description of what you're experiencing? Thanks
>
> ** Changed in: ubuntu
> Status: New => Incomplete
>
>
> --
> DMA not activated, not permitted
> https://bugs.launchpad.net/bugs/156127
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Andrew Ash (ash211) wrote :

I don't think I know enough about debian systems to help you here, and with your system switched to the SATA drive now it will be hard for you to give more info. I'm going to go ahead and close the bug then, but if it starts causing you trouble again, please open it back up. Thanks!

Revision history for this message
aftertaf (david-wooffindin) wrote :

no pb :)
i think there are duplicates in launchpad anyway, so someone will have done
something :)

2008/3/19, Andrew Ash <email address hidden>:
>
> I don't think I know enough about debian systems to help you here, and
> with your system switched to the SATA drive now it will be hard for you
> to give more info. I'm going to go ahead and close the bug then, but if
> it starts causing you trouble again, please open it back up. Thanks!
>
> ** Changed in: ubuntu
> Status: Incomplete => Invalid
>
>
> --
>
> DMA not activated, not permitted
> https://bugs.launchpad.net/bugs/156127
> You received this bug notification because you are a direct subscriber
> of the bug.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.