DMA mode not set at boot and 'KERNEL REPORTING ERROR'

DMA mode not set at boot and 'KERNEL REPORTING ERROR'

Post by Jim Gallaghe » Wed, 31 May 2000 04:00:00



I've got a Diamond Max Plus 20GB HD, it's 7200 RPM and ATA66. Right now,
performance is terrible. DMA is not being enabled at boot.

I read on Maxtor's support page that older MBs (I've got a BH6) with
Award BIOSes don't always report that the drive is capable of DMA mode
2, so I used Maxtor's util to cause the drive to report itself as a DMA
mode 2 drive, but this did not help. Here's my info:


/dev/hda:

 Model=Maxtor 52049U4, FwRev=DA6207V0, SerialNo=K408NBEC
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=3(DualPortCache), BuffSize=2048kB, MaxMultSect=16,
MultSect=off
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40020624
 WARNING 23506560 ORPHANED SECTORS :: KERNEL REPORTING ERROR
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
 UDMA modes: mode0 mode1 mode2
 Drive Supports : ATA/ATAPI-4 T13 1153D revision 17 : ATA-1 ATA-2 ATA-3
ATA-4 ATA-5


/dev/hda:
 Timing buffer-cache reads:   128 MB in  1.26 seconds =101.59 MB/sec
 Timing buffered disk reads:  64 MB in 16.07 seconds = 3.98 MB/sec

From the boot messages:

PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 52049U4, ATA DISK drive
hdd: NEC CD-ROM DRIVE:289, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 52049U4, 19541MB w/2048kB Cache, CHS=2491/255/63
hdd: ATAPI 24X CD-ROM drive, 128kB Cache

Distro is  release 7.0, Kernel 2.2.14-15mdk.

Any suggestions? The kernel warning really has me worried....

Jim

 
 
 

DMA mode not set at boot and 'KERNEL REPORTING ERROR'

Post by Hal Burgi » Wed, 31 May 2000 04:00:00



>I've got a Diamond Max Plus 20GB HD, it's 7200 RPM and ATA66. Right now,
>performance is terrible. DMA is not being enabled at boot.

>I read on Maxtor's support page that older MBs (I've got a BH6) with
>Award BIOSes don't always report that the drive is capable of DMA mode
>2, so I used Maxtor's util to cause the drive to report itself as a DMA
>mode 2 drive, but this did not help. Here's my info:

Have you tried 'hdparm -d1 /dev/hda'? The kernel defaults to DMA off.
Not sure how Mandrake handles this though.

--
Hal B

--

 
 
 

DMA mode not set at boot and 'KERNEL REPORTING ERROR'

Post by Jim Gallaghe » Wed, 31 May 2000 04:00:00



> Have you tried 'hdparm -d1 /dev/hda'? The kernel defaults to DMA off.
> Not sure how Mandrake handles this though.

> --
> Hal B

> --

I did try this, but my test results did not improve. Also, after testing, I
left the PC alone for a while, and when I came back, it was frozen. I had to
cycle power. This machine is usually rock solid.

Jim

 
 
 

DMA mode not set at boot and 'KERNEL REPORTING ERROR'

Post by Hal Burgi » Wed, 31 May 2000 04:00:00





>> Have you tried 'hdparm -d1 /dev/hda'? The kernel defaults to DMA off.
>> Not sure how Mandrake handles this though.

>I did try this, but my test results did not improve. Also, after
>testing, I left the PC alone for a while, and when I came back, it was
>frozen. I had to cycle power. This machine is usually rock solid.

Any log messages? I would say your options are BIOS upgrade or try the
ide patch which is at www.linux-ide.org. FWIW, I have a newish 7200rpm
Maxtor drive on Abit BP6, and DMA works fine. I also have an IBM
Deskstar that I had a booger of a time getting into DMA mode. Only got
this going with the ide patch, and playing around with the kernel config
options.

--
Hal B

--

 
 
 

DMA mode not set at boot and 'KERNEL REPORTING ERROR'

Post by jmgal.. » Wed, 31 May 2000 04:00:00




> Any log messages? I would say your options are BIOS upgrade or try the
> ide patch which is at www.linux-ide.org. FWIW, I have a newish 7200rpm
> Maxtor drive on Abit BP6, and DMA works fine. I also have an IBM
> Deskstar that I had a booger of a time getting into DMA mode. Only got
> this going with the ide patch, and playing around with the kernel
config
> options.

> --
> Hal B

> --

Nope, no messages. Thanks for the suggestion regarding the IDE patch,
I'll check it out.

BTW, any clue as to what I should do, if anything, about the message
'WARNING 23506560 ORPHANED SECTORS :: KERNEL REPORTING ERROR' in
the hdparm output?

Jim

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. X Will Not Start - Reports Error 'No Screens Available'

Hello,

We have a Model 43P running AIX 4.1.4 to which I recently applied
the AIX 4.1.5 Maintenancel Level patch. Now, X will not longer start -
it displays an error message saying 'no screens available' and quits.

The system has the GTX150P graphics card in it in addition to the E15
built in graphics card (I have tried using only one or the other also).

Has anyone seen this problem before? I am wondering if there is a
fix or a configuration problem that I can correct before pulling out
my system backup and going back tp 4.1.4.

I have tried removing just the X components and reinstalling those but
it did not help.

Sincerely,
Niranjan
----------------------------------------------------------------------

University of West Florida

2. sendmail on a domain

3. 'Video mode not supported' error

4. can I use select() on a mailbox file?

5. printing .ps file

6. FreeBSD 4.2 won't boot - 'read error' on boot after install

7. Newbie Help

8. 'IRQ timeout' message and 'DMA disabled' with 'ls -l'

9. 2.4.2-ac25 error: Malformed setting 'kernel.printk' after cs46xx load/unload

10. Can't set IDE DMA with ASRock 939S56-M motherboard in kernel 2.6.14

11. 2.4.21 can't set IDE DMA on harddrive (HDIO_SET_DMA failed: Operation not permitted)

12. Kernel compile: 'make dep' errors: .h files are not being found...