A1 hardware testing

103 views
Skip to first unread message

Philster76

unread,
Jun 30, 2010, 4:46:02 PM6/30/10
to Alt-F
Hi,

Seen there has been no progress on A1 revision hardware, so I am
willing to perform some testing to resolve the no harddisk issue with
the current releases.

Dont have JTAG but if testing can be funplugged then I am cool with
that.

P

Duncan McQueen

unread,
Jun 30, 2010, 10:11:21 PM6/30/10
to al...@googlegroups.com
A bit off topic - I asked this elsewhere, but my soldering skills are
horrible., Anyone have a serial cable for a DNS-323 they would be
willing to sell?

> --
> You received this message because you are subscribed to the Google Groups "Alt-F" group.
> To post to this group, send email to al...@googlegroups.com.
> To unsubscribe from this group, send email to alt-f+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/alt-f?hl=en.
>
>

Joao Cardoso

unread,
Jul 1, 2010, 8:43:58 AM7/1/10
to Alt-F
Hi,

You can start by installing Alt-F and posting the kernel log (dmesg)
from the very beginning.
Of course, use an old disk without valuable data on it ;-)

Then, you can disable the sysctrl daemon that controls leds, buttons
and fan, and restart.
It is possible that the daemon writes to certain "I/O ports" that on
the A1 hardware interferes
with the disk controller.
To do that, go to system services, disable the "boot enable" checkbox
for the sysctrl service, apply,
save settings, reboot, and post the results.

Thanks,
Joao

Joao Cardoso

unread,
Jul 1, 2010, 10:22:58 AM7/1/10
to Alt-F
PS-Could you also please post the output of "cat /proc/cpuinfo" (under
Alt-F)?

Philster76

unread,
Jul 1, 2010, 2:42:35 PM7/1/10
to Alt-F


On Jul 1, 1:43 pm, Joao Cardoso <whoami.jc...@gmail.com> wrote:
Also was unable to disable the sysctrl service as suggested, it didnt
work, i would guess that this would be the fact that once the kernel
has booted there is no access to the disks again, so therefore cannot
write out the config change for reboot.

P

Philster76

unread,
Jul 1, 2010, 2:42:55 PM7/1/10
to Alt-F
# cat /proc/cpuinfo
Processor : Feroceon rev 0 (v5l)
BogoMIPS : 332.59
Features : swp half thumb fastmult edsp
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 0

Hardware : D-Link DNS-323
Revision : 0000
Serial : 0000000000000000

Philster76

unread,
Jul 1, 2010, 2:47:47 PM7/1/10
to Alt-F


On Jul 1, 1:43 pm, Joao Cardoso <whoami.jc...@gmail.com> wrote:
DMESG Output::::

###############################################################################


ta_mv
scsi3 : sata_mv
ata1: SATA max UDMA/133 mmio m1048576@0xe4100000 port 0xe4122000 irq
11
ata2: SATA max UDMA/133 mmio m1048576@0xe4100000 port 0xe4124000 irq
11
ata3: SATA max UDMA/133 mmio m1048576@0xe4100000 port 0xe4126000 irq
11
ata4: SATA max UDMA/133 mmio m1048576@0xe4100000 port 0xe4128000 irq
11
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 5 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000010000 : "MTD1"
0x000000010000-0x000000020000 : "MTD2"
0x000000020000-0x0000001a0000 : "Linux Kernel"
0x0000001a0000-0x0000007d0000 : "File System"
0x0000007d0000-0x000000800000 : "u-boot"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:19:5b:ec:55:51
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 17, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys as /class/input/input0
i2c /dev entries driver
rtc-m41t80 0-0068: chip found, driver version 0.05
rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0
lm75 0-0048: hwmon1: sensor 'lm75'
Registered led device: power:blue
Registered led device: right:amber
Registered led device: left:amber
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-m41t80 0-0068: setting system clock to 2010-07-01 19:21:32 UTC
(1278012092)
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7: HITACHI HDS7216SBSUN160G 0821Q7YABM, P22OAB8A, max
UDMA/133
ata1.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA HITACHI HDS7216S P22O PQ: 0
ANSI: 5
sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sda:
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete
ata1: limiting SATA link speed to 1.5 Gbps
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
IP-Config: Complete:
device=eth0, addr=192.168.1.234, mask=255.255.255.0,
gw=192.168.1.1,
host=nas, domain=, nis-domain=workgroup,
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: limiting speed to UDMA/100:PIO4
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: limiting speed to UDMA/33:PIO4
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
eth0: link up, 1000 Mb/s, full duplex, flow control enabled
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
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 ff ff
ff ff ff ff
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.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
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 ff ff
ff ff ff ff
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
sda: detected capacity change from 0 to 160041885696
sd 0:0:0:0: [sda] Attached SCSI disk
Freeing init memory: 112K
aufs test_add:248:mount[50]: uid/gid/perm /tmproot/rootsq 0/0/0777,
0/0/0755
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/20:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 16384 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/20:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 16384 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/20:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 16384 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/20:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 16384 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/20:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 16384 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/20:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 16384 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
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 ff ff
ff ff ff ff
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 20 00
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 1
Buffer I/O error on device sda, logical block 2
Buffer I/O error on device sda, logical block 3
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata1.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
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 ff ff
ff ff ff ff
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
MINIX-fs: mounting unchecked file system, running fsck is recommended

