public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* device major/minor attributes corrupt in jffs2
@ 2003-10-30  3:05 Robin Gilks
  2003-10-30 21:49 ` Robin Gilks
  0 siblings, 1 reply; 2+ messages in thread
From: Robin Gilks @ 2003-10-30  3:05 UTC (permalink / raw)
  To: mtd list

Greetings

Just trying to put a root filesystem into jffs2 and whilst I can mount 
the filesystem and copy my /dev directory into it and it looks OK, when 
I reboot the major/minor numbers have been added together into the minor 
and the major is always 0

Anyone any ideas?

target mpc8xx cross compiled from i386 with gcc-3.3.1
kernel 2.4.22
mtd snapshot of 22-10-03
busybox 1.00-pre3 utils
uclibc 0.9.20 library

-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks@tait.co.nz
New Zealand

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: device major/minor attributes corrupt in jffs2
  2003-10-30  3:05 device major/minor attributes corrupt in jffs2 Robin Gilks
@ 2003-10-30 21:49 ` Robin Gilks
  0 siblings, 0 replies; 2+ messages in thread
From: Robin Gilks @ 2003-10-30 21:49 UTC (permalink / raw)
  To: mtd list

Robin Gilks wrote:
> Greetings
> 
> Just trying to put a root filesystem into jffs2 and whilst I can mount 
> the filesystem and copy my /dev directory into it and it looks OK, when 
> I reboot the major/minor numbers have been added together into the minor 
> and the major is always 0
> 
> Anyone any ideas?
> 
> target mpc8xx cross compiled from i386 with gcc-3.3.1
> kernel 2.4.22
> mtd snapshot of 22-10-03
> busybox 1.00-pre3 utils
> uclibc 0.9.20 library
> 

More info - just unmount and remount and the device file attributes are 
  buggered - I assume that the cache is OK but the data written to flash 
is not :-((

Also, it looks like the major/minor numbers not added - can't work out 
exactly what is going on !!

/home # ./MAKEDEV
/home # ls -l /mnt/dev/mtd*
crw-r--r--    1 root     root      90,   0 Jan  1 17:26 /mnt/dev/mtd0
crw-r--r--    1 root     root      90,   2 Jan  1 17:26 /mnt/dev/mtd1
crw-r--r--    1 root     root      90,   4 Jan  1 17:26 /mnt/dev/mtd2
crw-r--r--    1 root     root      90,   6 Jan  1 17:26 /mnt/dev/mtd3
crw-r--r--    1 root     root      90,   8 Jan  1 17:26 /mnt/dev/mtd4
crw-r--r--    1 root     root      90,  10 Jan  1 17:26 /mnt/dev/mtd5
crw-r--r--    1 root     root      90,  12 Jan  1 17:26 /mnt/dev/mtd6
crw-r--r--    1 root     root      90,  14 Jan  1 17:26 /mnt/dev/mtd7
/home # umount /mnt
/home # mount /mnt
/home # ls -l /mnt/dev/mtd*
crw-r--r--    1 root     root       0,  90 Jan  1 17:26 /mnt/dev/mtd0
crw-r--r--    1 root     root       0,  90 Jan  1 17:26 /mnt/dev/mtd1
crw-r--r--    1 root     root       0,  94 Jan  1 17:26 /mnt/dev/mtd2
crw-r--r--    1 root     root       0,  94 Jan  1 17:26 /mnt/dev/mtd3
crw-r--r--    1 root     root       0,  90 Jan  1 17:26 /mnt/dev/mtd4
crw-r--r--    1 root     root       0,  90 Jan  1 17:26 /mnt/dev/mtd5
crw-r--r--    1 root     root       0,  94 Jan  1 17:26 /mnt/dev/mtd6
crw-r--r--    1 root     root       0,  94 Jan  1 17:26 /mnt/dev/mtd7


-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks@tait.co.nz
New Zealand

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-30 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-30  3:05 device major/minor attributes corrupt in jffs2 Robin Gilks
2003-10-30 21:49 ` Robin Gilks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox