Не цепляется винт по IDE...

43 views
Skip to first unread message

dlinyj

unread,
Oct 13, 2009, 4:27:35 PM10/13/09
to ARM9&FPGA evolution board
Решил тут таки подключить винт к плате. Плата даже не выходила в сеть
после подключения винта. Усилиями Паши я таки зацепился к плате, и
снял лог загрузки. Хочу обратить внимание, что винт определился
корректно (60 гигов), но потом плата повисает, и не грузит дальше. Что
делать?

Starting kernel ...

Uncompressing
Linux...................................................................................................................................
done, booting the kernel.
Linux version 2.6.31 (slapin@slapin-notebook) (gcc version 4.3.3
(Sourcery G++ Lite 2009q1-203) ) #101 PREEMPT Wed Sep 16 03:28:36 MSD
2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Custom afeb9260 board
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 166 MHz, master 83 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
16256
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 rw
rootfstype=jffs2 panic=20
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60676KB available (3688K code, 291K data, 124K init, 0K
highmem)
Hierarchical RCU implementation.
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 82.53 BogoMIPS (lpj=412672)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 ok...@monad.swb.de).
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) В© 2001-2006 Red Hat, Inc.
msgmni has been set to 118
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
ssc ssc.0: Atmel SSC device at 0xc48c8000 (irq 14)
scsi0 : pata_at91
ata1: PATA max PIO4 mmio cmd 0x50c00000 ctl 0x50e00000 irq 38
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (06:19:0d:44:ae:c5)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01,
irq=-1)
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB
3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 607 at 0x000004be0000
Bad eraseblock 1146 at 0x000008f40000
Bad eraseblock 2154 at 0x000010d40000
Bad eraseblock 2399 at 0x000012be0000
Bad eraseblock 2718 at 0x0000153c0000
Creating 3 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x000000000000-0x0000000a0000 : "bootloader"
0x0000000a0000-0x0000002a0000 : "kernel"
0x0000002a0000-0x000020000000 : "rootfs"
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)
atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffcc000 (irq 13)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
rtc-fm3130 0-0068: Disabling calibration mode!
rtc-fm3130 0-0068: Disabling READ or WRITE mode!
rtc-fm3130 0-0068: Low battery!
rtc-fm3130 0-0068: SET TIME!
rtc-fm3130 0-0068: rtc core: registered fm3130 as rtc0
at24 0-0050: 8192 byte 24c64 EEPROM (writable)
i2c-gpio i2c-gpio: using pins 55 (SDA) and 56 (SCL)
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-
de...@redhat.com
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI tlv320aic23
No device for DAI atmel-ssc0
AIC23 Audio Codec 0.1
asoc: tlv320aic23 <-> atmel-ssc0 mapping ok
ALSA device list:
#0: AFEB9260 (tlv320aic23)
TCP cubic registered
NET: Registered protocol family 17
rtc-fm3130 0-0068: hctosys: unable to read the hardware clock
------------[ cut here ]------------
WARNING: at drivers/ata/libata-core.c:5027 ata_qc_complete+0x4c/0x25c
()
Modules linked in:
[<c002d884>] (unwind_backtrace+0x0/0xdc) from [<c003fccc>]
(warn_slowpath_common+0x48/0x60)
[<c003fccc>] (warn_slowpath_common+0x48/0x60) from [<c01f20e8>]
(ata_qc_complete+0x4c/0x25c)
[<c01f20e8>] (ata_qc_complete+0x4c/0x25c) from [<c01fe044>]
(ata_do_link_abort+0x9c/0xdc)
[<c01fe044>] (ata_do_link_abort+0x9c/0xdc) from [<c01f30dc>]
(ata_exec_internal_sg+0x3bc/0x590)
[<c01f30dc>] (ata_exec_internal_sg+0x3bc/0x590) from [<c01f332c>]
(ata_exec_internal+0x7c/0x8c)
[<c01f332c>] (ata_exec_internal+0x7c/0x8c) from [<c01f4130>]
(ata_dev_configure+0x410/0x1474)
[<c01f4130>] (ata_dev_configure+0x410/0x1474) from [<c01fd76c>]
(ata_eh_recover+0x830/0xcc8)
[<c01fd76c>] (ata_eh_recover+0x830/0xcc8) from [<c01fddcc>] (ata_do_eh
+0x44/0x84)
[<c01fddcc>] (ata_do_eh+0x44/0x84) from [<c01fef90>]
(ata_sff_error_handler+0x1ac/0x1c4)
[<c01fef90>] (ata_sff_error_handler+0x1ac/0x1c4) from [<c01fe5f0>]
(ata_scsi_error+0x29c/0x590)
[<c01fe5f0>] (ata_scsi_error+0x29c/0x590) from [<c01deeac>]
(scsi_error_handler+0x8c/0x384)
[<c01deeac>] (scsi_error_handler+0x8c/0x384) from [<c0053fb0>] (kthread
+0x7c/0x84)
[<c0053fb0>] (kthread+0x7c/0x84) from [<c0028e3c>] (kernel_thread_exit
+0x0/0x8)
---[ end trace 167927bf3a2e3093 ]---
ata1.00: qc timeout (cmd 0xf8)
ata1.00: failed to read native max address (err_mask=0x4)
ata1.00: HPA support seems broken, skipping HPA handling
ata1.00: ATA-7: Maxtor 6Y060L0, YAR41BY0, max UDMA/133
ata1.00: 120103200 sectors, multi 0: LBA
ata1.00: Drive reports diagnostics failure. This may indicate a drive
ata1.00: fault or invalid emulation. Contact drive vendor for
information.
ata1.00: configured for PIO4
scsi 0:0:0:0: Direct-Access ATA Maxtor 6Y060L0 YAR4 PQ: 0
ANSI: 5
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 120103200 512-byte logical blocks: (61.4 GB/57.2
GiB)
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:
ata1: lost interrupt (Status 0x7f)
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: READ SECTOR(S)
ata1.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 pio 4096 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1.00: configured for PIO4
ata1.00: device reported invalid CHS sector 0
ata1: EH complete
ata1: lost interrupt (Status 0x7f)
ata1.00: limiting speed to PIO3
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: READ SECTOR(S)
ata1.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 pio 4096 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1.00: configured for PIO3
ata1.00: device reported invalid CHS sector 0
ata1: EH complete
ata1: lost interrupt (Status 0x7f)
ata1.00: limiting speed to PIO0
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: READ SECTOR(S)
ata1.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 pio 4096 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1.00: configured for PIO0
ata1.00: device reported invalid CHS sector 0
ata1: EH complete
ata1: lost interrupt (Status 0x7f)
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: READ SECTOR(S)
ata1.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 pio 4096 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1.00: configured for PIO0
ata1.00: device reported invalid CHS sector 0
ata1: EH complete

