Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2009 17:32:24 +0530
From:      "P Jagadeesh Maiya" <pjmaiya@signal-networks.com>
To:        <freebsd-ppc@freebsd.org>
Cc:        ksaithal <ksaithal@signal-networks.com>, P J Maiya <pjmaiya@signal-networks.com>
Subject:   Hard disk access
Message-ID:  <002201c9dd30$aab95090$4d01a8c0@pjmaiya>

index | next in thread | raw e-mail

[-- Attachment #1 --]
hi,
    We are using MPC860 running on monta vista linux3.0. Our products is able to boot using NFS as well as parallel ATA hard disk. 
Since ATA hard disk almost vanishing, we are forced to use SATA hard disk. For this, we have used parallel IDE to SATA conversion h/w.
By booting in NFS, we were able to format the hard disk and also able to copy filesystem image on to hard disk. But when we boot using hard disk system some time hangs in execv(/sbin/init). Very rarely booting happens completely. Some time hard disk file sytem gets corrupted. 

Following errors occurs:
1. System hangs displaying freeing kernel memory(basically hangs in execv(/sbin/init))
2. Some time expection arises(message-Bad emulation init/1)
3. Some time boots properly
4. Some time entire filesystem gets corrupted

We are running CPU@130Mhz. 

Find also the attachement for knowing the ouput.


Can any one help me to solve this problem??



Thanx in advance.

rgds,
pjmaiya
[-- Attachment #2 --]
   Verifying Checksum ... OK
   Loading image...Done
Linux version 2.4.18_mvl30-fads (root@icm1) (gcc version 3.2.1 20020930 (MontaVista)) #256 Mon May 25 12:29:06 IST 2009
On node 0 totalpages: 131072
zone(0): 131072 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda1 rw rootpath=/
rtsched version <20011203.1609.50>
Decrementer Frequency = 487500000/60
Warning: real time clock seems stuck!
Calibrating delay loop... 129.84 BogoMIPS
Memory: 514016k available (1440k kernel code, 540k data, 56k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
Journalled Block Device driver loaded
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
ICMv1: Version:01.01.01-ICMv1-TAG_NONE-May 25 2009-12:29:13#01.01
CPM UART driver version 0.03
ttyS0 on SMC1 at 0x0280, BRG1
ttyS1 on SMC2 at 0x0380, BRG2
pty: 256 Unix98 ptys configured
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
IDE phys mem : feff0000...feff0200 (size 00000200)
hda: probing with STATUS(0x50) instead of ALTSTATUS(0x00)
hda: ST9120821AS, ATA DISK drive
ide0 at 0xe1000010-0xe1000017,0xe1000020 on irq 12
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=232581/16/63
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 >
eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 8, addr 00:1a:b0:00:01:53
eth0: Phy @ 0x0, type LXT971 (0x001378e2)
loop: loaded (max 8 devices)
ND_PPP register to nd-ppp device successfully
init_icm_mtd: chip probing count 0
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
init_icm_mtd: bank1, name:ICM0, size:16777216bytes 
ICM flash0: Using Static image partition definition
Creating 3 MTD partitions on "ICM0":
0x00200000-0x00400000 : "icm-configs"
0x00400000-0x00440000 : "icm-pbx-grp-configs"
0x00440000-0x004c0000 : "icm-pbx-ext-configs"
I2C_INIT...:i2c initialization  Done 
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 131072 bind 65536)
eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
IP-Config: Incomplete network configuration information.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
CODEC : IDT : $ Codec Driver ,v 1.0 2004/07/20 DTMF : FPGA  on irq 10 
Failed to Register Codecs 
CPU Clock speed:130000000SPI : MPC8xx : $ SPI Driver ,v 1.0 2004/07/20  
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing unused kernel memory: 56k init

[-- Attachment #3 --]
   Verifying Checksum ... OK
   Loading image...Done
Linux version 2.4.18_mvl30-fads (root@icm1) (gcc version 3.2.1 20020930 (MontaVista)) #260 Mon May 25 12:48:52 IST 2009
On node 0 totalpages: 131072
zone(0): 131072 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda1 rw rootpath=/
rtsched version <20011203.1609.50>
Decrementer Frequency = 487500000/60
Warning: real time clock seems stuck!
Calibrating delay loop... 129.84 BogoMIPS
Memory: 514016k available (1440k kernel code, 540k data, 56k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
Journalled Block Device driver loaded
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
ICMv1: Version:01.01.01-ICMv1-TAG_NONE-May 25 2009-12:48:59#01.01
CPM UART driver version 0.03
ttyS0 on SMC1 at 0x0280, BRG1
ttyS1 on SMC2 at 0x0380, BRG2
pty: 256 Unix98 ptys configured
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
IDE phys mem : feff0000...feff0200 (size 00000200)
hda: probing with STATUS(0x50) instead of ALTSTATUS(0x00)
hda: ST9120821AS, ATA DISK drive
ide0 at 0xe1000010-0xe1000017,0xe1000020 on irq 12
SNPL:HD SETUP
SNPL:HD CAPCITY
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=232581/16/63
Partition check:
 hda:SNPL: HDD R/W
hda: reading: LBAsect=0, sectors=8, buffer=0xc0b5c000
 hda1 hda2 hda3 hda4 <SNPL: HDD R/W
hda: reading: LBAsect=57345120, sectors=8, buffer=0xc0b5a000
 hda5 >
eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 8, addr 00:1a:b0:00:01:53
eth0: Phy @ 0x0, type LXT971 (0x001378e2)
loop: loaded (max 8 devices)
ND_PPP register to nd-ppp device successfully
init_icm_mtd: chip probing count 0
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
init_icm_mtd: bank1, name:ICM0, size:16777216bytes 
ICM flash0: Using Static image partition definition
Creating 3 MTD partitions on "ICM0":
0x00200000-0x00400000 : "icm-configs"
0x00400000-0x00440000 : "icm-pbx-grp-configs"
0x00440000-0x004c0000 : "icm-pbx-ext-configs"
I2C_INIT...:i2c initialization  Done 
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 131072 bind 65536)
eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
IP-Config: Incomplete network configuration information.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
CODEC : IDT : $ Codec Driver ,v 1.0 2004/07/20 DTMF : FPGA  on irq 10 
Failed to Register Codecs 
CPU Clock speed:130000000SPI : MPC8xx : $ SPI Driver ,v 1.0 2004/07/20  
journald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal
hda: writing: LBAsect=4231, sectors=8, buffer=0xdfef9000
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing unused kernel memory: 56k init
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
SNPL: HDD R/W
hda: writing: LBAsect=4231, sectors=8, buffer=0xdfef9000
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
SNPL: HDD R/W
hda: writing: LBAsect=4239, sectors=24, buffer=0xdfe4b000
SNPL: HDD R/W
hda: writing: LBAsect=4263, sectors=8, buffer=0xdfe4a000
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd
Bad emulation init/1
 NIP: 0ff00de4 instruction: 03782c03 opcode: 0 A: 18 B: 5 C: 10 code: 201 rc: 1
 pte @ 0x ff00de4:  (0xc01ac0fc)->(0xdfecac00)->0x1fe50889
 RPN: 1fe50 PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
Kernel VA for NIP dfe50de4  pte @ 0xdfe50de4: no pmd

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002201c9dd30$aab95090$4d01a8c0>