public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* MTD files MIA, and strange permission failure
@ 2001-11-05 19:07 Siders, Keith
  0 siblings, 0 replies; 3+ messages in thread
From: Siders, Keith @ 2001-11-05 19:07 UTC (permalink / raw)
  To: linux-mtd

I downloaded all new from CVS on Friday and am attempting to recompile the
our MIPS kernel with JFFS2 support. Permissions are 777 all the way up to
/usr down both the /usr/src/mtd path and the /usr/src/linux path to which so
much of the mtd path is linked, yet I get this error.

> make[4]: Entering directory `/usr/src/linux/drivers/mtd/chips'
> touch: /usr/src/include/linux/mtd/compatmac.h: Operation not permitted
> make[4]: *** [/usr/src/linux/include/linux/mtd/compatmac.h] Error 1

Also, files cfi_jedec.c and mapped.h are none existent, but of course the
patchin.sh script created softlinks for them anyway. The MTD and JFFS2
section of .config is as follows:
---------------------------------------------------------------------------
...<snip>...
#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=3
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_REDBOOT_PARTS is not set

#
# User Modules And Translation Layers
#
# CONFIG_MTD_CHAR is not set
CONFIG_MTD_BLOCK=y
CONFIG_FTL=y
# CONFIG_NFTL is not set

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=y
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=y
CONFIG_MTD_CFI_ADV_OPTIONS=y
CONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
CONFIG_MTD_CFI_GEOMETRY=y
# CONFIG_MTD_CFI_B1 is not set
# CONFIG_MTD_CFI_B2 is not set
CONFIG_MTD_CFI_B4=y
# CONFIG_MTD_CFI_I1 is not set
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
CONFIG_MTD_CFI_INTELEXT=y
CONFIG_MTD_CFI_AMDSTD=y
CONFIG_MTD_RAM=y
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_OBSOLETE_CHIPS is not set
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_JEDEC is not set

#
# Mapping drivers for chip access
#
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_START=9e000000
CONFIG_MTD_PHYSMAP_LEN=2000000
CONFIG_MTD_PHYSMAP_BUSWIDTH=4
# CONFIG_MTD_CSTM_MIPS_IXX is not set
# CONFIG_MTD_OCELOT is not set
# CONFIG_MTD_PCI is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_SLRAM is not set
CONFIG_MTD_MTDRAM=y
CONFIG_MTDRAM_TOTAL_SIZE=4096
CONFIG_MTDRAM_ERASE_SIZE=256
CONFIG_MTDRAM_ABS_POS=0
CONFIG_MTD_BLKMTD=y

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC1000 is not set
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOCPROBE is not set
#
# NAND Flash Device Drivers
#
# CONFIG_MTD_NAND is not set
#
...<snip>...
# CONFIG_VFAT_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_JFFS_FS=y
CONFIG_JFFS_FS_VERBOSE=3
# CONFIG_CRAMFS is not set
...<snip>...
---------------------------------------------------------------------

Have I missed configured something here??


Keith Siders
Software Engineer
 Toshiba America Consumer Products, Inc.
Advanced Television Technology Center
801 Royal Parkway, Suite 100
Nashville, Tennessee 37214
Phone: (615) 257-4050
Fax:   (615) 453-7880

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

* RE: MTD files MIA, and strange permission failure
@ 2001-11-05 23:01 Siders, Keith
  2001-11-05 23:08 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Siders, Keith @ 2001-11-05 23:01 UTC (permalink / raw)
  To: 'linux-mtd@lists.infradead.org'

-> > make[4]: Entering directory `/usr/src/linux/drivers/mtd/chips'
-> > touch: /usr/src/include/linux/mtd/compatmac.h: Operation 
-> not permitted
-> > make[4]: *** [/usr/src/linux/include/linux/mtd/compatmac.h] Error 1
-> 
Found that even though a root owned file and path are set for full access by
anyone, touch still won't work. Did chgrp and chown, and that part now
compiles. But now that I'm in fs/jffs I'm getting the following:
----------------------------------------------------------------------------
-------------
In file included from jffs_fm.c:22:
/home/sidersk/Boreal/Work/Software/Code/kernel/linux_2.4.6/include/linux/jff
s.h:24: linux/comp
letion.h: No such file or directory
In file included from jffs_fm.c:22:
/home/sidersk/Boreal/Work/Software/Code/kernel/linux_2.4.6/include/linux/jff
s.h:191: field `gc
_thread_comp' has incomplete type
make[3]: *** [jffs_fm.o] Error 1
make[2]: *** [first_rule] Error 2
make[1]: *** [_subdir_jffs] Error 2
make: *** [_dir_fs] Error 2
----------------------------------------------------------------------------
-------------

Files that were previously reported as missing ( cfi_jedec.c and mapped.h )
didn't seem to effect the mtd compilation. But now that we're in the fs we
get the above. Can't find a linux/completion.h anywhere. Is this particular
to a distribution? We appear to be using a MIPS port of RedHat 7.0. Console
comes up showing:

Red Hat Linux release 7.0 (MIPS)
Kernel 2.4.6 on a mips

Any pointers appreciated...

Keith Siders
Software Engineer
 Toshiba America Consumer Products, Inc.
Advanced Television Technology Center
801 Royal Parkway, Suite 100
Nashville, Tennessee 37214
Phone: (615) 257-4050
Fax:   (615) 453-7880

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

* Re: MTD files MIA, and strange permission failure
  2001-11-05 23:01 MTD files MIA, and strange permission failure Siders, Keith
@ 2001-11-05 23:08 ` David Woodhouse
  0 siblings, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2001-11-05 23:08 UTC (permalink / raw)
  To: Siders, Keith; +Cc: 'linux-mtd@lists.infradead.org'

keith_siders@toshibatv.com said:
>  Can't find a linux/completion.h anywhere. Is this particular to a
> distribution? We appear to be using a MIPS port of RedHat 7.0. Console
> comes up showing:

Completions turned up in 2.4.8, I think. Should be compatibility cruft in 
include/linux/compatmac.h though.

Are you intentionally using JFFS instead of JFFS2? 

--
dwmw2

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

end of thread, other threads:[~2001-11-05 22:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-05 23:01 MTD files MIA, and strange permission failure Siders, Keith
2001-11-05 23:08 ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2001-11-05 19:07 Siders, Keith

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