###############################################################################

Joao Cardoso

unread,
Jul 1, 2010, 6:15:31 PM7/1/10
to Alt-F
1-The settings are saved in flash (coexisting with the vendor's
defaults) and loaded at boot time.

If you couldn't manage to do it from the web interface, you can try to
do it from the command line.
Login as root, and issue the following commands:

# ls -l /etc/init.d/S21sysctrl
-rwxr-xr-x 1 root root 750 Mar 23 19:23 /etc/init.d/
S21sysctrl
# chmod -x /etc/init.d/S21sysctrl
# ls -l /etc/init.d/S21sysctrl
-rw-r--r-- 1 root root 750 Mar 23 19:23 /etc/init.d/
S21sysctrl
# loadsave_settings
usage: loadsave_settings
-lf [file] (load flash) | -sf (save flash) |
-ls (list) | -ll (long list) | -cf (clear flash) |
-ta (to Alt-F) | -fa (from Alt-F) |
-rs (read sib ip)
# loadsave_settings -sf
# reboot

The reboot will take you back to the vendor's firmware, you must
change again the fun_plug script permissions to execute, and reboot
again...
Or if you feel confident enough, you can comment the line in the
fun_plug script who says ONCE=yes from the very beginning. In this
case, the only way to go back to the vendor's firmware is to remove
the disk
Or ;-) if you had access to your disks, you could just change the
permissions from within Alt-F:
chmod +x /mnt/sda2/fun_plug

2-The information from /proc/cpuinfo does not enable differentiating a
rev-A1 from a rev-B1, one has to rely on dmesg output, namely the
Orion ID, see bellow. I hope rev-A1 will be MV88F5181

3-As for the dmesg log you posted, could you please capture it since
the very beginning? As in

Linux version 2.6.33.1 (jcard@silver) (gcc version 4.3.3 (GCC) ) #2
Mon Apr 19 01:57:38 WEST 2010
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: D-Link DNS-323
...
Orion ID: MV88F5182-A2. TCLK=166666667
...

Thanks,
Joao


PS-Are you aware that Alt-F does an automatic fsck on boot on every
dirty filesystem it founds? This can explain the lengthly boot times
when rebooting from the vendor's firmware (that does not do a clean
shutdown).

> P

Philip Hewitt

unread,
Jul 2, 2010, 3:24:41 AM7/2/10
to al...@googlegroups.com

> P

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To post to this group, send email to al...@googlegroups.com.
To unsubscribe from this group, send email to alt-f+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/alt-f?hl=en.


Hi Joao,

Bad news I'm afraid, I cannot seem to get the complete dmesg output, what I sent you is all that is available.  It appears to be truncated, probably due to the massive amount of lines being generated when it is trying to initialise /dev/sda.

Also i have tried the "loadsave_settings -sf" as you recommended, but the permissions changes on S21sysctrl still dont survive the reboot, so no luck there either.

On the other hand I have captured some dmesg output from fonz's funplug and it seems to suggest that the CPU is a  MV88F5181, see below:

/ # dmesg |more
Linux version 2.6.12.6-arm1 (tim@SWTEST2) (gcc version 3.3.3) #47 Mon Nov 30 12:06:02 CST 2009
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 166000000, Tclk = 166000000

also

/ # cat /proc/cpuinfo
Processor       : ARM926EJ-Sid(wb) rev 0 (v5l)
BogoMIPS        : 331.77
Features        : swp half thumb fastmult edsp java

CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant     : 0x0
CPU part        : 0x926
CPU revision    : 0
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 32768
I assoc         : 1
I line length   : 32
I sets          : 1024
D size          : 32768
D assoc         : 1
D line length   : 32
D sets          : 1024

Hardware        : MV-88fxx81
Revision        : 0000
Serial          : 0000000000000000

##################################

hope this helps?

P


Joao Cardoso

unread,
Jul 2, 2010, 2:25:24 PM7/2/10
to Alt-F


On Jul 2, 8:24 am, Philip Hewitt <p.s.hew...@gmail.com> wrote:
> > alt-f+un...@googlegroups.com <alt-f%2Bunsu...@googlegroups.com>.
> > For more options, visit this group at
> >http://groups.google.com/group/alt-f?hl=en.
>
> Hi Joao,
>
> Bad news I'm afraid, I cannot seem to get the complete dmesg output, what I
> sent you is all that is available.  It appears to be truncated, probably due
> to the massive amount of lines being generated when it is trying to
> initialise /dev/sda.
>
> Also i have tried the "loadsave_settings -sf" as you recommended, but the
> permissions changes on S21sysctrl still dont survive the reboot, so no luck
> there either.

1-OK. From the dmesg log you post it is apparent the the disk problems
happens
before sysctrl is launched, so lets for now disregard that hypothesis.

> On the other hand I have captured some dmesg output from fonz's funplug and
> it seems to suggest that the CPU is a  MV88F5181, see below:

2-Yes, I know that the CPU is a MV88F5181, I just wanted to know how I
could
detect that at runtime, so userlevel programs could adapt to the
hardware they
are running on.
The information in /proc/cpuinfo is not enough to differentiate
between A1 and
B1 hardware, thus it seems that the only chance is to parse dmesg
output.

Can you check that sysctrl works OK? sysctrl is a daemon that controls
leds,
buttons, temperature, fan speed, hdd standby, raid state... and thus
depends
on hardware differences.

