* A question about the /dev/ide
@ 2005-09-15 1:57 FCG WANG Baohua
2005-09-15 10:41 ` Clemens Koller
0 siblings, 1 reply; 2+ messages in thread
From: FCG WANG Baohua @ 2005-09-15 1:57 UTC (permalink / raw)
To: wd; +Cc: linuxppc-embedded
Dear all:
I had use the UPM of MPC8270 to create the device driver of my pcmcia =
CF card.=20
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=20
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=3D980/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 =3D cylinders of 256 * 512 =3D 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 =3D cylinders of 256 * 512 =3D 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=20
/dev/ide/host0/bus0/target0/lun0/part1p3 33 788 =
96768 83 Linux=20
/dev/ide/host0/bus0/target0/lun0/part1p4 789 971 =
23424 83 Linux
=20
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A question about the /dev/ide
2005-09-15 1:57 A question about the /dev/ide FCG WANG Baohua
@ 2005-09-15 10:41 ` Clemens Koller
0 siblings, 0 replies; 2+ messages in thread
From: Clemens Koller @ 2005-09-15 10:41 UTC (permalink / raw)
To: FCG WANG Baohua; +Cc: linuxppc-embedded
Hello, Wang Baohua!
FCG WANG Baohua wrote:
> Dear all:
> I had use the UPM of MPC8270 to create the device driver of my pcmcia CF card.
Just an idea: There are IDE-to-CF adapters and PCI-IDE adapters with working drivers.
(for evaluation)
> 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!
man mknod?
But maybe you want to read some more things about devfs, udev, ... /etc/devfsd.conf
before you know what you are doing there?
Well... all that depends on your kernel/system config a bit...
Best greets,
--
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany
http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-15 10:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 1:57 A question about the /dev/ide FCG WANG Baohua
2005-09-15 10:41 ` Clemens Koller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).