DOC Millenium not found by docprobe
I'm having a hard time getting my DOC to cooperate with the mtd stuff.
I have a MediaGX-based system with a DOC socket on board. I'm using a 16M DOC Millenium. Linux is installed on an IDE HDD (hdc).
The DOCs I have were formatted and partitioned with the M-Systems DOS tools. They already contain two Ext2 partitions (not sure what created them, but I'm guessing it was the old M-Sys Linux stuff.
So... I have the Linux 2.4.5 kernel with the mtd-snapshot-20010619 patched in. I built it a few times, sometimes with MTD as modules and sometimes compiling the mtd stuff into the kernel. Both seem to do the same thing. In the case below, I used the DOC 2000 + Millenium driver.
The problem:
When the DOC on the board is already partitioned, etc., The docprobe detects it, as is evidenced by the feedback to the console, the /proc/mtd entry, and the fact that I can mount nftla1 and nftla2 and see the contents of the file system.
But I wanted to create a single partition, so I followed the steps in the jffs howto and did the following:
(0: sometimes do an 'erase')
1: nftl_format /dev/mtd0
2: fdisk /dev/nftla (make one big partition)
3: mke2fs /dev/nftla
4: mount -t ext2 /dev/nftla1 /mnt
5: cd /mnt; touch test
doing an 'ls' on /mnt shows lost+found/ and test. I can umount and remount and see the same thing. No errors to the console or syslog, that I have seen.
However, when I reboot, I get the following messages :
Jun 21 05:55:12 stb kernel: M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc. Jun 21 05:55:12 stb kernel: DiskOnChip Millennium found at address 0xC8000 Jun 21 05:55:12 stb kernel: Flash chip found: Manufacturer ID: 98, Chip ID: E6 (Toshiba TC58V64AFT/DC) Jun 21 05:55:12 stb kernel: 2 flash chips found. Total DiskOnChip size: 16 MiB Jun 21 05:55:12 stb kernel: mtd: Giving out device 0 to DiskOnChip Millennium Jun 21 05:55:12 stb kernel: $Id: ftl.c,v 1.35 2001/06/09 00:40:17 dwmw2 Exp $ Jun 21 05:55:12 stb kernel: ftl_cs: FTL header not found. Jun 21 05:55:12 stb kernel: M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI Jun 21 05:55:12 stb kernel: $Id: nftlcore.c,v 1.73 2001/06/09 01:09:43 dwmw2 Exp $ Jun 21 05:55:12 stb kernel: NFTL_notify_add for DiskOnChip Millennium Jun 21 05:55:12 stb kernel: NFTL_setup Jun 21 05:55:12 stb kernel: nftla: unknown partition table
After a while, I no longer get any output and there is no entry in /proc/mtd.
When I used the Millenium Only driver, I got an error from docprobe saying something like "no driver", though I could see it with lsmod.
Attached are:
.config from kernel build (most recent I've succesfully used)doc_failed_to_find: docprobe did not find the DOC log_2.4.5_doc2001mod.txt: no good driver (mod doc2001 was modprobed, though) log_2.4.5_docprobe: docprobe finds the doc with 2 partitions
Any ideas?
Thanks,
Matt
#
# Automatically generated make config: don't edit
#CONFIG_X86=yCONFIG_ISA=y
# CONFIG_SBUS is not setCONFIG_UID16=y
#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set
#
# Loadable module support
#CONFIG_MODULES=yCONFIG_MODVERSIONS=yCONFIG_KMOD=y
#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not setCONFIG_M586=y
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not setCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not setCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_X86_L1_CACHE_SHIFT=5CONFIG_X86_USE_STRING_486=yCONFIG_X86_ALIGNMENT_16=y
# CONFIG_TOSHIBA is not setCONFIG_MICROCODE=yCONFIG_X86_MSR=yCONFIG_X86_CPUID=yCONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not setCONFIG_MATH_EMULATION=yCONFIG_MTRR=yCONFIG_SMP=yCONFIG_HAVE_DEC_LOCK=y
#
# General setup
#CONFIG_NET=y
# CONFIG_VISWS is not setCONFIG_X86_IO_APIC=yCONFIG_X86_LOCAL_APIC=yCONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not setCONFIG_PCI_GOANY=yCONFIG_PCI_BIOS=yCONFIG_PCI_DIRECT=yCONFIG_PCI_NAMES=y
# CONFIG_EISA is not set
# CONFIG_MCA is not setCONFIG_HOTPLUG=y
#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not setCONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not setCONFIG_SYSCTL=yCONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not setCONFIG_BINFMT_AOUT=yCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=yCONFIG_PM=y
# CONFIG_APM is not set
#
# Memory Technology Devices (MTD)
#CONFIG_MTD=mCONFIG_MTD_DEBUG=yCONFIG_MTD_DEBUG_VERBOSE=3CONFIG_MTD_PARTITIONS=mCONFIG_MTD_REDBOOT_PARTS=m
# CONFIG_MTD_BOOTLDR_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set
#
# User Modules And Translation Layers
#CONFIG_MTD_CHAR=m
# CONFIG_MTD_BLOCK is not set
# CONFIG_MTD_BLOCK_RO is not setCONFIG_FTL=mCONFIG_NFTL=mCONFIG_NFTL_RW=y
#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_CFI_INTELEXT is not set
# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_JEDEC is not set
#
# Mapping drivers for chip access
#
# CONFIG_MTD_PHYSMAP is not set
# CONFIG_MTD_SUN_UFLASH is not set
# CONFIG_MTD_NORA is not set
# CONFIG_MTD_PNC2000 is not set
# CONFIG_MTD_RPXLITE is not set
# CONFIG_MTD_TQM8XXL is not set
# CONFIG_MTD_SC520CDP is not set
# CONFIG_MTD_NETSC520 is not set
# CONFIG_MTD_SBC_GXX is not set
# CONFIG_MTD_ELAN_104NC is not set
# CONFIG_MTD_SA1100 is not set
# CONFIG_MTD_SA1100_REDBOOT_PARTITIONS is not set
# CONFIG_MTD_SA1100_BOOTLDR_PARTITIONS is not set
# CONFIG_MTD_DC21285 is not set
# CONFIG_MTD_IQ80310 is not set
# CONFIG_MTD_DBOX2 is not set
# CONFIG_MTD_CSTM_MIPS_IXX is not set
# CONFIG_MTD_CFI_FLAGADM is not set
# CONFIG_MTD_ARM_INTEGRATOR is not set
# CONFIG_MTD_SOLUTIONENGINE is not set
# CONFIG_MTD_MIXMEM is not set
# CONFIG_MTD_OCTAGON is not set
# CONFIG_MTD_VMAX is not set
# CONFIG_MTD_OCELOT is not set
#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_LART is not set
# CONFIG_MTD_MTDRAM is not set
#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC1000 is not setCONFIG_MTD_DOC2000=mCONFIG_MTD_DOC2001=mCONFIG_MTD_DOCPROBE=mCONFIG_MTD_DOCPROBE_ADVANCED=yCONFIG_MTD_DOCPROBE_ADDRESS=0000
# CONFIG_MTD_DOCPROBE_HIGH is not setCONFIG_MTD_DOCPROBE_55AA=y
#
# NAND Flash Device Drivers
#CONFIG_MTD_NAND=m
# CONFIG_MTD_NAND_ECC is not set
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
# CONFIG_MTD_NAND_SPIA is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Plug and Play configuration
#CONFIG_PNP=yCONFIG_ISAPNP=y
#
# Block devices
#CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not setCONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not setCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_INITRD=y
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_BLK_DEV_LVM is not set
#
# Networking options
#CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK is not set
# CONFIG_NETFILTER is not set
# CONFIG_FILTER is not setCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
#
#
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
# CONFIG_PHONE_IXJ is not set
#
# ATA/IDE/MFM/RLL support
#CONFIG_IDE=y
#
# IDE, ATA and ATAPI Block devices
#CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives #
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
# CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set
# CONFIG_BLK_DEV_IDEDISK_IBM is not set
# CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set
# CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set
# CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set
# CONFIG_BLK_DEV_IDEDISK_WD is not set
# CONFIG_BLK_DEV_COMMERIAL is not set
# CONFIG_BLK_DEV_TIVO is not set
# CONFIG_BLK_DEV_IDECS is not set CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
#
# IDE chipset support/bugfixes
#CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not setCONFIG_BLK_DEV_RZ1000=yCONFIG_BLK_DEV_IDEPCI=yCONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_IDEDMA_PCI is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_IDEDMA_PCI_AUTO is not set
# CONFIG_BLK_DEV_IDEDMA is not set
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_AEC62XX_TUNING is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD7409 is not set
# CONFIG_AMD7409_OVERRIDE is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_HPT34X_AUTODMA is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_PIIX_TUNING is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX is not set
# CONFIG_PDC202XX_BURST is not set
# CONFIG_BLK_DEV_OSB4 is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
# CONFIG_IDEDMA_AUTO is not set
# CONFIG_DMA_NONPCI is not setCONFIG_BLK_DEV_IDE_MODES=y
#
# SCSI support
#
# CONFIG_SCSI is not set
#
# I2O device support
#
# CONFIG_I2O is not set
# CONFIG_I2O_PCI is not set
# CONFIG_I2O_BLOCK is not set
# CONFIG_I2O_LAN is not set
# CONFIG_I2O_SCSI is not set
# CONFIG_I2O_PROC is not set
#
# Network device support
#CONFIG_NETDEVICES=y
#
# ARCnet devices
#
# CONFIG_ARCNET is not setCONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set
#
# Ethernet (10 or 100Mbit)
#CONFIG_NET_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not setCONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_CS89x0 is not set
# CONFIG_TULIP is not set
# CONFIG_DE4X5 is not set
# CONFIG_DGRS is not set
# CONFIG_DM9102 is not set
# CONFIG_EEPRO100 is not set
# CONFIG_EEPRO100_PM is not set
# CONFIG_LNE390 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_NE3210 is not set
# CONFIG_ES3210 is not setCONFIG_8139TOO=y
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_NET_POCKET is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_HAMACHI is not set
# CONFIG_SK98LIN is not set
# CONFIG_FDDI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# Input core support
#
# CONFIG_INPUT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_SERIAL=y
# CONFIG_SERIAL_CONSOLE is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not setCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256
#
# I2C support
#
# CONFIG_I2C is not set
#
# Mice
#
# CONFIG_BUSMOUSE is not setCONFIG_MOUSE=yCONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_PC110_PAD is not set
#
# Joysticks
#
# CONFIG_JOYSTICK is not set
#
# Input core support is needed for joysticks
#
# CONFIG_QIC02_TAPE is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_INTEL_RNG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not setCONFIG_AGP=yCONFIG_AGP_INTEL=yCONFIG_AGP_I810=yCONFIG_AGP_VIA=y
# CONFIG_AGP_AMD is not setCONFIG_AGP_SIS=yCONFIG_AGP_ALI=yCONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_MGA is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not setCONFIG_AUTOFS4_FS=y
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BFS_FS is not setCONFIG_FAT_FS=mCONFIG_MSDOS_FS=m
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not setCONFIG_CRAMFS=mCONFIG_TMPFS=y
# CONFIG_RAMFS is not setCONFIG_ISO9660_FS=y
# CONFIG_JOLIET is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not setCONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not setCONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not setCONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_SYSV_FS_WRITE is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
#
# Network File Systems
#
# CONFIG_CODA_FS is not setCONFIG_NFS_FS=y
# CONFIG_NFS_V3 is not set
# CONFIG_ROOT_NFS is not setCONFIG_NFSD=y
# CONFIG_NFSD_V3 is not setCONFIG_SUNRPC=yCONFIG_LOCKD=y
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not setCONFIG_MSDOS_PARTITION=y
# CONFIG_SMB_NLS is not setCONFIG_NLS=y
#
# Native Language Support
#CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
#
# Console drivers
#CONFIG_VGA_CONSOLE=y
# CONFIG_VIDEO_SELECT is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# USB support
#
# CONFIG_USB is not set
#
# Kernel hacking
#
# CONFIG_MAGIC_SYSRQ is not set
Jun 22 05:49:46 stb kernel: M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc. Jun 22 05:49:46 stb kernel: $Id: ftl.c,v 1.35 2001/06/09 00:40:17 dwmw2 Exp $ Jun 22 05:49:46 stb kernel: M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI Jun 22 05:49:46 stb kernel: $Id: nftlcore.c,v 1.73 2001/06/09 01:09:43 dwmw2 Exp $ Jun 22 06:35:56 stb kernel: M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI Jun 22 06:35:56 stb kernel: $Id: nftlcore.c,v 1.73 2001/06/09 01:09:43 dwmw2 Exp $ Jun 22 06:36:26 stb kernel: out-of-line wait Jun 22 06:36:26 stb kernel: _DoC_WaitReady called for out-of-line wait Jun 22 06:36:26 stb last message repeated 347 times Jun 22 06:36:26 stb kernel: Cannot calculate an NFTL geometry to match size of 0x7cf0. Jun 22 06:36:26 stb kernel: Using C:999 H:16 S:2 (== 0x7ce0 sects) Jun 22 06:36:26 stb kernel: nftla:<6>NFTL_request Jun 22 06:36:26 stb kernel: NFTL Read request, from sector 0x0000 for 0x0002 sectors Jun 22 06:36:26 stb kernel: Waiting for mutex Jun 22 06:36:26 stb kernel: Got mutex Jun 22 06:36:26 stb kernel: NFTL read request of 0x2 sectors @ 0 (req->nr_sectors == 2) Jun 22 06:36:26 stb kernel: NFTL read request completed OK Jun 22 06:36:26 stb kernel: end_request(1) Jun 22 06:36:26 stb kernel: nftla1 nftla2 Jun 22 06:00:15 stb kernel: M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI Jun 22 06:00:15 stb kernel: $Id: nftlcore.c,v 1.73 2001/06/09 01:09:43 dwmw2 Exp $ Jun 22 06:00:56 stb kernel: M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc. Jun 22 06:00:56 stb modprobe: modprobe: Can't locate module doc2000 Jun 22 06:00:56 stb kernel: Cannot find driver for DiskOnChip Millennium at 0xC8000
Quoted 5 lines · [email protected] said:
But I wanted to create a single partition, so I followed the steps in the jffs howto and did the following:
(0: sometimes do an 'erase')
1:nftl_format/dev/mtd0
2: fdisk/dev/nftla(make one big partition)
You didn't need step 1. We definitely shouldn't be encouraging people to do that. Just using fdisk to change the partitioning would have been enough.
Quoted 1 line
3: mke2fs
/dev/nftla
Is this a typo? Having made a partition you then erased it by using mkfs on the _whole_ device rather than the single partition. That's fine if it's what you wanted... but...
Quoted 1 line
4: mount -t ext2
/dev/nftla1/mnt
I'm amazed this worked.
Quoted 2 lines · [email protected] said:
When I used the Millenium Only driver, I got an error from docprobe
saying something like "no driver", though I could see it with lsmod.
To use that, you need to undef DOC_SINGLE_DRIVER in docprobe.c
--
dwmw2
Quoted 10 lines · David Woodhouse
Quoted 5 lines · [email protected] said:
But I wanted to create a single partition, so I followed the steps in the jffs howto and did the following:
(0: sometimes do an 'erase')
1:nftl_format/dev/mtd0
2: fdisk/dev/nftla(make one big partition)You didn't need step 1. We definitely shouldn't be encouraging people to do that. Just using fdisk to change the partitioning would have been enough.
So I should really only nftl_format when the DOC is hosed?
Quoted 6 lines
Quoted 1 line
3: mke2fs
/dev/nftlaIs this a typo? Having made a partition you then erased it by using mkfs on the _whole_ device rather than the single partition. That's fine if it's what you wanted... but...
That should have been mke2fs /dev/nftla1
The intent was to make the fs on the partition...
Quoted 4 lines
Quoted 1 line
4: mount -t ext2
/dev/nftla1/mntI'm amazed this worked.
Well... had I typed #3 correctly, you probably wouldn't be as amazed. ;-)
Quoted 6 lines
Quoted 2 lines · [email protected] said:
When I used the Millenium Only driver, I got an error from docprobe
saying something like "no driver", though I could see it with lsmod.To use that, you need to undef
DOC_SINGLE_DRIVERindocprobe.c
Oh, yeah... that's even in the doc. Sorry. Which driver would you recommend in this situation? The Millenium-only?
Also, any ideas why the DOC "disappears" after a while -- e.g. why, after doing the above process a few times, the DOC is no longer detected?
Thanks,
Matt