Just press and keep pressing the box front button; within 3 seconds
the right
led should start blinking in orange, then the left one, and then both
will
turn off and you can then release the button.
If you release the button while the right led is flashing, a reboot
will
happen, and if you release the button while the left led is blinking
a
poweroff will happen.
Does this works as described?

3-As for the hdd problem, I build a 2.6.34 kernel with the orion5x
default
configuration. For Alt-F I striped off many settings, in order to
save
precious flash space, but I might have stripped if too much.

In http://db.tt/2jEH0b you will find a new zImage, rootfs.arm.cpio.gz
and
fun_plug.

Download them and copy zImage and rootfs.arm.cpio.gz to /mnt/HD_a2/alt-
f.
Also download fun_plug and copy it to /mnt/HD_a2/
Make it executable and execute it:

cd /mnt/HD_a2
chmod +x fun_plug
./fun_plug

or use the usual box reboot technique.

The fun_plug script has some modifications in relation to the usual
one, the
most notable being using "initdbg" in the kernel command line, and
using
rootfs.arm.cpio.gz as the initialramfs.

After booting the new kernel you can telnet or ftp the box as root,
empty
password, and you will have a very limited environment (it is not Alt-
F).
You can use most commands, such as dmesg, mount, etc, but you have to
pull the
power cord in order to powerdown or reboot the box.
Probably the fan will not be working, but this is of no concern for
small
(minutes) amounts of time.

Notice: This environment was tested only through a serial link. If you
have
ffp, you must change the name of the downloaded fun_plug, edit the
script (not
under windows) and change the line who says

chmod -x $BASE_DIR/fun_plug

to

chmod -x $BASE_DIR/<new fun_plug name>

and then invoke the script as
/mnt/HD_a2/<new un_plug name>

Not test, though.

Thanks for your collaboration and patience.

Joao

Philster76

unread,
Jul 2, 2010, 3:29:09 PM7/2/10
to Alt-F
> Inhttp://db.tt/2jEH0byou will find a new zImage, rootfs.arm.cpio.gz
OK,

with your test kernel i can now get a full dmesg output, and disk is
properly detected and mountable. See output below:

