Re: Abit AV8: can't set DMA on cd/dvd, but can with Ubuntu live

2005-02-04 Thread Javier Kohen
Hi Ric,
Ric Otte wrote:
On Fri, Feb 04, 2005 at 09:49:54AM -0500, Javier Kohen wrote:
Did you try disabling generic IDE support in the kernel configuration? 
Check http://ck.kolivas.org/audio_hints.txt .

Hi,
I just tried that, and as a result my cd/dvd isn't recognized at
startup; without generic IDE support, I get no IDE at all.  Dmesg has
no mention of hda being recognized.
After rebooting into my normal kernel, I just ran dmesg |grep IDE and got: 
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
VP_IDE: IDE controller at PCI slot :00:0f.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci:00:0f.1
VP_IDE: port 0x01f0 already claimed by ide0
Probing IDE interface ide1...

So perhaps i'm not using via82cxxx and am instead using the generic
IDE driver?
It seems so. If you're not using initrd, you might want to compile in
the via82cxxx driver (i.e., not as a module), otherwise the kernel can't
read it from the disk. That works great here :)
Just remember to recompile your kernel with IDE generic support (or,
alternatively, use initrd to load the IDE modules) if, in the future,
you change to a non-VIA IDE controller.
Greetings,
--
Javier Kohen <[EMAIL PROTECTED]>
ICQ: blashyrkh #2361802
Jabber: [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Abit AV8: can't set DMA on cd/dvd, but can with Ubuntu live

2005-02-04 Thread Ric Otte
On Fri, Feb 04, 2005 at 05:33:21PM +, Jean-Luc Coulon (f5ibh) wrote:
> I've added the following lines in my /etc/modules
> 
> via82cxxx
> ide-cd
> ide-generic
> 
> [...]

I tried that and nothing changed.

Ric




Re: Abit AV8: can't set DMA on cd/dvd, but can with Ubuntu live

2005-02-04 Thread Jean-Luc Coulon (f5ibh)
Le 04.02.2005 18:16:27, Ric Otte a écrit :
On Fri, Feb 04, 2005 at 09:49:54AM -0500, Javier Kohen wrote:
Did you try disabling generic IDE support in the kernel
configuration?
Check http://ck.kolivas.org/audio_hints.txt .
Hi,
I just tried that, and as a result my cd/dvd isn't recognized at
startup; without generic IDE support, I get no IDE at all.  Dmesg has
no mention of hda being recognized.
I've added the following lines in my /etc/modules
via82cxxx
ide-cd
ide-generic
[...]
Jean-Luc


pgpSu9cRxMnUf.pgp
Description: PGP signature


Re: Abit AV8: can't set DMA on cd/dvd, but can with Ubuntu live

2005-02-04 Thread Ric Otte
On Fri, Feb 04, 2005 at 09:49:54AM -0500, Javier Kohen wrote:
> 
> Did you try disabling generic IDE support in the kernel configuration? 
> Check http://ck.kolivas.org/audio_hints.txt .
> 
Hi,
I just tried that, and as a result my cd/dvd isn't recognized at
startup; without generic IDE support, I get no IDE at all.  Dmesg has
no mention of hda being recognized.

After rebooting into my normal kernel, I just ran dmesg |grep IDE and got: 
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
VP_IDE: IDE controller at PCI slot :00:0f.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci:00:0f.1
VP_IDE: port 0x01f0 already claimed by ide0
Probing IDE interface ide1...

So perhaps i'm not using via82cxxx and am instead using the generic
IDE driver?

thanks,
Ric


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Abit AV8: can't set DMA on cd/dvd, but can with Ubuntu live

2005-02-04 Thread Javier Kohen
Did you try disabling generic IDE support in the kernel configuration? 
Check http://ck.kolivas.org/audio_hints.txt .

Greetings,
Ric Otte wrote:
Hi,
I have an Abit AV8 that works well except that I'm unable to set DMA on my
cd/dvd drive.  Whenever I try hdparm -d1 /dev/hda (sata hard drive, so cd is
hda), I get the following:
/dev/hda:
 setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma=  0 (off)
During startup there is also a message about trying and failing to start DMA
on it, but it flies by rather fast and I can't reproduce it here (it isn't in
dmesg).  I tried making a script in /etc/init.d that would set the DMA, but
that didn't work.  I believe the relevant part of lspci -v is:
:00:0f.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a 
[Master SecP PriP])
Subsystem: ABIT Computer Corp.: Unknown device 1415
Flags: bus master, medium devsel, latency 32, IRQ 20
I/O ports at d400 [size=16]
Capabilities: [c0] Power Management version 2
and under lsmod I have "via82cxxx  14064"  1 listed.  I'm using
kernel 2.6.10.
So I put in the Ubuntu AMD64 Hoary live cd and booted off of it.
Surprisingly, I was able to set DMA on the cd/dvd drive.  So I copied
their .config file of the kernel and /etc/modules.  I recompiled my
kernel with only two changes (amd64 instead of generic, no rivafb),
and added anything in their /etc/modules to mine.  But I still can't
set DMA, although I can still set it from the live cd.  This really
baffles me.
Has anybody been able to set DMA on an optical drive with this
motherboard, have any suggestions, or know why I can set it with
Ubuntu but not with Debian?  Thanks,
Ric


--
Javier Kohen <[EMAIL PROTECTED]>
ICQ: blashyrkh #2361802
Jabber: [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]