FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-07-2008, 01:25 PM
David Baron
 
Default Enabling DMA with new MB (repost)

I am reposting since I have received no advice and have not found a solution:
----------------------------
After my old far-eastern MB died, replaced with an "aopen" MB with a somewhat
faster 600mhz PIII slot-1 CPU (I was running my old 500mhz PIII and 575).

Went through all the BIOS setups. A master-DMA can be enabled but the DMA on
the IDEs seems unavailable. Have it all "auto" -- BIOS choices for the IDEs
are "auto", p0, p1, p2 , p3, p4 and udma "auto" or disabled. Hdparm will not
allow -d1 either.

Other info:
~$ dmesg | grep DMA6b (rev 12) ID
DMA 0 -> 4096
DMA zone: 56 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4040 pages, LIFO batch:0
Activating ISA DMA hang workarounds.
VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci0000:00:07.1

~$ dmesg | grep IDE
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Probing IDE interface ide0...
Probing IDE interface ide1...
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci0000:00:07.1
VP_IDE: port 0x01f0 already claimed by ide0
VP_IDE: port 0x0170 already claimed by ide1
VP_IDE: neither IDE port enabled (BIOS)

(this last item could be it? Saw nothing in BIOS setup. The MB has VIA chips,
apparently)

Any ideas and help greatly appreciated. Google was not so informative.
-----------------------------

Also, while I am stuck in PIO, where to I place that message "idebus=66" to
get the 66-mhz speed I assume (??) is available?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-07-2008, 02:00 PM
Bob Cox
 
Default Enabling DMA with new MB (repost)

On Mon, Apr 07, 2008 at 16:25:58 +0300, David Baron (d_baron@012.net.il) wrote:

> ~$ dmesg | grep IDE

Could you try that again as dmesg | grep -i IDE please?

(There may well be some lower case 'ide' info)

--
Bob Cox. Stoke Gifford, near Bristol, UK.
 
Old 04-07-2008, 03:24 PM
Benjamin Schmidt
 
Default Enabling DMA with new MB (repost)

David Baron wrote:

I am reposting since I have received no advice and have not found a solution:
----------------------------
After my old far-eastern MB died, replaced with an "aopen" MB with a somewhat
faster 600mhz PIII slot-1 CPU (I was running my old 500mhz PIII and 575).


Went through all the BIOS setups. A master-DMA can be enabled but the DMA on
the IDEs seems unavailable. Have it all "auto" -- BIOS choices for the IDEs
are "auto", p0, p1, p2 , p3, p4 and udma "auto" or disabled. Hdparm will not
allow -d1 either.


Other info:
~$ dmesg | grep DMA6b (rev 12) ID
DMA 0 -> 4096
DMA zone: 56 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4040 pages, LIFO batch:0
Activating ISA DMA hang workarounds.
VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci0000:00:07.1

~$ dmesg | grep IDE
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Probing IDE interface ide0...
Probing IDE interface ide1...
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci0000:00:07.1
VP_IDE: port 0x01f0 already claimed by ide0
VP_IDE: port 0x0170 already claimed by ide1
VP_IDE: neither IDE port enabled (BIOS)

(this last item could be it? Saw nothing in BIOS setup. The MB has VIA chips,
apparently)


Any ideas and help greatly appreciated. Google was not so informative.
-----------------------------

Also, while I am stuck in PIO, where to I place that message "idebus=66" to
get the 66-mhz speed I assume (??) is available?





