LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-11-2011, 08:48 AM   #1
kaushal_kansara
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
Question Kernel is Crashing while mouning the Hard Disk


I am Using Nextchip SOC NVP3114 with Sil3114 as PCI to SATA Bridge.

Also using linux kernel version 2.6.14.

Many time The Kernel is detecting the HDD connected on one port of Sil3114.

But when i give mount /dev/sda1 /mnt/sda1 command. Kernel is getting crashed. It hangs and some times prints trace back the then go for toes.


Is there any one who can help in debuggubg this issue or provide pointer which will help me in fiding out whether it is Hardware issue or KErnel Issue?
 
Old 04-11-2011, 10:44 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,240

Rep: Reputation: 60
download and boot a cd based linux live version like knoppix and see what that does.
 
Old 04-11-2011, 03:41 PM   #3
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,627

Rep: Reputation: 140Reputation: 140
Many time The Kernel is detecting the HDD connected on one port of Sil3114.
Based on the information you provide above, it look like kernel doesn't support the sil3114 completely.
 
Old 04-19-2011, 05:49 AM   #4
kaushal_kansara
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Question

U-Boot 2008.10 (Mar 18 2011 - 12:52:34)

I2C : ready
DRAM Size : 256 MB
Manufacturer: AMD (Spansion)
Spansion Mirror Bit flash: addr[28] = 22 addr[30] = 01
Flash Size : 32 MB

======== Bootloader Version PCI_DDR_256MB 2010/03/09 =======