И тут мы зависли...

dlinyj

unread,
Oct 13, 2009, 4:43:04 PM10/13/09
to ARM9&FPGA evolution board
Я тут немного ошибся, загрузка пошла дальше. Но ничего толкового, всё
так же... Плата с одним и тем же багом входит в замкнутый цикл...

RomBOOT
>AT91 bootstrap loading from 0x8400
dataflash code 0x00000024AT45DB081B detected
loading fromdataflash[0x00008400]........complete[0x00039000]bytes


U-Boot 2009.08-00168-g47fa009-dirty (Сен 15 2009 - 23:48:50)

DRAM: 64 MB
NAND: 512 MiB
DataFlash:Nb pages: 4096
Page Size: 264
Size= 1081344 bytes
Logical address: 0xD0000000
Area 0: D0000000 to D00041FF Bootstrap
Area 1: D0004200 to D00083FF Environment
Area 2: D0008400 to D0041FFF U-Boot
In: serial
Out: serial
Err: serial
Net: macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0xa0000, size 0x200000
2097152 bytes read: OK
## Booting kernel from Legacy Image at 21000000 ...
Image Name: Linux-2.6.31
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2068428 Bytes = 2 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
---[ end trace 0d708ad22439502b ]---
sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
00 00 00 00
sd 0:0:0:0: [sda] ASC=0x0 ASCQ=0x0
sd 0:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 08 00
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1: lost interrupt (Status 0x7f)
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: READ SECTOR(S)
ata1.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 pio 4096 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1.00: configured for PIO0
ata1.00: device reported invalid CHS sector 0
ata1: EH complete
INFO: task swapper:1 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
swapper D c02e8350 0 1 0 0x00000000
[<c02e8350>] (schedule+0x2cc/0x35c) from [<c0059be0>]
(async_synchronize_cookie_domain+0xe8/0x1a4)
[<c0059be0>] (async_synchronize_cookie_domain+0xe8/0x1a4) from
[<c0059cb8>] (async_synchronize_full+0x10/0x38)
[<c0059cb8>] (async_synchronize_full+0x10/0x38) from [<c01d4200>]
(wait_for_device_probe+0x90/0xa4)
[<c01d4200>] (wait_for_device_probe+0x90/0xa4) from [<c0009194>]
(prepare_namespace+0x34/0x1bc)
[<c0009194>] (prepare_namespace+0x34/0x1bc) from [<c00085bc>]
(kernel_init+0xd8/0x10c)
[<c00085bc>] (kernel_init+0xd8/0x10c) from [<c0028e3c>]
(kernel_thread_exit+0x0/0x8)
INFO: task swapper:1 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
swapper D c02e8350 0 1 0 0x00000000
[<c02e8350>] (schedule+0x2cc/0x35c) from [<c0059be0>]
(async_synchronize_cookie_domain+0xe8/0x1a4)
[<c0059be0>] (async_synchronize_cookie_domain+0xe8/0x1a4) from
[<c0059cb8>] (async_synchronize_full+0x10/0x38)
[<c0059cb8>] (async_synchronize_full+0x10/0x38) from [<c01d4200>]
(wait_for_device_probe+0x90/0xa4)
[<c01d4200>] (wait_for_device_probe+0x90/0xa4) from [<c0009194>]
(prepare_namespace+0x34/0x1bc)
[<c0009194>] (prepare_namespace+0x34/0x1bc) from [<c00085bc>]
(kernel_init+0xd8/0x10c)
[<c00085bc>] (kernel_init+0xd8/0x10c) from [<c0028e3c>]
(kernel_thread_exit+0x0/0x8)
INFO: task ata_aux:126 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
ata_aux D c02e8350 0 126 2 0x00000000
[<c02e8350>] (schedule+0x2cc/0x35c) from [<c02e89bc>] (schedule_timeout
+0x18/0x1b4)
[<c02e89bc>] (schedule_timeout+0x18/0x1b4) from [<c02e8844>]
(wait_for_common+0xf0/0x1b8)
[<c02e8844>] (wait_for_common+0xf0/0x1b8) from [<c019b848>]
(blk_execute_rq+0x8c/0xa4)
[<c019b848>] (blk_execute_rq+0x8c/0xa4) from [<c01e15d4>] (scsi_execute
+0xd0/0x114)
[<c01e15d4>] (scsi_execute+0xd0/0x114) from [<c01e169c>]
(scsi_execute_req+0x84/0xbc)
[<c01e169c>] (scsi_execute_req+0x84/0xbc) from [<c01db0b8>]
(scsi_vpd_inquiry+0x68/0x8c)
[<c01db0b8>] (scsi_vpd_inquiry+0x68/0x8c) from [<c01db168>]
(scsi_get_vpd_page+0x8c/0xf8)
[<c01db168>] (scsi_get_vpd_page+0x8c/0xf8) from [<c01e82d0>]
(sd_revalidate_disk+0x9a0/0x1474)
[<c01e82d0>] (sd_revalidate_disk+0x9a0/0x1474) from [<c00bc03c>]
(revalidate_disk+0x20/0x68)
[<c00bc03c>] (revalidate_disk+0x20/0x68) from [<c01e6738>] (sd_rescan
+0x18/0x24)
[<c01e6738>] (sd_rescan+0x18/0x24) from [<c01e2e3c>]
(scsi_rescan_device+0xa4/0xb0)
[<c01e2e3c>] (scsi_rescan_device+0xa4/0xb0) from [<c01f8c6c>]
(ata_scsi_dev_rescan+0x90/0x110)
[<c01f8c6c>] (ata_scsi_dev_rescan+0x90/0x110) from [<c00508c8>]
(worker_thread+0x130/0x1f0)
[<c00508c8>] (worker_thread+0x130/0x1f0) from [<c0053fb0>] (kthread
+0x7c/0x84)
[<c0053fb0>] (kthread+0x7c/0x84) from [<c0028e3c>] (kernel_thread_exit
+0x0/0x8)
INFO: task async/1:885 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
async/1 D c02e8350 0 885 2 0x00000000
[<c02e8350>] (schedule+0x2cc/0x35c) from [<c02e8428>] (io_schedule
+0x48/0x7c)
[<c02e8428>] (io_schedule+0x48/0x7c) from [<c006b97c>] (sync_page
+0x48/0x54)
[<c006b97c>] (sync_page+0x48/0x54) from [<c02e8d20>] (__wait_on_bit
+0x58/0xa0)
[<c02e8d20>] (__wait_on_bit+0x58/0xa0) from [<c006bb6c>]
(wait_on_page_bit+0x90/0xa0)
[<c006bb6c>] (wait_on_page_bit+0x90/0xa0) from [<c006bfac>]
(read_cache_page+0x28/0x4c)
[<c006bfac>] (read_cache_page+0x28/0x4c) from [<c00d83cc>]
(read_dev_sector+0x2c/0x80)
[<c00d83cc>] (read_dev_sector+0x2c/0x80) from [<c00d90ac>]
(msdos_partition+0x58/0x778)
[<c00d90ac>] (msdos_partition+0x58/0x778) from [<c00d8b98>]
(rescan_partitions+0x14c/0x3d8)
[<c00d8b98>] (rescan_partitions+0x14c/0x3d8) from [<c00bca60>]
(__blkdev_get+0x23c/0x300)
[<c00bca60>] (__blkdev_get+0x23c/0x300) from [<c00d84d0>]
(register_disk+0xb0/0x128)
[<c00d84d0>] (register_disk+0xb0/0x128) from [<c019de14>] (add_disk
+0xc4/0x12c)
[<c019de14>] (add_disk+0xc4/0x12c) from [<c01e94ac>] (sd_probe_async
+0xfc/0x1b4)
[<c01e94ac>] (sd_probe_async+0xfc/0x1b4) from [<c0059918>]
(async_thread+0x128/0x308)
[<c0059918>] (async_thread+0x128/0x308) from [<c0053fb0>] (kthread
+0x7c/0x84)
[<c0053fb0>] (kthread+0x7c/0x84) from [<c0028e3c>] (kernel_thread_exit
+0x0/0x8)
ata1: lost interrupt (Status 0x7f)
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: READ SECTOR(S)
ata1.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 pio 4096 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1.00: configured for PIO0
ata1.00: device reported invalid CHS sector 0
sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
00 00 00 00
sd 0:0:0:0: [sda] ASC=0x0 ASCQ=0x0
sd 0:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 08 00
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
unable to read partition table
sd 0:0:0:0: [sda] Attached SCSI disk
sda: detected capacity change from 0 to 61492838400
sda: detected capacity change from 0 to 61492838400
VFS: Mounted root (jffs2 filesystem) on device 31:2.
Freeing init memory: 124K