Did you try to boot with "* dma" (when you use lilo press TAB before the
boot sequence starts and add "dma". Press enter.


Maybe you should try to reinstall Debian. Can read that from your text.

Enabling DMA with the command "hdparm" doesn't work on devices like
/dev/sda* . If the mounted harddisks all are like /dev/sda* not
/dev/hda* the dma somehow works by itself.


You could test the harddisk performance with hdparm. Boot with the
additional kernel parameter "dma" and "nodma". Compare the results.


Best regards,
Benjamin Schmidt
 
Old 04-07-2008, 03:29 PM
David Baron
 
Default Enabling DMA with new MB (repost)

On Monday 07 April 2008 17:42:27 debian-user-digest-request@lists.debian.org
wrote:
> > ~$ dmesg | grep IDE
>
> Could you try that again as dmesg | grep -i IDE please?
>
> (There may well be some lower case 'ide' info)

~$ dmesg | grep -i IDE
BIOS-provided physical RAM map:
CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Boot video device is 0000:01:00.0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-07-2008, 03:30 PM
David Baron
 
Default Enabling DMA with new MB (repost)

On Monday 07 April 2008 17:42:27 debian-user-digest-request@lists.debian.org
wrote:
> > ~$ dmesg | grep IDE
>
> Could you try that again as dmesg | grep -i IDE please?
>
> (There may well be some lower case 'ide' info)

FIrst reply was cut off. Here is the whole thing:

~$ dmesg | grep -i IDE
BIOS-provided physical RAM map:
CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Boot video device is 0000:01:00.0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci0000:00:07.1
VP_IDE: port 0x01f0 already claimed by ide0
VP_IDE: port 0x0170 already claimed by ide1
VP_IDE: neither IDE port enabled (BIOS)
eth0: Identified 8139 chip type 'RTL-8139C'


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-07-2008, 04:39 PM
Bob Cox
 
Default Enabling DMA with new MB (repost)

On Mon, Apr 07, 2008 at 18:30:59 +0300, David Baron (d_baron@012.net.il) wrote:

> On Monday 07 April 2008 17:42:27 debian-user-digest-request@lists.debian.org
> wrote:
> > > ~$ dmesg | grep IDE
> >
> > Could you try that again as dmesg | grep -i IDE please?
> >
> > (There may well be some lower case 'ide' info)
>
> FIrst reply was cut off. Here is the whole thing:
>
> ~$ dmesg | grep -i IDE
> BIOS-provided physical RAM map:
> CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000
> 00000000 00000000 00000000 00000000
> Boot video device is 0000:01:00.0
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> Probing IDE interface ide0...
> Probing IDE interface ide1...
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> VP_IDE: IDE controller at PCI slot 0000:00:07.1
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci0000:00:07.1
> VP_IDE: port 0x01f0 already claimed by ide0
> VP_IDE: port 0x0170 already claimed by ide1
> VP_IDE: neither IDE port enabled (BIOS)
> eth0: Identified 8139 chip type 'RTL-8139C'

Sorry. I had hoped that we would see something like:

NFORCE2: IDE controller (0x10de:0x0065 rev 0xa2) at PCI slot 0000:00:09.0
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdbMA

(but, presumably, without the 'DMA')

and could have gone from there.

I think you need someone who knows a bit more about DMA.

Just a thought - it's not a dodgy IDE cable?

--
Bob Cox. Stoke Gifford, near Bristol, UK.
 
Old 04-08-2008, 03:24 PM
David Baron
 
Default Enabling DMA with new MB (repost)

On Monday 07 April 2008 16:55:42 Brian McKee wrote:
> On 7-Apr-08, at 9:25 AM, David Baron wrote:
> > I am reposting since I have received no advice and have not found a
> > solution:
> > ----------------------------
> > After my old far-eastern MB died, replaced with an "aopen" MB with
> > a somewhat
> > faster 600mhz PIII slot-1 CPU (I was running my old 500mhz PIII and
> > 575).
> >
> > Went through all the BIOS setups. A master-DMA can be enabled but
> > the DMA on
> > the IDEs seems unavailable. Have it all "auto" -- BIOS choices for
> > the IDEs
> > are "auto", p0, p1, p2 , p3, p4 and udma "auto" or disabled. Hdparm
> > will not
> > allow -d1 either.
>
> Just a shot in the dark - but is it a good 80 pin cable? I *think*
> a 40 pin cable might cause some of those symptoms and I wondered if
> the process of swapping things around changed the cable as well....
>
> FWIW,
> Brian

>I will check this out. In fact, at the bootup when it detects the IDE
devices,
>if finds them just fine but then complains "no 80-pin cable installed"!!

>The thing played just fine on the old MB with the current cables, however.
Did
>things change sometime a while back (this is old hardware)?

OK, I have 80 pin cables now, bootup no longer complains.
Still no DMA. What now?



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-09-2008, 09:22 PM
Chris Bannister
 
Default Enabling DMA with new MB (repost)

On Mon, Apr 07, 2008 at 04:25:58PM +0300, David Baron wrote:
> I am reposting since I have received no advice and have not found a solution:
> ----------------------------
> After my old far-eastern MB died, replaced with an "aopen" MB with a somewhat
> faster 600mhz PIII slot-1 CPU (I was running my old 500mhz PIII and 575).
>
> Went through all the BIOS setups. A master-DMA can be enabled but the DMA on
> the IDEs seems unavailable. Have it all "auto" -- BIOS choices for the IDEs
> are "auto", p0, p1, p2 , p3, p4 and udma "auto" or disabled. Hdparm will not
> allow -d1 either.

If you are using grub, try adding dma=on to
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda1 ro

i.e
# kopt=root=/dev/hda1 ro dma=on

to the /boot/grub/menu.lst file then run update-grub, then reboot. --
any change?

--
Chris.
======
If you are not subscribed, ask to be CC'd as the Policy of this list is
to reply to the list only.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 10:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org