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

Re: IDE




So far I have tried the following without success:

- Two harddrives: IBM Travelstar 5G och Quantum Fireball 1G2 (one at a time)
- Devboard_lx-R1_0_0 and R2_0_0
- 5cm and 20cm long cables
- Two boards (I can see the esd-clamps inside Etrax on all pins so there are
no breaks and I couldn't find any short circuits either.)
- Windows and Linux fdisk
- mke2fs with and without "-O none -r 0"
- timing i ide.c: all 5/15/5 and all 31/31/31, also DMA timings
- MAX_HW_IFS 1 in ide.h (to make booting without a hd faster)
- with and without pull-downs at intrqX and dmarqX
- dancing under full moon

>And strange enough why does identify command work but not any other?

Sounds like SW. This is the output I get, very similar:

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide: ETRAX 100LX built-in ATA DMA controller
ide: waiting 15 seconds for drives to regain consciousness
hda: QUANTUM FIREBALL1280A, ATA DISK drive
hdc: no response (status = 0xa1), resetting drive
hdc: no response (status = 0xa1)
hdd: no response (status = 0xa1), resetting drive
hdd: no response (status = 0xa1)
hde: no response (status = 0xa1), resetting drive
hde: no response (status = 0xa1)
hdf: no response (status = 0xa1), resetting drive
hdf: no response (status = 0xa1)
hdg: no response (status = 0xa1), resetting drive
hdg: no response (status = 0xa1)
hdh: no response (status = 0xa1), resetting drive
hdh: no response (status = 0xa1)
ide0 at 0x10000000-0x10000007,0x2c000000 on irq 4
hda: 2503872 sectors (1282 MB) w/83KiB Cache, CHS=2484/16/63
Partition check:
 hda: (here it hangs up)

---

It seems to hang up at bread, but why?

linux/fs/partitions/msdos.c:

if (!(bh = bread(dev,0,get_ptable_blocksize(dev)))) {
  if (warn_no_part) printk(" unable to read partition table\n");
  return -1;
}


Any help on this would really be appreciated,

Jarkko Tuomi