Linux version 2.6.34 (jcard@silver) (gcc version 4.3.3 (GCC) ) #2
PREEMPT Fri
Ju
l 2 15:59:22 WEST 2010
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: D-Link DNS-323
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c03ee7f0, node_mem_map c040c000
Normal zone: 128 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
16256
Kernel command line: initdbg console=ttyS0,115200
ip=192.168.1.234::192.168.1.1:
255.255.255.0:nas.workgroup:eth0:none
PID hash table entries: 256 (order: -2, 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: 52812k/52812k available, 12724k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc4800000 - 0xfd800000 ( 912 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc002a000 ( 136 kB)
.text : 0xc002a000 - 0xc038f000 (3476 kB)
.data : 0xc03ca000 - 0xc03eee00 ( 148 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1,
Nodes=1
Hierarchical RCU implementation.
NR_IRQS:64
Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Orion ID: MV88F5181-Rev-B1. TCLK=166666667.
------------[ cut here ]------------
WARNING: at /home/jcard/tmp/linux-2.6.34/drivers/gpio/gpiolib.c:103
gpio_ensure_
requested+0x64/0x118()
autorequest GPIO-4
Modules linked in:
[<c00311e4>] (unwind_backtrace+0x0/0xec) from [<c02b9398>] (dump_stack
+0x18/0x1c )
[<c02b9398>] (dump_stack+0x18/0x1c) from [<c004b94c>]
(warn_slowpath_common
+0x50 /
0x80)
[<c004b94c>] (warn_slowpath_common+0x50/0x80) from [<c004b9c8>]
(warn_slowpath_f
mt+0x30/0x38)
[<c004b9c8>] (warn_slowpath_fmt+0x30/0x38) from [<c017fd00>]
(gpio_ensure_reques
ted+0x64/0x118)
[<c017fd00>] (gpio_ensure_requested+0x64/0x118) from [<c017fe38>]
(gpio_directio
n_output+0x84/0x140)
[<c017fe38>] (gpio_direction_output+0x84/0x140) from [<c000f35c>]
(dns323_init
+0
x9c/0x338)
[<c000f35c>] (dns323_init+0x9c/0x338) from [<c000ad38>]
(customize_machine
+0x20/
0x2c)
[<c000ad38>] (customize_machine+0x20/0x2c) from [<c002a3d4>]
(do_one_initcall
+0x
64/0x1c8)
[<c002a3d4>] (do_one_initcall+0x64/0x1c8) from [<c00085fc>]
(kernel_init
+0xa8/0x
160)
[<c00085fc>] (kernel_init+0xa8/0x160) from [<c002bacc>]
(kernel_thread_exit
+0x0/
0x8)
---[ end trace 1b75b31a2719ed1c ]---
DNS323: Found ethernet MAC address: 00:19:5b:ec:55:51.
Applying Orion-1/Orion-NAS PCIe config read transaction workaround
pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0000:00:00.0: reg 18: [mem 0x00000000-0x03ffffff]
pci 0000:00:01.0: reg 10: [mem 0xe0000000-0xe00fffff 64bit]
pci 0000:00:01.0: reg 18: [io 0x1000-0x10ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:01:00.0: reg 10: [mem 0x00000000-0x03ffffff 64bit pref]
pci 0000:01:00.0: reg 18: [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:01:00.0: reg 20: [mem 0xf1000000-0xf10fffff 64bit]
pci 0000:01:00.0: reg 30: [mem 0xe0000000-0xe7ffffff pref]
pci 0000:01:00.0: supports D1 D2
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
pci 0000:00:01.0: BAR 0: set to [mem 0xe0000000-0xe00fffff 64bit] (PCI
address
[ 0xe0000000-0xe00fffff]
pci 0000:00:01.0: BAR 2: assigned [io 0x1000-0x10ff]
pci 0000:00:01.0: BAR 2: set to [io 0x1000-0x10ff] (PCI address
[0x1000-0x10ff]
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 32 bytes, default 32
Unpacking initramfs...
Freeing initrd memory: 8016K
NetWinder Floating Point Emulator V0.97 (double precision)
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 deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
loop: module loaded
sata_mv 0000:00:01.0: version 1.28
sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
scsi0 : sata_mv
scsi1 : sata_mv
scsi2 : sata_mv
scsi3 : sata_mv
ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq
11
ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq
11
ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq
11
ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq
11
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
RedBoot partition parsing not available
Using physmap partition information
Creating 5 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000010000 : "MTD1"
0x000000010000-0x000000020000 : "MTD2"
0x000000020000-0x0000001a0000 : "Linux Kernel"
0x0000001a0000-0x0000007d0000 : "File System"
0x0000007d0000-0x000000800000 : "u-boot"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:19:5b:ec:55:51
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 17, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
input: gpio-keys as /class/input/input0
i2c /dev entries driver
rtc-m41t80 0-0068: chip found, driver version 0.05
rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0
lm75 0-0048: hwmon0: sensor 'lm75'
Registered led device: power:blue
Registered led device: right:amber
Registered led device: left:amber
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
VFP support v0.3: not present
rtc-m41t80 0-0068: setting system clock to 2010-07-02 20:19:51 UTC
(1278101991)
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: HITACHI HDS7216SBSUN160G 0821Q7YABM, P22OAB8A, max
UDMA/133
ata2.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access ATA HITACHI HDS7216S P22O PQ: 0
ANSI: 5
sd 1:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support
DPO
or FUA
sda: sda1 sda2 sda4
sd 1:0:0:0: [sda] Attached SCSI disk
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
IP-Config: Complete:
device=eth0, addr=192.168.1.234, mask=255.255.255.0,
gw=192.168.1.1,
host=nas, domain=, nis-domain=workgroup,
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
Freeing init memory: 136K
eth0: link up, 1000 Mb/s, full duplex, flow control disabled

Joao Cardoso

unread,
Jul 3, 2010, 9:39:29 AM7/3/10
to Alt-F
> > Inhttp://db.tt/2jEH0byouwill find a new zImage, rootfs.arm.cpio.gz
Excellent!

Now I only have to figure out what is missing in the Alt-F kernel...

The siginficative differences between your's and mine dmesg output are

Applying Orion-1/Orion-NAS PCIe config read transaction workaround
pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0000:00:00.0: reg 18: [mem 0x00000000-0x03ffffff]
pci 0000:00:01.0: reg 10: [mem 0xe0000000-0xe00fffff 64bit]
pci 0000:00:01.0: reg 18: [io 0x1000-0x10ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:01:00.0: reg 10: [mem 0x00000000-0x03ffffff 64bit pref]
pci 0000:01:00.0: reg 18: [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:01:00.0: reg 20: [mem 0xf1000000-0xf10fffff 64bit]
pci 0000:01:00.0: reg 30: [mem 0xe0000000-0xe7ffffff pref]
pci 0000:01:00.0: supports D1 D2
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
pci 0000:00:01.0: BAR 0: set to [mem 0xe0000000-0xe00fffff 64bit] (PCI
address $
pci 0000:00:01.0: BAR 2: assigned [io 0x1000-0x10ff]
pci 0000:00:01.0: BAR 2: set to [io 0x1000-0x10ff] (PCI address

and

sata_mv 0000:00:01.0: version 1.28
sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
scsi0 : sata_mv
scsi1 : sata_mv
scsi2 : sata_mv
scsi3 : sata_mv
ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq
11
ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq
11
ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq
11
ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq
11

and

PCI: CLS 32 bytes, default 32

The issue seems to be pci/pcie related.

The experimental kernel is "fat", it does not fit in flash, and it
still misses two patches, one of them big.

I have trimmed-down the experimental kernel configuration and
downloaded it to the same place. Could you please check if it still
works?

Thanks,
Joao

> Linux version 2.6.34 (jcard@silver) (gcc version 4.3.3 (GCC) ) #2
> PREEMPT Fri
> Ju
> l 2 15:59:22 WEST 2010
> CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
> CPU: VIVT data cache, VIVT instruction cache
> Machine: D-Link DNS-323
> Memory policy: ECC disabled, Data cache writeback
> On node 0 totalpages: 16384
> free_area_init_node: node 0, pgdat c03ee7f0, ...
>
> read more »

Philster76

unread,
Jul 3, 2010, 2:17:01 PM7/3/10
to Alt-F
starting new post as existing one is getting a little messy:

Latest experimental kernel still works, disks are detected and
mountable, here is the latest dmesg output:

Linux version 2.6.34 (jcard@silver) (gcc version 4.3.3 (GCC) ) #4 Sat
Jul 3 12:53:19 WEST 2010
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: D-Link DNS-323
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c02f3d58, node_mem_map c0306000
Normal zone: 128 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
16256
Kernel command line: initdbg console=ttyS0,115200
ip=192.168.1.234::192.168.1.1:255.255.255.0:nas.workgroup:eth0:none
PID hash table entries: 256 (order: -2, 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: 53860k/53860k available, 11676k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc4800000 - 0xfd800000 ( 912 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0029000 ( 132 kB)
.text : 0xc0029000 - 0xc02bf000 (2648 kB)
.data : 0xc02d4000 - 0xc02f4360 ( 129 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1,
Nodes=1
NR_IRQS:64
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Orion ID: MV88F5181-Rev-B1. TCLK=166666667.
------------[ cut here ]------------
WARNING: at /home/jcard/tmp/linux-2.6.34/drivers/gpio/gpiolib.c:103
0xc0136274()
autorequest GPIO-4
Modules linked in:
Function entered at [<c002fc5c>] from [<c003b834>]
Function entered at [<c003b834>] from [<c003b8a4>]
Function entered at [<c003b8a4>] from [<c0136274>]
Function entered at [<c0136274>] from [<c013636c>]
Function entered at [<c013636c>] from [<c000f1b8>]
Function entered at [<c000f1b8>] from [<c000aac0>]
Function entered at [<c000aac0>] from [<c002933c>]
Function entered at [<c002933c>] from [<c0008410>]
Function entered at [<c0008410>] from [<c002ae94>]
---[ end trace 1b75b31a2719ed1c ]---
DNS323: Found ethernet MAC address: 00:19:5b:ec:55:51.
Applying Orion-1/Orion-NAS PCIe config read transaction workaround
pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0000:00:00.0: reg 18: [mem 0x00000000-0x03ffffff]
pci 0000:00:01.0: reg 10: [mem 0xe0000000-0xe00fffff 64bit]
pci 0000:00:01.0: reg 18: [io 0x1000-0x10ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:01:00.0: reg 10: [mem 0x00000000-0x03ffffff 64bit pref]
pci 0000:01:00.0: reg 18: [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:01:00.0: reg 20: [mem 0xf1000000-0xf10fffff 64bit]
pci 0000:01:00.0: reg 30: [mem 0xe0000000-0xe7ffffff pref]
pci 0000:01:00.0: supports D1 D2
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
pci 0000:00:01.0: BAR 0: set to [mem 0xe0000000-0xe00fffff 64bit] (PCI
address [0xe0000000-0xe00fffff]
pci 0000:00:01.0: BAR 2: assigned [io 0x1000-0x10ff]
pci 0000:00:01.0: BAR 2: set to [io 0x1000-0x10ff] (PCI address
[0x1000-0x10ff]
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 32 bytes, default 32
Unpacking initramfs...
Freeing initrd memory: 8016K
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 120
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
loop: module loaded
sata_mv 0000:00:01.0: version 1.28
sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
scsi0 : sata_mv
scsi1 : sata_mv
scsi2 : sata_mv
scsi3 : sata_mv
ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq
11
ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq
11
ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq
11
ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq
11
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cmdlinepart partition parsing not available
lm75 0-0048: hwmon1: sensor 'lm75'
Registered led device: power:blue
Registered led device: right:amber
Registered led device: left:amber
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-m41t80 0-0068: setting system clock to 2010-07-03 19:14:02 UTC
(1278184442)
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: HITACHI HDS7216SBSUN160G 0821Q7YABM, P22OAB8A, max
UDMA/133
ata2.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access ATA HITACHI HDS7216S P22O PQ: 0
ANSI: 5
sd 1:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sda: sda1 sda2 sda4
sd 1:0:0:0: [sda] Attached SCSI disk
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
IP-Config: Complete:
device=eth0, addr=192.168.1.234, mask=255.255.255.0,
gw=192.168.1.1,
host=nas, domain=, nis-domain=workgroup,
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
Freeing init memory: 132K
eth0: link up, 1000 Mb/s, full duplex, flow control enabled

###########################################################################

P

Joao Cardoso

unread,
Jul 3, 2010, 8:07:26 PM7/3/10
to Alt-F


On Jul 3, 7:17 pm, Philster76 <p.s.hew...@gmail.com> wrote:
> starting new post as existing one is getting a little messy:
>
> Latest experimental kernel still works, disks are detected and
> mountable, here is the latest dmesg output:

Philster76,

The siege narrows... there is another kernel in the usual site. It
should also work.

I think I known where the problem lies, but can't understand how it is
reached, or how kernel configuration can affect it.

arch/arm/mach-orion5x/pci.c:orion5x_pci_sys_setup() calls
pcie_setup(), where the "Applying Orion-1/Orion-NAS PCIe ..." message
is printed.
orion5x_pci_sys_setup() is registered at arch/arm/mach-orion5x/dns323-
setup.c as the setup entry point on struct hw_pci dns323_pci
It should be called both for the MV88F5182 or the MV88F5181, but on my
system it isn't called... and this is not configurable through the
kernel configuration. hmmm

Thanks
Joao


> P

Philster76

unread,
Jul 4, 2010, 3:58:12 AM7/4/10
to Alt-F
Still looking good, disks detected and mountable, heres the latest
output:

Linux version 2.6.34 (jcard@silver) (gcc version 4.3.3 (GCC) ) #16 Sat
Jul 3 21:40:48 WEST 2010
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: D-Link DNS-323
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c02e2214, node_mem_map c02f4000
Normal zone: 128 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
16256
Kernel command line: initdbg console=ttyS0,115200
ip=192.168.1.234::192.168.1.1:255.255.255.0:nas.workgroup:eth0:none
PID hash table entries: 256 (order: -2, 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: 53932k/53932k available, 11604k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc4800000 - 0xfd800000 ( 912 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0026000 ( 120 kB)
.text : 0xc0026000 - 0xc02b0000 (2600 kB)
.data : 0xc02c6000 - 0xc02e2820 ( 115 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1,
Nodes=1
NR_IRQS:64
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Orion ID: MV88F5181-Rev-B1. TCLK=166666667.
------------[ cut here ]------------
WARNING: at /home/jcard/tmp/linux-2.6.34/drivers/gpio/gpiolib.c:103
0xc0131294()
autorequest GPIO-4
Modules linked in:
Function entered at [<c002cc58>] from [<c0037b78>]
Function entered at [<c0037b78>] from [<c0037be8>]
Function entered at [<c0037be8>] from [<c0131294>]
Function entered at [<c0131294>] from [<c013138c>]
Function entered at [<c013138c>] from [<c000e8d4>]
Function entered at [<c000e8d4>] from [<c000aac0>]
Function entered at [<c000aac0>] from [<c002633c>]
Function entered at [<c002633c>] from [<c0008410>]
Function entered at [<c0008410>] from [<c0027e94>]
---[ end trace 1b75b31a2719ed1c ]---
DNS323: Found ethernet MAC address: 00:19:5b:ec:55:51.
jc: orion5x_pci_sys_setup: nr=0 orion5x_pci_disabled=0
Applying Orion-1/Orion-NAS PCIe config read transaction workaround
pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0000:00:00.0: reg 18: [mem 0x00000000-0x03ffffff]
pci 0000:00:01.0: reg 10: [mem 0xe0000000-0xe00fffff 64bit]
pci 0000:00:01.0: reg 18: [io 0x1000-0x10ff]
PCI: bus0: Fast back to back transfers disabled
jc: orion5x_pci_sys_setup: nr=1 orion5x_pci_disabled=0
pci 0000:01:00.0: reg 10: [mem 0x00000000-0x03ffffff 64bit pref]
pci 0000:01:00.0: reg 18: [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:01:00.0: reg 20: [mem 0xf1000000-0xf10fffff 64bit]
pci 0000:01:00.0: reg 30: [mem 0xe0000000-0xe7ffffff pref]
pci 0000:01:00.0: supports D1 D2
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
pci 0000:00:01.0: BAR 0: set to [mem 0xe0000000-0xe00fffff 64bit] (PCI
address [0xe0000000-0xe00fffff]
pci 0000:00:01.0: BAR 2: assigned [io 0x1000-0x10ff]
pci 0000:00:01.0: BAR 2: set to [io 0x1000-0x10ff] (PCI address
[0x1000-0x10ff]
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
Switched to NOHz mode on CPU #0
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys as /class/input/input0
i2c /dev entries driver
rtc-m41t80 0-0068: chip found, driver version 0.05
rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0
lm75 0-0048: hwmon1: sensor 'lm75'
Registered led device: power:blue
Registered led device: right:amber
Registered led device: left:amber
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-m41t80 0-0068: setting system clock to 2010-07-04 08:56:04 UTC
(1278233764)
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: HITACHI HDS7216SBSUN160G 0821Q7YABM, P22OAB8A, max
UDMA/133
ata2.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access ATA HITACHI HDS7216S P22O PQ: 0
ANSI: 5
sd 1:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sda: sda1 sda2 sda4
sd 1:0:0:0: [sda] Attached SCSI disk
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
IP-Config: Complete:
device=eth0, addr=192.168.1.234, mask=255.255.255.0,
gw=192.168.1.1,
host=nas, domain=, nis-domain=workgroup,
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
Freeing init memory: 120K
eth0: link up, 1000 Mb/s, full duplex, flow control enabled


P

Joao Cardoso

unread,
Jul 4, 2010, 1:49:35 PM7/4/10
to Alt-F


On Jul 4, 8:58 am, Philster76 <p.s.hew...@gmail.com> wrote:
> On Jul 4, 1:07 am, Joao Cardoso <whoami.jc...@gmail.com> wrote:
>
> > On Jul 3, 7:17 pm, Philster76 <p.s.hew...@gmail.com> wrote:
>
> > > starting new post as existing one is getting a little messy:
>
> > > Latest experimental kernel still works, disks are detected and
> > > mountable, here is the latest dmesg output:
>
> > Philster76,
>
> > The siege narrows... there is another kernel in the usual site. It
> > should also work.
>
> > I think I known where the problem lies, but can't understand how it is
> > reached, or how kernel configuration can affect it.
>
> > arch/arm/mach-orion5x/pci.c:orion5x_pci_sys_setup() calls
> > pcie_setup(), where the "Applying Orion-1/Orion-NAS PCIe ..." message
> > is printed.
> > orion5x_pci_sys_setup() is registered at arch/arm/mach-orion5x/dns323-
> > setup.c as the setup entry point on struct hw_pci dns323_pci
> > It should be called both for the MV88F5182 or the MV88F5181, but on my
> > system it isn't called... and this is not configurable through the
> > kernel configuration. hmmm
>
> > Thanks
> > Joao
>
> > > P
>
> Still looking good, disks detected and mountable, heres the latest
> output:

Another kernel is available at the usual place. I expect this one to
fail... lets hope so.

Thanks

PS-Do you have a serial link? Or are you telneting the box?

>
> P

Philster76

unread,
Jul 4, 2010, 3:32:16 PM7/4/10
to Alt-F
Hi,

Tried this one, doesnt even seem to load the kernel at all.

Have no Serial, so cant see what is going on as telnet hasnt come up
with this one.

P

Joao Cardoso

unread,
Jul 4, 2010, 5:21:56 PM7/4/10
to Alt-F


On Jul 4, 8:32 pm, Philster76 <p.s.hew...@gmail.com> wrote:
> Hi,
>
> Tried this one, doesnt even seem to load the kernel at all.
>
> Have no Serial, so cant see what is going on as telnet hasnt come up
> with this one.

My fault. I have also downloaded a new rootfs; have you used it? It
was in error.

Anyhow I have recovered the previous version (I use dropbox recover
capability, hope it works OK).
Can you try again?

Joao

Joao Cardoso

unread,
Jul 4, 2010, 5:35:50 PM7/4/10
to Alt-F


On Jul 4, 10:21 pm, Joao Cardoso <whoami.jc...@gmail.com> wrote:
> On Jul 4, 8:32 pm, Philster76 <p.s.hew...@gmail.com> wrote:
>
> > Hi,
>
> > Tried this one, doesnt even seem to load the kernel at all.
>
> > Have no Serial, so cant see what is going on as telnet hasnt come up
> > with this one.
>
> My fault. I have also downloaded a new rootfs; have you used it? It
> was in error.
>
> Anyhow I have recovered the previous version (I use dropbox recover
> capability, hope it works OK).
> Can you try again?

If izImage does not work, can you try zImage-0.1B3 (rename it to
zImage, of course)

google groups should have the ability to edit a (recent) message!

Joao

Philster76

unread,
Jul 6, 2010, 2:47:32 PM7/6/10
to Alt-F
finally managed to get a chance to test the last kernel, zImage-0.1B3
doesnt work, here's the output:

Linux version 2.6.33.5 (jcard@silver) (gcc version 4.3.3 (GCC) ) #3
Sun Jul 4 19:46:41 WEST 2010
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: D-Link DNS-323
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c02d0674, node_mem_map c02e2000
Normal zone: 128 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
16256
Kernel command line: initdbg console=ttyS0,115200
ip=192.168.1.234::192.168.1.1:255.255.255.0:nas.workgroup:eth0:none
PID hash table entries: 256 (order: -2, 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: 53940KB available (2536K code, 176K data, 116K init, 0K
highmem)
NR_IRQS:64
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Orion ID: MV88F5181-Rev-B1. TCLK=166666667.
DNS323: Found ethernet MAC address: 00:19:5b:ec:55:51.
Applying Orion-1/Orion-NAS PCIe config read transaction workaround
pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0000:00:00.0: reg 18: [mem 0x00000000-0x03ffffff]
pci 0000:00:01.0: reg 10: [mem 0xe0000000-0xe00fffff 64bit]
pci 0000:00:01.0: reg 18: [io 0x1000-0x10ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:01:00.0: reg 10: [mem 0x00000000-0x03ffffff 64bit pref]
pci 0000:01:00.0: reg 18: [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:01:00.0: reg 20: [mem 0xf1000000-0xf10fffff 64bit]
pci 0000:01:00.0: reg 30: [mem 0xe0000000-0xe7ffffff pref]
pci 0000:01:00.0: supports D1 D2
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
PCI: bus1: Fast back to back transfers enabled
pci 0000:01:00.0: BAR 2: can't assign mem pref (size 0x10000000)
pci 0000:01:00.0: BAR 6: assigned [mem 0xe8000000-0xefffffff pref]
pci 0000:01:00.0: BAR 0: can't assign mem pref (size 0x4000000)
pci 0000:01:00.0: BAR 4: can't assign mem (size 0x100000)
pci 0000:00:00.0: BAR 2: assigned [mem 0xe0000000-0xe3ffffff]
pci 0000:00:00.0: BAR 2: set to [mem 0xe0000000-0xe3ffffff] (PCI
address [0xe0000000-0xe3ffffff]
pci 0000:00:00.0: BAR 0: assigned [mem 0xe4000000-0xe40fffff 64bit
pref]
pci 0000:00:00.0: BAR 0: set to [mem 0xe4000000-0xe40fffff 64bit pref]
(PCI address [0xe4000000-0xe40fffff]
pci 0000:00:01.0: BAR 0: assigned [mem 0xe4100000-0xe41fffff 64bit]
pci 0000:00:01.0: BAR 0: set to [mem 0xe4100000-0xe41fffff 64bit] (PCI
address [0xe4100000-0xe41fffff]
pci 0000:00:01.0: BAR 2: assigned [io 0x1000-0x10ff]
pci 0000:00:01.0: BAR 2: set to [io 0x1000-0x10ff] (PCI address
[0x1000-0x10ff]
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
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
Unpacking initramfs...
Switched to NOHz mode on CPU #0
Freeing initrd memory: 8016K
squashfs: version 4.0 (2009/01/31) Phillip Lougher
aufs 2-standalone.tree-33-20100308
msgmni has been set to 121
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
loop: module loaded
sata_mv 0000:00:01.0: version 1.28
sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
scsi0 : sata_mv
scsi1 : sata_mv
scsi2 : sata_mv
scsi3 : sata_mv
ata1: SATA max UDMA/133 mmio m1048576@0xe4100000 port 0xe4122000 irq
11
ata2: SATA max UDMA/133 mmio m1048576@0xe4100000 port 0xe4124000 irq
11
ata3: SATA max UDMA/133 mmio m1048576@0xe4100000 port 0xe4126000 irq
11
ata4: SATA max UDMA/133 mmio m1048576@0xe4100000 port 0xe4128000 irq
11
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 5 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000010000 : "MTD1"
0x000000010000-0x000000020000 : "MTD2"
0x000000020000-0x0000001a0000 : "Linux Kernel"
0x0000001a0000-0x0000007d0000 : "File System"
0x0000007d0000-0x000000800000 : "u-boot"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:19:5b:ec:55:51
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 17, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys as /class/input/input0
i2c /dev entries driver
rtc-m41t80 0-0068: chip found, driver version 0.05
rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0
lm75 0-0048: hwmon1: sensor 'lm75'
Registered led device: power:blue
Registered led device: right:amber
Registered led device: left:amber
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-m41t80 0-0068: setting system clock to 2010-07-06 19:36:34 UTC
(1278444994)
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: HITACHI HDS7216SBSUN160G 0821Q7YABM, P22OAB8A, max
UDMA/133
ata2.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access ATA HITACHI HDS7216S P22O PQ: 0
ANSI: 5
sd 1:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sda:
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata3: SATA link down (SStatus 0 SControl 300)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: configured for UDMA/133
ata2: EH complete
ata2: limiting SATA link speed to 1.5 Gbps
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata4: SATA link down (SStatus 0 SControl 300)
IP-Config: Complete:
device=eth0, addr=192.168.1.234, mask=255.255.255.0,
gw=192.168.1.1,
host=nas, domain=, nis-domain=workgroup,
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/133
ata2: EH complete
ata2.00: limiting speed to UDMA/100:PIO4
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/100
ata2: EH complete
ata2.00: limiting speed to UDMA/33:PIO4
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
eth0: link up, 1000 Mb/s, full duplex, flow control enabled
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/33
sd 1:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 1: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 ff ff
ff ff ff ff
sd 1:0:0:0: [sda] ASC=0x0 ASCQ=0x0
sd 1: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
ata2: EH complete
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action 0x6 frozen
ata2.00: edma_err_cause=00000280 pp_flags=00000003, parity error, EDMA
self-disable
ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask 0x10 (ATA bus
error)
ata2: hard resetting link
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: configured for UDMA/33
sd 1:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 1: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 ff ff
ff ff ff ff
sd 1:0:0:0: [sda] ASC=0x0 ASCQ=0x0
sd 1: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
ata2: EH complete
unable to read partition table
sda: detected capacity change from 0 to 160041885696
sd 1:0:0:0: [sda] Attached SCSI disk
Freeing init memory: 116K

Joao Cardoso

unread,
Jul 21, 2010, 7:48:15 PM7/21/10
to al...@googlegroups.com
On Tuesday 06 July 2010 19:47:32 Philster76 wrote:
> finally managed to get a chance to test the last kernel, zImage-0.1B3
> doesnt work, here's the output:
>
> Linux version 2.6.33.5 (jcard@silver) (gcc version 4.3.3 (GCC) ) #3
> Sun Jul 4 19:46:41 WEST 2010
...

Thanks.

I though that I have found the culprit, but it seems I was wrong!

> On Jul 4, 10:35 pm, Joao Cardoso <whoami.jc...@gmail.com> wrote:
> > On Jul 4, 10:21 pm, Joao Cardoso <whoami.jc...@gmail.com> wrote:
> > > On Jul 4, 8:32 pm, Philster76 <p.s.hew...@gmail.com> wrote:
> > > > Hi,
> > > >
> > > > Tried this one, doesnt even seem to load the kernel at all.

Can you please try it again? In your previous attempt you might have used a
faulty rootfs.

:My fault. I have also downloaded a new rootfs; have you used it? It


: was in error.
:
: Anyhow I have recovered the previous version (I use dropbox recover
: capability, hope it works OK).
: Can you try again?

To summarise: I took a vanilla 2.6.34 kernel configured with a default orion5x
configuration, and it worked fine, but it was too big to fit the available
flash space. So I start striping kernel options and drivers, and it still
worked on your A1 board. (*)

When I though that I have found the problem, I made two images available:
zImage, the stripped 2.6.34 kernel - removing two new kernel options
zImage-0.1B3, the stock Alt-F kernel - adding the two kernel options

What zImage-0.1B3 has zImage hasn't. I expected zImage-0.1B3 to work and
zImage to not work.
But, as the posted initramfs was in fault, I'm not sure if zImage failed
because of the options removed or because of the faulty initramfs.

That's why I ask you to try it again.

I might be somehow unresponsive during this and the next month, because of
familiar issues -- please be patient.

Thanks,
Joao

(*) Why not use the working 2.6.34 kernel? because it misses an important
patch, and I need time (after 0.1B3) to set it up.

Reply all
Reply to author
Forward
0 new messages