2009-02-23 06:03:46     [help] ide problem?

Document created by Aaronwu Employee on Aug 13, 2013
Version 1Show Document
  • View in full screen mode

2009-02-23 06:03:46     [help] ide problem?

billy zhou (UNITED STATES)

Message: 69749   

 

hda: status timeout: status=0xd0 { Busy }

ide: failed opcode was: unknown

hda: no DRQ after issuing MULTWRITE_EXT

irq 38: nobody cared (try booting with the "irqpoll" option)

Hardware Trace:

0 Target : <0x000043f0> { _dump_stack + 0x0 }

   Source : <0x0001fcc4> { ___report_bad_irq + 0x2c }

1 Target : <0x0001fcc4> { ___report_bad_irq + 0x2c }

   Source : <0x0000b8f6> { _printk + 0x16 }

2 Target : <0x0000b8f2> { _printk + 0x12 }

   Source : <0x0000b8dc> { _vprintk + 0x2d4 }

3 Target : <0x0000b8d0> { _vprintk + 0x2c8 }

   Source : <0x0000b89a> { _vprintk + 0x292 }

4 Target : <0x0000b896> { _vprintk + 0x28e }

   Source : <0x0000b24c> { _release_console_sem + 0x1f4 }

5 Target : <0x0000b246> { _release_console_sem + 0x1ee }

   Source : <0x00007d08> { ___wake_up + 0x2c }

6 Target : <0x00007d02> { ___wake_up + 0x26 }

   Source : <0x00007cf4> { ___wake_up + 0x18 }

7 Target : <0x00007cf0> { ___wake_up + 0x14 }

   Source : <0x00007cda> { ___wake_up_common + 0x46 }

8 Target : <0x00007ccc> { ___wake_up_common + 0x38 }

   Source : <0x00007cc4> { ___wake_up_common + 0x30 }

9 Target : <0x00007cbe> { ___wake_up_common + 0x2a }

   Source : <0x00019598> { _autoremove_wake_function + 0x2c }

10 Target : <0x0001957e> { _autoremove_wake_function + 0x12 }

   Source : <0x00008526> { _try_to_wake_up + 0xe6 }

11 Target : <0x0000851e> { _try_to_wake_up + 0xde }

   Source : <0x00008510> { _try_to_wake_up + 0xd0 }

12 Target : <0x00008504> { _try_to_wake_up + 0xc4 }

   Source : <0x000084f6> { _try_to_wake_up + 0xb6 }

13 Target : <0x000084da> { _try_to_wake_up + 0x9a }

   Source : <0x00007f24> { ___activate_task + 0x30 }

14 Target : <0x00007f10> { ___activate_task + 0x1c }

   Source : <0x00007b04> { _enqueue_task + 0x4c }

15 Target : <0x00007ab8> { _enqueue_task + 0x0 }

   Source : <0x00007f0c> { ___activate_task + 0x18 }

Stack from 0014fd28:

        00000000 0001fcc8 001548e0 00000001 00011c2e 00000026 00000000 0001fe2a

        001548e0 01445718 00000026 001a2444 00000000 00150000 0002053e 001548e0

        00000026 001a2444 00000001 000000e7 00000000 00000026 00150000 000204a8

        00154670 00007870 001548e0 00000000 0000000a 00000000 00000000 ffa0850a

        ffc00014 0014fef4 0000000a 00000000 00000000 00000000 002f0000 003931b4

        ffa09112 00000002 0000000c 02001026 003866f9 0000eadc 0014e000 00000000

Call Trace:

[<0000eadc>] ___do_softirq+0x3c/0xa0

[<00004200>] _printk_address+0x10/0x16c

[<00005a90>] _set_bfin_dma_config+0x8/0x28

[<0001a8ed>] _posix_cpu_timer_set+0x34d/0x3b8

[<0000ffe0>] ___do_proc_dointvec+0x1cc/0x27c

[<0000ffe0>] ___do_proc_dointvec+0x1cc/0x27c

[<00008050>] _set_load_weight+0xc/0x68

[<00004200>] _printk_address+0x10/0x16c

[<00005a90>] _set_bfin_dma_config+0x8/0x28

[<0001a8d5>] _posix_cpu_timer_set+0x335/0x3b8

[<0000ffe0>] ___do_proc_dointvec+0x1cc/0x27c

