[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: mount /dev/flash2 problems



Hi Patrick,
have you made changes to the kernel configuration (i.e. "make xconfig" or "make menuconfig"). When the kernel has been successfully built ("make kernel"), a copy of the latest .config is saved in axis/devboard_lx/kernelconfig.latest. If you send me that file I'll take a look at it.

Also check that the following lines are the file axis/devboard_lx/eroot/dev/romfs_meta.txt:

Device: cflash0 c 90 0
Device: cflash1 c 90 2
Device: cflash2 c 90 4
Device: cflash3 c 90 6
Device: flash0 b 31 0
Device: flash1 b 31 1
Device: flash2 b 31 2
Device: flash3 b 31 3

mkcramfs uses them when creating the nodes in /dev.

/Jonas

> -----Original Message-----
> From: Patrick O. Murphy [mailto:murphpo@xxxxxxx.edu]
> Sent: Monday, April 23, 2001 12:36 PM
> To: dev-etrax@xxxxxxx.com
> Subject: mount /dev/flash2 problems
> 
> 
> i've been using the new devboard software for a couple of 
> days, and it has
> worked really well- until now. Now, whenever I try to boot my 
> board, the
> boot process dies after printing:
> 	Mounting /dev/flash2 on /mnt/flash
> 	mount: Mounting /dev/flash2 on /mnt/flash failed: No such device
> 
> I've rebuilt the kernel, apps and images (i.e. make kernel, 
> make install
> and make imagess), but I still get this boot problem with 
> both ktest and
> flashit.
> 
> any ideas?
> 	thanks, patrick
> 
> ===================================================
> Here's the full version of the boot debug output:
> 
> Uncompressing Linux...
> Done. Now booting the kernel.
> Linux version 2.4.3 (root@xxxxxxx.96
> 20000427 (experimental)) #12 Mon Apr 23 04:07:59 CDT 2001
> Setting up paging and the MMU.
> On node 0 totalpages: 1024
> zone(0): 1024 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB
> Kernel command line:
> DS1302 RTC found.
> SDA, SCL, RST on PB0, PB1, PB2
> rtc_time        : 00:00:80
> rtc_date        : 2000-01-01
> rtc: sec 0x80 min 0x0 hour 0x0 day 0x1 mon 0x1 year 0x0
> Enabling watchdog...
> Calibrating delay loop... 19.91 BogoMIPS
> Memory: 7008k/8192k available (704k kernel code, 1184k 
> reserved, 65k data,
> 24k init)
> kmem_create: Forcing size word alignment - vm_area_struct
> kmem_create: Forcing size word alignment - filp
> Dentry-cache hash table entries: 1024 (order: 0, 8192 bytes)
> Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
> Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
> kmem_create: Forcing size word alignment - kiobuf
> kmem_create: Forcing size word alignment - bdev_cache
> Inode-cache hash table entries: 1024 (order: 0, 8192 bytes)
> kmem_create: Forcing size word alignment - inode_cache
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Starting kswapd v1.8
> kmem_create: Forcing size word alignment - file lock cache
> kmem_create: Forcing size word alignment - blkdev_requests
> block: queued sectors max/low 4538kB/1512kB, 64 slots per queue
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001 Axis 
> Communications AB
> eth0 initialized
> eth0: changed MAC to 00:40:8C:CD:00:00
> ETRAX 100LX serial-driver $Revision: 1.11 $, (c) 2000 Axis 
> Communications
> AB
> ttyS0 at 0xb0000060 is a builtin UART with DMA
> ttyS1 at 0xb0000068 is a builtin UART with DMA
> ttyS2 at 0xb0000070 is a builtin UART with DMA
> ttyS3 at 0xb0000078 is a builtin UART with DMA
> Axis flash mapping: 8000000 at 50000000
> Axis flash: Found no CFI device at location zero
> Axis flash: Probing for AMD compatible flash...
> Axis flash: Found 1 x 16Mb Toshiba TC58FVT160 at 0x0
>  Found valid partition table at 0x5001000A-0x50010056.
>   /dev/flash1 at 0x10000, size 0x1a0000
>   /dev/flash2 at 0x1b0000, size 0x50000
> I2C driver v2.2, (c) 1999-2001 Axis Communications AB
> EEPROM char device v0.3, (c) 2000 Axis Communications AB
> e100eeprom: Assuming i2c compatible 2Kb eeprom.
> ETRAX 100LX GPIO driver v2.1, (c) 2001 Axis Communications AB
> ETRAX 100LX synchronous serial port driver
> Bluetooth Driver v1.3, Copyright (c) 2000, 2001 Axis Communications AB
> BT SYS: Bluetooth driver registered in ttyBT
> BT SYS: Bluetooth line discipline registered.
> BT (driver) Initiating bt ctrl struct
> BT SYS: Registering BT proc files
> BT SYS: Bluetooth Driver Using ttyBT[0-6] (data), ttyBTC (ctrl [7])
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP
> kmem_create: Forcing size word alignment - ip_dst_cache
> IP: routing cache hash table of 1024 buckets, 8Kbytes
> TCP: Hash tables configured (established 1024 bind 1024)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> VFS: Mounted root (cramfs filesystem) readonly.
> Init starts up...
> Mounting proc on /proc
> Mounting /dev/flash2 on /mnt/flash
> mount: Mounting /dev/flash2 on /mnt/flash failed: No such device
> [ jffs FAILED ]
> Cannot find /etc/release
> [ issue FAILED ]
> Mounting ramfs on /var
> Initializing /var
> /usr/rc.d/S35network: cannot create /etc/network/mac.conf: directory
> nonexistent
> .: Can't open /etc/network/network.conf
> [ network FAILED ]
> .: Can't open /etc/network/network.conf
> [ dhclient FAILED ]
> open() of inittabKernel panic: Attempted to kill init!
> : No such file or directory
> 
>