MUX : NVP1114MXA(PAL mode)
NVP1114MX(CS0) H/I OK
NVP1114MX(CS1) H/I OK
NVP1114MX(CS2) H/I OK
NVP1114MX(CS3) H/I OK
VGA : NVP5000(HPI, 800x600)
NET : FTMAC110#0
Hit any key to stop autoboot: 0
=> tftp 2000000 uImage_pcitest
Using eth0 device
TFTP from server 192.168.101.49; our IP address is 192.168.101.185
Filename 'uImage_pcitest'.
Load address: 0x2000000
Loading: t RD_REQ, file: uImage_pcitest
#################################################################
##############################
done
Bytes transferred = 1391188 (153a54 hex)
=> bootm 2000000 40200000
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-2.6.14
Created: 2011-04-11 6:26:15 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1391124 Bytes = 1.3 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 40200000 ...
Image Name: Ramdisk
Created: 2011-04-07 4:57:17 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2968616 Bytes = 2.8 MB
Load Address: 04000000
Entry Point: 04000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux............................................................................................ done, booting the kernel.
Linux version 2.6.14 (jigarbaria@jigarbaria) (gcc version 3.4.4) #483 Mon Apr 11 11:56:12 IST 2011
CPU: FA626TEid(wb) [66056261] revision 1 (ARMv5TE)
Machine: NEXTCHIP NVS3211
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIPT write-back cache
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Built 1 zonelists
Kernel command line: mem=256M console=uart,shift,2,io,0xF9820000,115200 initcall_debug user_debug=31
PID hash table entries: 1024 (order: 10, 16384 bytes)
NC Clock: CPU=500MHz,AHB=125MHz
FTTMR010 timer 0 installed on IRQ 17, with clock 62500000 at 1000 HZ.
IC: NVS3211
Console: colour dummy device 80x30
Early serial console at I/O port 0xf9820000 (options '115200', shift 2)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 253824KB available (2352K code, 480K data, 124K init)
Calibrating delay loop... 497.66 BogoMIPS (lpj=248832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 2899K
NET: Registered protocol family 16
NC AHB DMA Driver Init Ok
APB DMA Driver Init Ok
NC PCI driver Init, version 1.2.0
arch/arm/mach-GM/ftpci.c : ftpci_init :Init PCI bridge controller
arch/arm/mach-GM/ftpci.c : ftpci_init :Name:GM PCIC, Base=F90A0000, End=F90A0FFF
arch/arm/mach-GM/ftpci.c : ftpci_preinit :Config addr is F90A0000, data port is F90A0004
arch/arm/mach-GM/ftpci.c : ftpci_probe :GM FPCI bridge probed ok
arch/arm/mach-GM/ftpci.c : ftpci_setup_resource :PCI I/O space from F9140000 to F914FFFF
arch/arm/mach-GM/ftpci.c : ftpci_setup_resource :PCI Memory space from A0000000 to AFFFFFFF

cmd 0
bar0 fffff000 bar1 0 bar2 0 bar3 0 bar4 0 bar5 0

ftpcix_open_iwin
ftpcix_release_cfg_lock
PCI: bus0: Fast back to back transfers disabled
arch/arm/mach-GM/ftpci.c : ftpci_postinit :ftpci_postinit()
arch/arm/mach-GM/ftpci.c :ftpci_postinit: Post init ok
arch/arm/mach-GM/ftpci.c : ftpci_map_irq :a320_map_irq,slot=0 pin=1
Not Support Slot 0
arch/arm/mach-GM/ftpci.c : ftpci_map_irq :a320_map_irq,slot=10 pin=1
Has one Card at Slot 10
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
fuse init (API version 7.2)
Serial: 8250/16550 driver $Revision: 1.3 $ 5 ports, IRQ sharing disabled
UART pin mux set only four UART
ttyS0 at I/O 0xf9820000 (irq = 19) is a 16550A
ttyS1 at I/O 0xf9830000 (irq = 20) is a 16550A
ttyS2 at I/O 0xf9890000 (irq = 21) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
io scheduler old registered
RAMDISK driver initialized: 2 RAM disks of 131072K size 1024 blocksize
loop: loaded (max 8 devices)
Faraday FTMAC110 Driver (Linux 2.6) 12/25/06 - (C) 2006 Faraday Corp.
eth0: device at 0xf9090000 IRQ:13 NOWAIT:0
drivers/pci/pci-driver.c : pci_match_device : pci device id 1095 , pci vendor 3114
drivers/pci/pci-driver.c : pci_match_device : pci device id 1095 , pci vendor 3114
PCI: enabling device 0000:00:0a.0 (0140 -> 0143)
pci_iomap---------------------
arch/arm/mm/ioremap.c : pci_iomap :start = a0080000 len = 400 flags = 200
call ioremap_nocache
__ioremap---------------------
drivers/scsi/sata_sil.c : sil_init_one :Hwarang mmio base = d085e000 1085e000
sata_sil 0000:00:0a.0: Applying R_ERR on DMA activate FIS errata fix
drivers/scsi/libata-core.c : ata_device_add : ENTER
ata1: SATA max UDMA/100 cmd 0xD085E080 ctl 0xD085E08A bmdma 0xD085E000 irq 111
ata2: SATA max UDMA/100 cmd 0xD085E0C0 ctl 0xD085E0CA bmdma 0xD085E008 irq 111
ata3: SATA max UDMA/100 cmd 0xD085E280 ctl 0xD085E28A bmdma 0xD085E200 irq 111
ata4: SATA max UDMA/100 cmd 0xD085E2C0 ctl 0xD085E2CA bmdma 0xD085E208 irq 111
ata1: SATA link down (SStatus 0)
scsi0 : sata_sil
ata2: SATA link up 1.5 Gbps (SStatus 113)
drivers/scsi/libata-core.c : ata_altstatus :check_altstatus true
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 25 [#1]
Modules linked in:
CPU: 0
PC is at do_page_fault+0x38/0x250
LR is at do_translation_fault+0x2c/0xb8
pc : [<c00301c4>] lr : [<c0030408>] Not tainted
sp : c055fcb8 ip : c055e000 fp : c055fcf0
r10: 00000000 r9 : 00000000 r8 : c055fd2c
r7 : 00000000 r6 : c055fd2c r5 : c0536cc0 r4 : ffffffff
r3 : 00000000 r2 : c055fd2c r1 : 00000000 r0 : 00000000
Flags: nzcv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 397F Table: 00004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc055e194)
Stack: (0xc055fcb8 to 0xc0560000)
fca0: c0040940 60000013
fcc0: ffffffff 00000000 ffffffff c055fd60 00000000 00000000 c055fd2c 60000013
fce0: 00000000 c055fd18 c055fcf4 c0030408 c003019c c027a72c ffffffff c055fd60
fd00: 00000000 c41fd264 00000000 c055fd28 c055fd1c c00305a4 c00303ec c055fd84
fd20: c055fd2c c0029140 c003059c c41fd23c 00002828 00000000 c023704c c41fd23c
fd40: c41fd23c 00000000 c41fd264 00000000 c423d7e0 00000000 c055fd84 60000093
fd60: c055fd74 c0170698 00000000 60000013 ffffffff c41fd264 c055fd94 c055fd88
fd80: c017102c c0170668 c055fda8 c055fd98 c0170dec c0171018 c41fd23c c055fdf0
fda0: c055fdac c0171bf4 c0170dd4 00000000 00000113 c027a0ac c41f6000 c41fd23c
fdc0: c40b4800 c055fdf0 c41fd23c c41f623c c40b4904 c41f6000 c41fd23c c423d7e0
fde0: c40b4800 c055fe04 c055fdf4 c0172004 c0171bc4 00000001 c055feac c055fe08
fe00: c01748b4 c0171fec c423d7e0 d085e2ca d085e208 0000006f c055fe24 c0040c84
fe20: c00407fc 00000000 d085e000 c055fe8c 00000000 c0030b8c c053a844 00000001
fe40: 00000004 a0022000 c0007424 c0007428 00000000 d085f000 cf822000 00000000
fe60: 00000000 60000013 d085e000 c40b4800 c055fe94 c055fe80 c012a930 c0033a94
fe80: 00000147 00010000 d085e000 c40b4800 00000004 c053a800 00000004 c0236ff4
fea0: c055fee4 c055feb0 c01787b4 c01745b0 1085e000 c0236ee0 0824cf9c c053a800
fec0: c028b4f0 ffffffed 00000000 00000000 00000000 00000000 c055ff04 c055fee8
fee0: c012c6c0 c0178414 c053a844 00000000 c028b51c c028b51c c055ff20 c055ff08
ff00: c0151f70 c012c670 c053a8f4 c055ff38 c0152068 c055ff34 c055ff24 c01520b4
ff20: c0151f24 00000000 c055ff60 c055ff38 c01515f0 c0152078 c02849d8 c02849d8
ff40: c053a88c c028b530 c028b51c 00000000 c02848f0 c055ff70 c055ff64 c0152100
ff60: c01515b0 c055ff98 c055ff74 c0151a70 c01520f0 c028b51c c055e000 00000000
ff80: c0021a10 00000000 00000000 c055ffb0 c055ff9c c01524f4 c0151a14 00000000
ffa0: c0021984 c055ffc4 c055ffb4 c012c52c c01524c4 c0040a00 c055ffd4 c055ffc8
ffc0: c001e360 c012c4d4 c055fff4 c055ffd8 c0028224 c001e35c 00000000 00000000
ffe0: 00000000 00000000 00000000 c055fff8 c0042240 c00281a8 2b209765 0c088d08
Backtrace:
[<c003018c>] (do_page_fault+0x0/0x250) from [<c0030408>] (do_translation_fault+0x2c/0xb8)
[<c00303dc>] (do_translation_fault+0x0/0xb8) from [<c00305a4>] (do_PrefetchAbort+0x18/0x1c)
r8 = 00000000 r7 = C41FD264 r6 = 00000000 r5 = C055FD60
r4 = FFFFFFFF
[<c003058c>] (do_PrefetchAbort+0x0/0x1c) from [<c0029140>] (__pabt_svc+0x40/0x80)
[<c0170658>] (ata_altstatus+0x0/0xac) from [<c017102c>] (ata_std_dev_select+0x24/0x34)
r4 = C41FD264
[<c0171008>] (ata_std_dev_select+0x0/0x34) from [<c0170dec>] (ata_devchk+0x28/0xe8)
[<c0170dc4>] (ata_devchk+0x0/0xe8) from [<c0171bf4>] (ata_bus_reset+0x40/0x428)
r4 = C41FD23C
[<c0171bb4>] (ata_bus_reset+0x0/0x428) from [<c0172004>] (sata_phy_reset+0x28/0x2c)
[<c0171fdc>] (sata_phy_reset+0x0/0x2c) from [<c01748b4>] (ata_device_add+0x314/0xafc)
r4 = 00000001
[<c01745a0>] (ata_device_add+0x0/0xafc) from [<c01787b4>] (sil_init_one+0x3b0/0x428)
[<c0178404>] (sil_init_one+0x0/0x428) from [<c012c6c0>] (pci_device_probe+0x60/0x80)
[<c012c660>] (pci_device_probe+0x0/0x80) from [<c0151f70>] (driver_probe_device+0x5c/0xa8)
r7 = C028B51C r6 = C028B51C r5 = 00000000 r4 = C053A844
[<c0151f14>] (driver_probe_device+0x0/0xa8) from [<c01520b4>] (__driver_attach+0x4c/0x78)
r6 = C0152068 r5 = C055FF38 r4 = C053A8F4
[<c0152068>] (__driver_attach+0x0/0x78) from [<c01515f0>] (bus_for_each_dev+0x50/0x84)
r4 = 00000000
[<c01515a0>] (bus_for_each_dev+0x0/0x84) from [<c0152100>] (driver_attach+0x20/0x28)
r7 = C02848F0 r6 = 00000000 r5 = C028B51C r4 = C028B530
[<c01520e0>] (driver_attach+0x0/0x28) from [<c0151a70>] (bus_add_driver+0x6c/0x138)
[<c0151a04>] (bus_add_driver+0x0/0x138) from [<c01524f4>] (driver_register+0x40/0x4c)
[<c01524b4>] (driver_register+0x0/0x4c) from [<c012c52c>] (pci_register_driver+0x68/0x80)
r4 = C0021984
[<c012c4c4>] (pci_register_driver+0x0/0x80) from [<c001e360>] (sil_init+0x14/0x1c)
[<c001e34c>] (sil_init+0x0/0x1c) from [<c0028224>] (init+0x8c/0x210)
[<c0028198>] (init+0x0/0x210) from [<c0042240>] (do_exit+0x0/0xae4)
r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000
Code: e1a09000 e59c500c 0a00000a e592303c (e5932000)
<0>Kernel panic - not syncing: Attempted to kill init!
 
Old 04-19-2011, 03:17 PM   #5
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,627

Rep: Reputation: 140Reputation: 140
Based on crash information, SATA device initialization is failure.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy of IBM Server hard disk data to Another USB External Hard disk mazharcdn Linux - Server 2 09-02-2009 01:41 AM
RTAI kernel can't find hard disk at boot, but normal kernel can jamwaffles Linux - Software 0 04-08-2009 02:44 PM
mounting linux files from another hard disk(IDE) to current hard disk(sata) the lord protector Linux - Hardware 5 05-04-2008 12:30 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 11:55 AM
Help! Server's hard disk crashing in UDMA mode! Avatar Linux - Hardware 2 12-20-2004 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration