D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [LUG] Boot messages2



On 06-Jan-01 at 12:34:21 Trevor Sansom wrote:
> Last week I queried some of my boot messages when
> loading Mandrake 7.2. Several offers of help were
> received but required more information. To this end I
> have now listed the boot log in full:-
> 
> <6>Uniform Multi-Platform E-IDE driver Revision: 6.30
> <4>ide: Assuming 33MHz system bus speed for PIO modes;
> override with idebus=xx
>
I have no idea if it makes any real difference, but I added 'idebus=66' to
my lilo.conf to get a 66MHz bus speed (assuming your motherboard is happy
with this).

> <4>    ide0: BM-DMA at 0x4000-0x4007, BIOS settings:
> hda:pio, hdb:pio
> <4>    ide1: BM-DMA at 0x4008-0x400f, BIOS settings:
> hdc:pio, hdd:pio
>
[OT} - Odd thing here is that my work PC says 'neither IDE port enabled
(BIOS)', yet there are 2 IDE disks inside it! :-) Very odd.

Okay, but my home PC (with 2GB and 13GB Seagate disks) says:

ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA

Your IDE controllers are reporting pio, but I would have thought that with
your disks it should be dma. Try 'hdparm -i /dev/hda' and for /dev/hdc to
see what parameters the disk is saying it knows about. You can then run
'hdparm -v /dev/hda' (and for /dev/hdc) to see what ones have been set.

> <6>hda: ST32122A, 2014MB w/128kB Cache,
> CHS=1023/64/63, UDMA(33)
> <6>hdc: Maxtor 91360U4, 12982MB w/2048kB Cache,
> CHS=26377/16/63, UDMA(33)
>
Wow - a 2MB cache. My Seagate 13GB disk only has a 512KB cache.

> <4>Partition check:
> <4> hda: hda1 hda2 hda3
> <4> hdc:hdc: timeout waiting for DMA
> <4>ide_dmaproc: chipset supported ide_dma_timeout func
> only: 14
[snipped]
> <4>hdc: DMA disabled
> <4>ide1: reset: success
>
It seems that your disks are not requiring dma but using pio instead. I have
no idea why your 2GB seagate should be coming up any different than mine -
as far as I am aware there are no jumpers on the disk itself, unless
someone else has told it to change its operating parameters (the hdparm -k
option will do this). Alternatively is that the bios has been told to use
pio rather than udma. I would very much run hdparm to see what the disk is
actually saying it can do, and then (again using hdparm) set dma and
whatever else (I set multi-sectoring). Check and set your bios as well.

Using hdparm, the 2GB seagate should look like:

 Model=ST32122A, FwRev=3.02, SerialNo=XKG89828
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=4092/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=128kB, MaxMultSect=16, MultSect=16
 CurCHS=4092/16/63, CurSects=-264241090, LBA=yes, LBAsects=4124736
 IORDY=on/off, tPIO={min:383,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2

As you can see the disk itself says it can handle udma. I assume the
asterisk refers to its default mode (udma2 in my case). 

Final option, as has already been suggested, is that the disk is on its way
out, but its odd that it picks on dma but allows pio to work okay. I would
have though some more drastic problem such as the disk writing to random
sectors and the like.

Let us know how it goes, and if you need any more info.

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne at plymouth.ac.uk
PGP key available from public key servers
--
lug-list - The Mailing List for the Devon & Cornwall LUG
Mail majordomo at lists.termisoc.org with "unsubscribe lug-list" in the
message body to unsubscribe.


Lynx friendly