try ide_core.nodma=0.0 - for hda1<div><br><br><div class="gmail_quote">2010/7/29 Miroslav Machala <span dir="ltr"><<a href="mailto:Machala.M@seznam.cz">Machala.M@seznam.cz</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
can someone please confirm the ide=nodma option works for them in the stock voyage 0.6.5 kernel on WRAP boards?<br>
<br>
I have the following in my /boot/grub/menu.lst:<br>
<br>
kernel /vmlinuz root=LABEL=ROOT_FS console=ttyS0,38400n8 ide=nodma<br>
<br>
This is what I was using for years in Voyage up to 0.5, starting 0.6 (and in 0.6.5 as well) it does not work anymore and the system is still waiting for DMA timeouts.<br>
<br>
This is my output during boot:<br>
---output omitted---<br>
0.000000] Allocating PCI resources starting at 10000000 (gap: 8000000:f8000000)<div class="im"><br>
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32415<br></div>
[ 0.000000] Kernel command line: root=LABEL=ROOT_FS console=ttyS0,38400n8 ide=nodma<div class="im"><br>
[ 0.000000] Initializing CPU#0<br></div>
[ 0.000000] NR_IRQS:288<br>
---output omitted---<br>
[ 18.131023] Probing IDE interface ide0...<br>
[ 18.394752] hda: CF CARD 4GB, CFA DISK drive<br>
[ 18.705029] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4<br>
[ 18.705183] hda: UDMA/33 mode selected<br>
[ 18.706684] Probing IDE interface ide1...<br>
[ 19.229024] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 (serialized)<br>
[ 19.231645] ide1 at 0x170-0x177,0x376 on irq 15 (serialized)<br>
[ 19.238422] hda: max request size: 128KiB<br>
[ 19.238593] hda: 7806960 sectors (3997 MB) w/1KiB Cache, CHS=7745/16/63<br>
[ 19.250963] hda: cache flushes supported<br>
[ 19.252397] hda:<4>hda: ide_dma_sff_timer_expiry: DMA status (0x21)<br>
[ 49.247920] hda: DMA timeout error<br>
[ 49.248882] ide_dma_end dma_stat=21 err=1 newerr=0<br>
[ 49.248882] hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }<br>
[ 49.248882] hda: possibly failed opcode: 0xc8<br>
[ 49.248882] hda: DMA disabled<br>
[ 49.297913] ide0: reset: success<br>
[ 49.311927] hda1<br>
[ 69.668809] hda: ide_dma_sff_timer_expiry: DMA status (0x21)<br>
[ 79.667282] hda: DMA timeout error<br>
[ 79.668243] ide_dma_end dma_stat=21 err=1 newerr=0<br>
[ 79.668243] hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }<br>
[ 79.668243] hda: possibly failed opcode: 0xc8<br>
[ 79.668243] hda: DMA disabled<br>
[ 79.717275] ide0: reset: success<br>
[ 99.730225] hda: ide_dma_sff_timer_expiry: DMA status (0x21)<br>
[ 109.728697] hda: DMA timeout error<br>
[ 109.729658] ide_dma_end dma_stat=21 err=1 newerr=0<br>
[ 109.729658] hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }<br>
[ 109.729658] hda: possibly failed opcode: 0xc8<br>
[ 109.729658] hda: DMA disabled<br>
[ 109.778690] ide0: reset: success<br>
[ 129.789640] hda: ide_dma_sff_timer_expiry: DMA status (0x21)<br>
[ 139.788112] hda: DMA timeout error<br>
[ 139.789073] ide_dma_end dma_stat=21 err=1 newerr=0<br>
[ 139.789073] hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }<br>
[ 139.789073] hda: possibly failed opcode: 0xc8<br>
[ 139.789073] hda: DMA disabled<br>
[ 139.838104] ide0: reset: success<br>
[ 145.728569] udevd version 125 started<br>
<br>
Thank you very much in advance for any help.<br>
<br>
Best regards,<br>
<br>
MM<br>
<br>
# ------------ Původní zpráva ------------<br>
# Od: Miroslav Machala <<a href="mailto:Machala.M@seznam.cz" target="_blank">Machala.M@seznam.cz</a>><br>
# Komu: Kim-man 'Punky' TSE<<a href="mailto:punkytse@punknix.com" target="_blank">punkytse@punknix.com</a>>, # Kopie: <<a href="mailto:voyage-linux@voyage.hk" target="_blank">voyage-linux@voyage.hk</a>>, # Předmět: Re: [Voyage-linux] nodma Kernel Option (still) Not Working<br>
# Datum: 23.7.2010 16:26:26<br>
# ----------------------------------------<br>
# Hi,<div><div></div><div class="h5"><br>
# # that's exactly what I'm doing and what I was using with Voyage 0.5 and below<br>
# without any issue. Since 0.6 (and in 0.6.5 as well) it does not work anymore.<br>
# # Does ide=nodma kernel boot parameter work for anyone in 0.6.5?<br>
# # Regards<br>
# # MM<br>
# # > ------------ Původní zpráva ------------<br>
# > Od: Kim-man 'Punky' TSE <<a href="mailto:punkytse@punknix.com" target="_blank">punkytse@punknix.com</a>><br>
# > Předmět: Re: [Voyage-linux] nodma Kernel Option (still) Not Working<br>
# > Datum: 23.7.2010 13:11:07<br>
# > ----------------------------------------<br>
# > Hi,<br>
# > # > Perhaps adding "ide=nodma" to kernel boot parameter in /boot/grub/menu.lst is<br>
# > better.<br>
# > # > - Punky<br>
# > # > On 7/23/2010 3:31 PM, Miroslav Machala wrote:<br>
# > > Hello,<br>
# > ><br>
# > > I encountered an issue with the nodma kernel option not working with WRAP.<br>
# > It's an issue that apparently some have laready been dealing with as the<br>
# > following threat suggests:<br>
# > ><br>
# > > <a href="http://comments.gmane.org/gmane.linux.distributions.voyage.general/2811" target="_blank">http://comments.gmane.org/gmane.linux.distributions.voyage.general/2811</a><br>
# > ><br>
# > > Apparently the issue is that ide is not compiled into the kernel. There are<br>
# > two options:<br>
# > ><br>
# > > 1. run the following:<br>
# > > remountrw<br>
# > > echo 'options ide_core options="ide=nodma"'> /etc/modprobe.d/ide<br>
# > > update-initramfs -u<br>
# > > remountro<br>
# > ><br>
# > > to update the init image with the nodma option passed to the module.<br>
# Although<br>
# > I do not know the reason, this does not work for me with the latest voyage<br>
# > release (0.6.5). The system still waits with those DMA expiry messages and<br>
# the<br>
# > boot takes quite a long time.<br>
# > ><br>
# > > 2. Have the kernel recompiled with ide compiled in. Unfortunately the<br>
# kernels<br>
# > provided under the thread above are no longer available and the ones that are<br>
# > currently under "experimental" directory do not change anything with respcet<br>
# to<br>
# > the nodma option.<br>
# > ><br>
# > > Is there any other solution or would it be possible to provide a voyage<br>
# kernel<br>
# > with ide complied in?<br>
# > ><br>
# > > Thank you very much.<br>
# > ><br>
# > > Regards,<br>
# > ><br>
# > > MM<br>
# > ><br>
# > > _______________________________________________<br>
# > > Voyage-linux mailing list<br>
# > > <a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
# > > <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
# > # > # > -- # > Regards,<br>
# > Punky<br>
# > # > Voyage Solutions (<a href="http://solution.voyage.hk" target="_blank">http://solution.voyage.hk</a>)<br>
# > * Embedded Solutions and Systems<br>
# > - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX<br>
# > - Network Engineering, Development Platform and Consultation<br>
# > # > <br>
# > # > # > # > # <br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</div></div></blockquote></div><br></div>