[BusyBox] Problem with mkdir of busybox-0.60.5 version
k.s.sathish at delphiauto.com
k.s.sathish at delphiauto.com
Tue Nov 12 08:57:03 UTC 2002
Hello all,
I am working with busybox-0.60.5 version and Linux 2.4.18 kernel. At present i
do not have any virtual terminals, i use the serial console debug port on my
hardware platform.
I have used tinylogin-1.2 version to pop up a login session to the users at the
end of booting process.
I had to make some change to init.c of busybox to route the messages to serial
console. The debug message seen on the serial console is listed below:
======================================================================================
Linux version 2.4.18 (sathish at ECT_LINUX) (gcc version 3.0.4) #113 Fri Oct 25 1
5:21:19 IST 2002
HSA ASPEN/TAHOE Setup...
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: mem=32M init=/sbin/init console=ttySC1,115200 hpLED=0
Setting GDB trap vector to 0xa0000100
CPU clock: 200.01MHz
Bus clock: 66.67MHz
Module clock: 33.33MHz
Interval = 83340
Calibrating delay loop... 199.47 BogoMIPS
Memory: 21344k/32768k available (514k kernel code, 11424k reserved, 14k data, 28
k init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: SH7750/SH7751
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
SuperH SCI(F) driver initialized
ttySC0 at 0xffe00000 is a SCI
ttySC1 at 0xffe80000 is a SCIF
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 10240k freed
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 28k freed
Hello worldMessage Log :console=%s
init started: %s
Message Log :Starting pid %d, console %s: '%s'
Welcome Linux World
Message Log :Starting pid %d, console %s: '%s'
(none) login: sathish
Password:
BusyBox v0.60.5 (2002.11.12-15:23+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
$
$ pwd
/home/sathish
$
$ mdkir files
Fixing up unaligned userspace access in "ash" pid=12 pc=0x295d0fe0 ins=0x6912
Message Log :Starting pid %d, console %s: '%s'
(none) login: sathish
Password:
BusyBox v0.60.5 (2002.11.12-15:23+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
$ ls -al
drwxr-xr-x 2 sathish ect 1024 Nov 11 2002 .
drwxrwxr-x 6 root root 1024 Nov 11 2002 ..
$ mkdir /test
mkdir: Segmentation fault
===============================================================================================
When i have to create directory in my home directory i get the above problem. An
attempt to create a directory in root would give me Segmentation fault.
When i try to give a ps, to see the processes running i dont get to see any
process listing.
Can anyone guide me towards a solution.
Thanks in advance!!!!
-Sathish
More information about the busybox
mailing list