INIT: version 2.86 booting

Starting udevudevd[908]: lookup_group: specified group 'scanner'
unknown


udevd[908]: lookup_group: specified group 'scanner' unknown


udevd[908]: lookup_group: specified group 'scanner' unknown


udevd[908]: lookup_group: specified group 'scanner' unknown


udevd[908]: lookup_group: specified group 'nvram' unknown


udevd[908]: lookup_user: specified user 'tss' unknown


udevd[908]: lookup_group: specified group 'tss' unknown


udevd[908]: lookup_group: specified group 'fuse' unknown


udevd[908]: lookup_group: specified group 'kvm' unknown


udevd[908]: lookup_group: specified group 'rdma' unknown


udevd[908]: lookup_group: specified group 'rdma' unknown


udevd[908]: lookup_group: specified group 'rdma' unknown


udevd version 124 started

Remounting root file system...
WARNING: Couldn't open directory /lib/modules/2.6.31: No such file or
directory
FATAL: Could not open /lib/modules/2.6.31/modules.dep.temp for
writing: No such file or directory
touch: cannot touch `/var/log/lastlog': No such file or directory
chown: cannot access `/var/log/lastlog': No such file or directory
chmod: cannot access `/var/log/lastlog': No such file or directory
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... eth0 no wireless extensions.

udhcpc (v1.11.3) started
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
Sending discover...
Sending select for 192.168.1.209...
Lease of 192.168.1.209 obtained, lease time 86400
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
adding dns 192.168.1.1
done.
Starting portmap daemon: portmapeth0: link up (100/Full)
.
hwclock: RTC_RD_TIME: Input/output error
Tue Oct 13 20:54:00 BST 2009

INIT: Entering runlevel: 5

Starting Dropbear SSH server: modprobe: FATAL: Could not load /lib/
modules/2.6.31/modules.dep: No such file or directory


modprobe: FATAL: Could not load /lib/modules/2.6.31/modules.dep: No
such file or directory


dropbear.
Starting system message bus: dbus.
Starting Samba: smbd nmbd.
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
[ ok ]
* starting modbus over vt100 deamon: modbus-vt100... done.
Starting Bluetooth subsystem: hcid hid2hci.
Running ntpdate to synchronize clock.
Starting Lighttpd Web Server: lighttpd.

.-------.
| | .-.
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'

The Angstrom Distribution afeb9260 ttyS0

Angstrom 2008.1-test-20081203 afeb9260 ttyS0

afeb9260 login: ata1: lost interrupt (Status 0x7f)
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: READ SECTOR(S)
ata1.00: cmd 20/00:20:00:00:00/00:00:00:00:00/e0 tag 0 pio 16384 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1.00: configured for PIO0
ata1.00: device reported invalid CHS sector 0
ata1: EH complete
ata1: lost interrupt (Status 0x7f)
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: READ SECTOR(S)
ata1.00: cmd 20/00:20:00:00:00/00:00:00:00:00/e0 tag 0 pio 16384 in

Sergey Matyukevich

unread,
Oct 15, 2009, 2:12:24 PM10/15/09
to arm9fpga-evo...@googlegroups.com, dli...@gmail.com
Салют,

Я после поверхностного просмотра логов пока ничего сказать не могу.
На выходных посмотрю детально. Пришли, плиз, свой конфиг ядра. Если нет
конфига, то само ядро [чтоб не забивать им рассылку, прямо мне на
мыло]. Я посмотрю, что произойдет у меня на борде и с моими винтами.

Да, вот еще несколько дурацких вопросов.

1. У тебя первоначальный вариант платы с подпаянными Пашей соплями ?
2. Если ты не используешь готовое ядро, а собираешь сам, проведи
следующий эксперимент:
В файле arch/arm/mach-at91/board-afeb-9260v1.c в структуре
afeb9260_cf_data (cтрока 180) замени .irq_pin - вместо
AT91_PIN_PA6 поставь ноль. После чего пересобери ядро и
попробуй прогрузиться. Отпишись, что получилось.


Спасибо,
Сергей

Pavel Kosenkov

unread,
Oct 16, 2009, 7:13:07 AM10/16/09
to arm9fpga-evo...@googlegroups.com
Все сопли я ставил, но к сожалению проверить на месте не было возможности. А ядро заливал Сергей Лапин. Что он заливал и компилировал - ответит он сам. О трабле оповещен.
 
C уважением (Best regards),
Косенков Павел (Kosenkov Pavel)
aka microtrigger & burokrat
==========================
no time to lose, no time to choose


15 октября 2009 г. 22:12 пользователь Sergey Matyukevich <geom...@gmail.com> написал:

Pavel Kosenkov

unread,
Oct 16, 2009, 7:13:37 AM10/16/09
to arm9fpga-evolution-board
Все сопли я ставил, но к сожалению проверить на месте не было возможности. А ядро заливал Сергей Лапин. Что он заливал и компилировал - ответит он сам. О трабле оповещен.
 
C уважением (Best regards),
Косенков Павел (Kosenkov Pavel)
aka microtrigger & burokrat
==========================
no time to lose, no time to choose


15 октября 2009 г. 22:12 пользователь Sergey Matyukevich <geom...@gmail.com> написал:

Sergey Lapin

unread,
Oct 16, 2009, 2:22:39 PM10/16/09
to arm9fpga-evo...@googlegroups.com
2009/10/16 Pavel Kosenkov <microt...@gmail.com>:

> Все сопли я ставил, но к сожалению проверить на месте не было возможности. А
> ядро заливал Сергей Лапин. Что он заливал и компилировал - ответит он сам. О
> трабле оповещен.

То же, что и всем. То есть то, что работает у меня.

Попробуйте пересобрать без прерывания, в поллинге.

S.

Sergey Matyukevich

unread,
Oct 17, 2009, 3:00:46 AM10/17/09
to arm9fpga-evo...@googlegroups.com, slap...@gmail.com, dlinyj
> > Все сопли я ставил, но к сожалению проверить на месте не было
> > возможности. А ядро заливал Сергей Лапин. Что он заливал
> > и компилировал - ответит он сам. О трабле оповещен.
>
> То же, что и всем. То есть то, что работает у меня.
>
> Попробуйте пересобрать без прерывания, в поллинге.
>

Угу. Рецепт, приведенный в моем первом ответе, как раз включает
поллинг. У меня собраны два ядра - с поллингом и с прерываниями, могу
закинуть для проверки. Если с поллингом все будет работать, то почти
наверняка вышла промашка с соплей для irq.

Сергей.

Долин Сергей

unread,
Oct 17, 2009, 3:14:28 AM10/17/09
to Sergey Matyukevich, arm9fpga-evo...@googlegroups.com, slap...@gmail.com
Я немного глупый вопрос задам - как заливать ядро. Я готов проверить. Спасибо что все откликнулись, только добрался до почты.

17 октября 2009 г. 11:00 пользователь Sergey Matyukevich <geom...@gmail.com> написал:

Sergey Matyukevich

unread,
Oct 17, 2009, 3:33:12 AM10/17/09
to Долин Сергей, arm9fpga-evo...@googlegroups.com, slap...@gmail.com

> Я немного глупый вопрос задам - как заливать ядро. Я готов проверить.

Судя по твоим логам загрузки - у тебя ядро и rootfs прошиты в NAND.
Оттуда все и грузится.

Какой у тебя setup ?
В смысле:
* Windows/Linux
* настроен ли dhcp или tftp, чтоб из u-boot заливать файлы ?

Сергей.

Sergey Matyukevich

unread,
Oct 17, 2009, 4:06:57 AM10/17/09
to Долин Сергей, arm9fpga-evo...@googlegroups.com, slap...@gmail.com
В общем, вариантов несколько:

Если настроены tftp или dhcp сервисы, то можно прошить новое ядро из
U-Boot, смотри инструкции здесь:
http://oshw.ru/doku.php/en/afeb/flashing-nand

Если не через U-Boot, то можно в Linux'e с помощью nand-утилит:
* выключить борду
* отключить винт
* загрузиться
* скопировать новое ядро (по сети, с флешки, с sd-card - как удобнее)
к себе в /home/root на борде (скажем, /home/root/uImage.new)
* после этого прошить новое ядро на nand с помощью следующих команд:
# flash_eraseall /dev/mtd1
# nandwrite -p /dev/mtd1 /home/root/uImage.new

После этого выключить борду, подключить винт, и можно включаться и
загружаться.

Сергей.

Reply all
Reply to author
Forward
0 new messages