[#3891] default configured kernel booting up stops at sda on bf548-ezkit
Submitted By: Mingquan Pan
Open Date
2008-02-13 01:43:48 Close Date
2008-02-14 02:47:53
Priority:
Medium Assignee:
Sonic Zhang
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
08r1-6
App binary format:
N/A
Summary: default configured kernel booting up stops at sda on bf548-ezkit
Details:
default configured kernel booting up stops at sda on bf548-ezkit. It happens during kernel r4213-4215 are checked in.
bfin> boote
Loading .text @ 0x00001000 (1523936 bytes)
Loading .rodata @ 0x00176000 (411104 bytes)
Loading __ksymtab @ 0x001da5e0 (16936 bytes)
Loading __ksymtab_gpl @ 0x001de808 (5336 bytes)
Loading __ksymtab_strings @ 0x001dfce0 (54732 bytes)
Loading __param @ 0x001ed2ac (1000 bytes)
Loading .data @ 0x001ee000 (90112 bytes)
Loading .init.text @ 0x00204000 (127896 bytes)
Loading .init.data @ 0x00223398 (13068 bytes)
Loading .init.setup @ 0x002266a4 (612 bytes)
Loading .initcall.init @ 0x00226908 (552 bytes)
Loading .con_initcall.init @ 0x00226b30 (4 bytes)
Loading .init.ramfs @ 0x00226b34 (4504928 bytes)
Loading .text_l1 @ 0xffa00000 (5764 bytes)
sh_addr: FFA00000, p_paddr: 00672894
Loading from: 02673000 to 00672894, size: 5764
Loading .data_l1 @ 0xff800000 (192 bytes)
sh_addr: FF800000, p_paddr: 00673F18
Loading from: 02675000 to 00673F18, size: 192
Clearing .bss @ 0x00674000 (70832 bytes)
## Starting application at 0x00001000 ...
Linux version 2.6.22.16-ADI-2008R1-svn4215 (test@linux) (gcc version 4.1.2 (ADI svn)) #18 Wed Feb 13 16:23:34 CST 2008
early printk enabled on early_BFuart0
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF548 Rev 0.0
Warning: Compiled for Rev 0, but running on Rev 1
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
text = 0x00001000-0x001750e0
rodata = 0x00176000-0x001ed694
data = 0x001ee000-0x00204000
stack = 0x001ee000-0x001f0000
init = 0x00204000-0x00674000
bss = 0x00674000-0x006854b0
available = 0x006854b0-0x03dff000
DMA Zone = 0x03e00000-0x04000000
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists. Total pages: 15748
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 56228k/65536k RAM, (4544k init code, 1488k kernel code, 641k data, 2048k dma, 584k reserved)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Data A SRAM: 16 KB (15 KB free)
Blackfin Data B SRAM: 16 KB (16 KB free)
Blackfin Instruction SRAM: 48 KB (42 KB free)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
ezkit_init(): registering device resources
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bf54x-lq043: FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x033f5000 - 512 pages at 0x03e00000
bfin-otp: initialized
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
smsc911x: Driver version 2007-07-13.
register bfin atapi driver
scsi0 : pata-bf54x
ata1: PATA max UDMA/66 cmd 0x00000000 ctl 0xffc03800 bmdma 0x00000000 irq 68
ata1.00: ATA-6: TOSHIBA MK4032GAX, AD101A, max UDMA/100
ata1.00: 78140160 sectors, multi 16: LBA48
ata1.00: configured for UDMA/66
blk_queue_max_hw_segments: set to minimum 1
scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK4032GA AD10 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda:<3>ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1: soft resetting port
irq 68: nobody cared (try booting with the "irqpoll" option)
Hardware Trace:
0 Target : <0x00004910> { _dump_stack + 0x0 }
Source : <0x000279cc> { ___report_bad_irq + 0x1c }
1 Target : <0x000279cc> { ___report_bad_irq + 0x1c }
Source : <0x00027a28> { ___report_bad_irq + 0x78 }
2 Target : <0x00027a28> { ___report_bad_irq + 0x78 }
Source : <0x0000cfea> { _printk + 0x16 }
3 Target : <0x0000cfe6> { _printk + 0x12 }
Source : <0x0000ce9c> { _vprintk + 0x1b8 }
4 Target : <0x0000ce90> { _vprintk + 0x1ac }
Source : <0x0000ce82> { _vprintk + 0x19e }
5 Target : <0x0000ce7e> { _vprintk + 0x19a }
Source : <0x0000cccc> { _wake_up_klogd + 0x24 }
6 Target : <0x0000cca8> { _wake_up_klogd + 0x0 }
Source : <0x0000d3d4> { _release_console_sem + 0x1f4 }
7 Target : <0x0000d3c6> { _release_console_sem + 0x1e6 }
Source : <0x0000d3b8> { _release_console_sem + 0x1d8 }
8 Target : <0x0000d3ae> { _release_console_sem + 0x1ce }
Source : <0x0000d3a0> { _release_console_sem + 0x1c0 }
9 Target : <0x0000d380> { _release_console_sem + 0x1a0 }
Source : <0x0000d266> { _release_console_sem + 0x86 }
10 Target : <0x0000d236> { _release_console_sem + 0x56 }
Source : <0x0000d362> { _release_console_sem + 0x182 }
11 Target : <0x0000d35c> { _release_console_sem + 0x17c }
Source : <0x0000cba2> { __call_console_drivers + 0x7e }
12 Target : <0x0000cb9c> { __call_console_drivers + 0x78 }
Source : <0x0000cb5e> { __call_console_drivers + 0x3a }
13 Target : <0x0000cb4e> { __call_console_drivers + 0x2a }
Source : <0x0000cb3e> { __call_console_drivers + 0x1a }
14 Target : <0x0000cb24> { __call_console_drivers + 0x0 }
Source : <0x0000d358> { _release_console_sem + 0x178 }
15 Target : <0x0000d34e> { _release_console_sem + 0x16e }
Source : <0x0000d2ec> { _release_console_sem + 0x10c }
Stack from 001efd10:
001f4bf4 000279d0 001f59c4 00000000 001f2574 00000044 00000000 00027b9c
001f59c4 00000000 00000000 00000044 001f2574 00028182 001f59c4 00000044
00680398 001efee0 0000000a 00000001 00000000 00000001 ffa0036a 00000000
ffa0036a 00000044 001f59c4 03deb540 00000000 20000000 ffa00c1a 00000044
0067c3a0 0067de70 00000002 0071bfb8 00027188 000080d0 00011192 00000100
00000026 00000000 00000000 00000000 00011192 ffa00398 00000007 02002040
Call Trace:
[<000e4312>] _ata_exec_internal_sg+0x186/0x330
[<000b7d8c>] _memcpy+0x2c/0x70
[<000e430e>] _ata_exec_internal_sg+0x182/0x330
[<000b7d8a>] _memcpy+0x2a/0x70
[<00001000>] __start+0x0/0x140
[<0000ffff>] _do_setitimer+0xeb/0x22c
[<0000ffff>] _do_setitimer+0xeb/0x22c
[<00008002>] _dcache_invalidate+0xa/0x34
[<0000ffff>] _do_setitimer+0xeb/0x22c
[<000e4312>] _ata_exec_internal_sg+0x186/0x330
[<000b7d8c>] _memcpy+0x2c/0x70
[<000e430e>] _ata_exec_internal_sg+0x182/0x330
[<000b7d8a>] _memcpy+0x2a/0x70
[<00001000>] __start+0x0/0x140
[<0000ffff>] _do_setitimer+0xeb/0x22c
[<00040000>] _do_fcntl+0x10c/0x214
[<0020482a>] _start_kernel+0x212/0x264
[<00204168>] _unknown_bootoption+0x0/0x21c
[<000011d2>] _real_start+0x92/0x94
handlers:
[<000e68c4>] (_ata_interrupt+0x0/0x1c8)
Disabling IRQ #68
ata1.00: qc timeout (cmd 0x27)
ata1.00: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (78140160)
ata1.00: failed to set xfermode (err_mask=0x40)
ata1: failed to recover some devices, retrying in 5 secs
ata1: soft resetting port
ata1.00: qc timeout (cmd 0x27)
ata1.00: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (78140160)
ata1.00: failed to set xfermode (err_mask=0x40)
ata1.00: limiting speed to UDMA/66:PIO3
ata1: failed to recover some devices, retrying in 5 secs
ata1: soft resetting port
ata1.00: qc timeout (cmd 0x27)
ata1.00: ata_hpa_resize 1: hpa sectors (0) is smaller than sectors (78140160)
ata1.00: failed to set xfermode (err_mask=0x40)
ata1.00: disabled
ata1: EH complete
sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
unable to read partition table
sd 0:0:0:0: [sda] Attached SCSI disk
physmap platform flash device: 00400000 at 20000000
Follow-ups
--- Sonic Zhang 2008-02-13 22:25:15
Setting peripheral_map only when the dma channel is UART2/3 for bf548.
--- Mingquan Pan 2008-02-14 04:56:54
Yes.close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found