Linux-kernel mailing list archive 1999-25,: ide problems

# ide problems

Chuck Campbell (campbell@neosoft.com)
Tue, 22 Jun 1999 14:19:28 -0500

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Henning P. Schmiedehausen: "Re: (reiserfs) Re: I discussed reading directories as files with jra, Stallman, and"
- Previous message: Matthew Wilcox: "Re: Some very thought-provoking ideas about OS architecture."
- Next in thread: Guest section DW: "Re: ide problems"
- Maybe reply: Guest section DW: "Re: ide problems"

I'm running RH5.2 with kernel 2.2.10-ac3 on a 133Mhz pentium. I've got 48
Mb of ram and 84Mb swap on a non-boot ide disk. I do NOT use LILO, I boot
from a floppy on which I have copied the kernel image, which points to an
identical image on the hard disk. I've seen this problem through a series
of kernels from 2.0.2x to present.

I have three ide disks and an ide cd (see below). The problem is that the
newest disk (hdb in this case) isn't configured so I can see all of it. The
disk is a 13Gb disk, but I can only get to about 8Gb as seen in the df
output below. Note the differences in the RawCHS values between the two
hdparm outputs.

My questions are:
1)what do I need to do the see the whole disk?

and AFTER I get the whole thing visible,
2)will this disk perform better w/ MultSect on, and at what value (16=max)?
3)how can one determine the chipset on the motherboard?
(since the docs all talk about problems w/ certain options and certain
chipsets.)

Also, I always get the following output at boot time from this disk:
[snip]
hdb: Maxtor 91303D6, 12427MB w/512kB Cache, CHS=25249/16/63, (U)DMA
[snip]
Partition check:
hda: hda1 hda2 hda3
hdb:hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x04 { DriveStatusError }
hdb1 hdb2 hdb3 hdb4

the linux/Documentation/ide.txt says nothing about this, and I didn't find
it in the source (I searched /usr/src/linux/drivers/block/ide*.c).

I suspect it might be related to the fact that there is more disk than is
being recognised.

************************************
additional info:

here is the output from hdparm -i and -I

[root@helium /root]# hdparm -i /dev/hdb (info obtained at boot time)

/dev/hdb:

Model=Maxtor 91303D6, FwRev=GAS54112, SerialNo=A60A8EFC
Config={ Fixed }
RawCHS=25249/16/63, TrkSize=0, SectSize=0, ECCbytes=29
BuffType=3(DualPortCache), BuffSize=512kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=25249/16/63, CurSects=25450992, LBA=yes, LBAsects=25450992
^^^^^^^^^^^
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4

[root@helium /root]# hdparm -I /dev/hdb (info requested from the drive)

/dev/hdb:

Model=aMtxro9 31306D , FwRev=AG5S1421, SerialNo=6AA0E8CF
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=29
BuffType=3(DualPortCache), BuffSize=512kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=25450992
^^^^^^^^^^^
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4

I've listed /proc/partitions here and the output from some other commands
for reference.

[root@helium /root]# cat /proc/partitions
major minor #blocks name

3 0 1586592 hda
3 1 614848 hda1
3 2 82656 hda2
3 3 889056 hda3
3 64 12725496 hdb
3 65 133528 hdb1
3 66 102816 hdb2
3 67 102816 hdb3
3 68 7917840 hdb4
22 0 6297480 hdc
22 1 1023876 hdc1
22 2 102532 hdc2
22 3 5171040 hdc3
22 64 1073741823 hdd

[root@helium /root]# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hdb2 99539 13 94386 0% /junk_b2
/dev/hdb3 99539 41197 53202 44% /var
/dev/hdb4 7637409 2948325 4293192 41% /
/dev/hdc1 991000 892549 47258 95% /old_rh52
/dev/hdc2 99268 45042 49100 48% /old_rh52_var
/dev/hdc3 4994711 4251063 485096 90% /home
/dev/hda1 614624 552704 61920 90% /dosc
/dev/hda3 777112 463594 269066 63% /rh41

[root@helium /root]# more /etc/fstab
/dev/hdb4 / ext2 defaults 1 2
/dev/hdb3 /var ext2 defaults 1 2
/dev/hdc1 /old_rh52 ext2 exec,dev,suid,rw 1 1
/dev/hdc2 /old_rh52_var ext2 exec,dev,suid,rw 1 2
/dev/hdc3 /home ext2 exec,dev,suid,rw 1 2
/dev/fd0 /mnt/floppy ext2 noauto 0 0
/dev/cdrom /cdrom iso9660 noauto,ro 0 0
none /proc proc defaults 0 0
/dev/hda1 /dosc msdos exec,dev,suid,rw 1 1
/dev/hda2 swap swap defaults 0 0
/dev/hda3 /rh41 ext2 exec,dev,suid,rw 1 1
#/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 /junk_b2 ext2 defaults 1 2

[root@helium block]# /sbin/fdisk -l /dev/hdb

Disk /dev/hdb: 16 heads, 63 sectors, 25249 cylinders
Units = cylinders of 1008 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 265 133528+ 82 Linux swap
/dev/hdb2 * 266 469 102816 83 Linux native
/dev/hdb3 470 673 102816 83 Linux native
/dev/hdb4 674 16383 7917840 83 Linux native

[root@helium /root]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 11
cpu MHz : 133.291597
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 53.25

[root@helium /root]# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 48197632 46944256 1253376 23789568 6078464 18829312
Swap: 84635648 23179264 61456384
MemTotal: 47068 kB
MemFree: 1224 kB
MemShared: 23232 kB
Buffers: 5936 kB
Cached: 18388 kB
SwapTotal: 82652 kB
SwapFree: 60016 kB

[root@helium /root]# cat /proc/dma
4: cascade

    --
    ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  1(713)993-0671 ph.
    1980 Post Oak Blvd. |   and Integrated Interpretation   |  1(713)960-1157 fax
        Suite 2050      |                                   |
     Houston, TX, 77056 |          Chuck Campbell           | campbell@neosoft.com
                        |  President & Senior Geoscientist  |

         "Integration means more than having all the maps at the same scale!"

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

- Next message: Henning P. Schmiedehausen: "Re: (reiserfs) Re: I discussed reading directories as files with jra, Stallman, and"
- Previous message: Matthew Wilcox: "Re: Some very thought-provoking ideas about OS architecture."
- Next in thread: Guest section DW: "Re: ide problems"
- Maybe reply: Guest section DW: "Re: ide problems"