[<00140560>] _start_kernel+0x1cc/0x1d4

[<00140160>] _unknown_bootoption+0x0/0x1d8

[<000011e2>] _real_start+0x92/0x94

 

handlers:

[<000b1ea0>] (_ide_intr+0x0/0x188)

Disabling IRQ #38

ide0: reset: success

hda: lost interrupt

 

 

QuoteReplyEditDelete

 

 

2009-02-23 06:07:01     Re: [help] ide problem?

billy zhou (UNITED STATES)

Message: 69750   

 

my board booting information as below:

 

Starting Kernel at 0x1000

Linux version 2.6.19.3-ADI-2007R1.1-ShenOu-svn (hhzhou@zhouhaohao) (gcc 鐗堟湰 4.1.1 (ADI 07R1)) #241 Sun Oct 5 13:48:35 CST 2008

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF531 Rev 0.5

Blackfin Linux support by  blackfin.uclinux.org/

Processor Speed: 378 MHz core clock and 63 Mhz System Clock

Board Memory: 32MB

Kernel Managed Memory: 32MB

Memory map:

  text      = 0x00001000-0x0013f408

  init      = 0x00140000-0x0014b0dc

  data      = 0x0014d190-0x0018eadc

  stack     = 0x0014e000-0x00150000

  bss       = 0x0018eae0-0x001a2444

  available = 0x001a2444-0x01500000

  rootfs    = 0x01500000-0x01f00000

  DMA Zone  = 0x01f00000-0x02000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Hardware Trace Enabled

Built 1 zonelists.  Total pages: 5334

Kernel command line: root=/dev/mtdblock0 rw console=ttyBF0,115200n8 lpj=1613824

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 128 (order: 7, 512 bytes)

Console: colour dummy device 80x25

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Physical pages: 1500

Memory available: 19528k/31435k RAM, (44k init code, 1273k kernel code, 78k data, 1024k dma)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Instruction SRAM: 16 KB

Calibrating delay loop (skipped)... 806.91 BogoMIPS preset

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

NET: Registered protocol family 2

IP route cache hash table entries: 256 (order: -2, 1024 bytes)

TCP established hash table entries: 1024 (order: 0, 4096 bytes)

TCP bind hash table entries: 512 (order: -1, 2048 bytes)

TCP: Hash tables configured (established 1024 bind 512)

TCP reno registered

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART

dm9000 Ethernet Driver

eth0: dm9000 at 20300000,20300004 IRQ 37 MAC: 12:34:56:79:02:25

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

ide0: Blackfin generic IDE interface

hda: SAMSUNG HM160HC, ATA DISK drive

ide0 at 0x20200020-0x20200027,0x2020001c on irq 38

hda: max request size: 512KiB

hda: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63

hda: cache flushes supported

hda: unknown partition table

uclinux[mtd]: RAM probe address=0x1500000 size=0xa00000

Creating 1 MTD partitions on "RAM":

0x00000000-0x00a00000 : "ROMfs"

uclinux[mtd]: set ROMfs:EXT2  to be root filesystem

TCP cubic registered

NET: Registered protocol family 1

VFS: Mounted root (ext2 filesystem).

Freeing unused kernel memory: 44k freed (0x140000 - 0x14a000)

dma_alloc_init: dma_page @ 0x0147a000 - 256 pages at 0x01f00000

kjournald starting.  Commit interval 5 seconds

EXT3 FS on hda, internal journal

EXT3-fs: recovery complete.

EXT3-fs: mounted filesystem with ordered data mode.

mount: mounting /dev/mtdblock1 on /usr/local/ failed

eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

 

Welcome to:

       ____ _  _                 

      /  __| ||_|             _  _

_   _| |  | | _ ____  _   _ \ \/ /

| | | | |  | || |  _ \| | | | \  /

| |_| | |__| || | | | | |_| | /  \

|  ___\____|_||_|_| |_|\____|/_/\_\

|_|                                 

 

For further information see:

www.uclinux.org/

blackfin.uclinux.org/

QuoteReplyEditDelete

 

 

2009-02-23 11:29:41     Re: [help] ide problem?

Mike Frysinger (UNITED STATES)

Message: 69759   

 

2008R1.5 is the latest release.  and hooking up an IDE chip to the async memory bank (with IRQ) is documented in the wiki.

Attachments

    Outcomes