A question about the /dev/ide
FCG WANG Baohua
Baohua.WANG at alcatel-sbell.com.cn
Thu Sep 15 11:57:13 EST 2005
Dear all:
I had use the UPM of MPC8270 to create the device driver of my pcmcia CF card.
How to create the "/dev/hda" device nodes? I had only "/dev/ide" device nodes, I want to use command like "mkswap /dev/hda4".
When I use "mkswap /dev/ide/host0/bus0/target0/lun0/part1p4", it shows the "No such file or directory" message. How can I create
the right device nodes? thanks!
When it booted, it showed the following message:
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 66MHz system bus speed for PIO modes
ide0: MPC82xx IDE interface
Probing IDE interface ide0...
hda: STI Flash 7.2.0, CFA DISK drive
ide0 at 0xc900d800-0xc900d807,0xc900d80e on irq 24
hda: attached ide-disk driver.
hda: 250880 sectors (128 MB), CHS=980/8/32
Partition check:
Partition check:
When using "fdisk -l" it shows the following message:
Disk /dev/ide/host0/bus0/target0/lun0/disc: 128 MB, 128450560 bytes
8 heads, 32 sectors/track, 980 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 * 1 972 124400 6 FAT16
When use "p" option of "fdisk", it shows the following message:
Disk /dev/ide/host0/bus0/target0/lun0/part1: 127 MB, 127385600 bytes
8 heads, 32 sectors/track, 971 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1p1 1 16 2032 83 Linux
/dev/ide/host0/bus0/target0/lun0/part1p2 17 32 2048 83 Linux
/dev/ide/host0/bus0/target0/lun0/part1p3 33 788 96768 83 Linux
/dev/ide/host0/bus0/target0/lun0/part1p4 789 971 23424 83 Linux
More information about the Linuxppc-embedded
mailing list