[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Open-RD Client, cannot boot into Debian after succesful install



On Sun, Jan 3, 2010 at 11:18 PM, Francois Lorrain
<francois.lorrain@gmail.com> wrote:
> Hello,
>
> Ok it works a lot better with :
>
> setenv bootcmd_sata 'ide reset;ext2load ide 1:1 0x0800000
> /uInitrd;ext2load ide 1:1 0x400000 /uImage;bootm 0x400000 0x800000'
> run bootcmd_sata
>
> The bootm need the initrd address too.
>
> Regards
>
> Francois
>

Hello,

This is getting interesting ...

If I try to update to the latest kernel from sid (2.6.32-trunk), I get a crash :

Marvell>> printenv bootcmd_sata
bootcmd_sata=ide reset;ext2load ide 1:1 0x0800000 /uInitrd;ext2load
ide 1:1 0x400000 /uImage;bootm 0x400000 0x800000
Marvell>> run bootcmd_sata

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 1 0]: Enable DMA mode (6)
  Device 1 @ 0 1:
Model: WDC WD5000AAKS-00TMA0                    Firm: 12.01C01 Ser#:
   WD-WCAPW0126862
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)


5806396 bytes read

1420792 bytes read
## Booting image at 00400000 ...
   Image Name:   Debian kernel
   Created:      2010-01-03  22:24:10 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1420728 Bytes =  1.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   Debian ramdisk
   Created:      2010-01-03  22:24:10 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5806332 Bytes =  5.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-trunk-kirkwood (Debian 2.6.32-3)
(ben@decadent.org.uk) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 Sun Dec
27 04:22:07 UTC 2009
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE),
cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell OpenRD Client Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 256MB 256MB = 512MB total
[    0.000000] Memory: 509568KB available (3484K code, 575K data, 120K
init, 0K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0,
CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000000] Console: colour dummy device 80x30
[    0.000122] Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
[    0.230087] Security Framework initialized
[    0.230105] SELinux:  Disabled at boot.
[    0.230129] Mount-cache hash table entries: 512
[    0.230418] Initializing cgroup subsys ns
[    0.230433] Initializing cgroup subsys cpuacct
[    0.230443] Initializing cgroup subsys devices
[    0.230451] Initializing cgroup subsys freezer
[    0.230458] Initializing cgroup subsys net_cls
[    0.230500] CPU: Testing write buffer coherency: ok
[    0.232707] regulator: core version 0.5
[    0.232912] NET: Registered protocol family 16
[    0.233406] Kirkwood: MV88F6281-A0, TCLK=200000000.
[    0.233418] Feroceon L2: Enabling L2
[    0.233450] Feroceon L2: Cache support initialised.
[    0.234671] PCI: bus0: Fast back to back transfers disabled
[    0.236066] bio: create slab <bio-0> at 0
[    0.236313] vgaarb: device added:
PCI:0000:00:01.0,decodes=io+mem,owns=io+mem,locks=none
[    0.236325] vgaarb: loaded
[    0.236758] Switching to clocksource orion_clocksource
[    0.240297] NET: Registered protocol family 2
[    0.240527] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.241265] TCP established hash table entries: 16384 (order: 5,
131072 bytes)
[    0.241616] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.241794] TCP: Hash tables configured (established 16384 bind 16384)
[    0.241803] TCP reno registered
[    0.241967] NET: Registered protocol family 1
[    0.242150] Unpacking initramfs...
[    0.603743] Freeing initrd memory: 5668K
[    0.603837] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.604077] audit: initializing netlink socket (disabled)
[    0.604110] type=2000 audit(0.590:1): initialized
[    0.610713] VFS: Disk quotas dquot_6.5.2
[    0.610943] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.611041] JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    0.611625] msgmni has been set to 1006
[    0.613205] alg: No test for stdrng (krng)
[    0.613323] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 253)
[    0.613336] io scheduler noop registered
[    0.613343] io scheduler anticipatory registered
[    0.613350] io scheduler deadline registered
[    0.613538] io scheduler cfq registered (default)
[    0.618288] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.618663] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    0.948022] console [ttyS0] enabled
[    0.951730] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[    0.959108] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc
(Hynix NAND 512MiB 3,3V 8-bit)
[    0.967622] Scanning device for bad blocks
[    1.022207] Bad eraseblock 1361 at 0x00000aa20000
[    1.085217] Bad eraseblock 2934 at 0x000016ec0000
[    1.132962] Creating 3 MTD partitions on "orion_nand":
[    1.138135] 0x000000000000-0x000000100000 : "u-boot"
[    1.143632] 0x000000100000-0x000000500000 : "uImage"
[    1.149066] 0x000000500000-0x000020000000 : "root"
[    1.155066] mice: PS/2 mouse device common for all mice
[    1.160641] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[    1.166566] i2c /dev entries driver
[    1.170452] cpuidle: using governor ladder
[    1.174680] cpuidle: using governor menu
[    1.178695] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[    1.185099] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[    1.226819] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    1.266817] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    1.306817] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[    1.346816] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[    1.353451] TCP cubic registered
[    1.356698] NET: Registered protocol family 17
[    1.361446] registered taskstats version 1
[    1.366263] rtc-mv rtc-mv: setting system clock to 2010-01-03
22:26:22 UTC (1262557582)
[    1.374363] Freeing init memory: 120K
Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... [    1.915049] MV-643xx
10/100/1000 ethernet driver version 1.4
[    1.921434] mv643xx_eth smi: probed
[    1.931351] net eth0: port 0 with MAC address 00:50:43:01:db:7b
[    2.027402] net eth1: port 0 with MAC address 00:50:43:01:db:7c
[    2.037235] SCSI subsystem initialized
[    2.088493] usbcore: registered new interface driver usbfs
[    2.177413] mmc0: mvsdio driver initialized, using GPIO 29 for card detection
[    2.185508] usbcore: registered new interface driver hub
[    2.191875] usbcore: registered new device driver usb
[    2.231273] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.237944] orion-ehci orion-ehci.0: Marvell Orion EHCI
[    2.243281] orion-ehci orion-ehci.0: new USB bus registered,
assigned bus number 1
[    2.276804] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    2.296791] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    2.302790] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.309626] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    2.316893] usb usb1: Product: Marvell Orion EHCI
[    2.321617] usb usb1: Manufacturer: Linux 2.6.32-trunk-kirkwood ehci_hcd
[    2.328358] usb usb1: SerialNumber: orion-ehci.0
[    2.333854] usb usb1: configuration #1 chosen from 1 choice
[    2.339763] hub 1-0:1.0: USB hub found
[    2.343558] hub 1-0:1.0: 1 port detected
[    2.347715] sata_mv sata_mv.0: version 1.28
[    2.352030] sata_mv sata_mv.0: slots 32 ports 2
[    2.364732] scsi0 : sata_mv
[    2.373758] scsi1 : sata_mv
[    2.377090] ata1: SATA max UDMA/133 irq 21
[    2.381211] ata2: SATA max UDMA/133 irq 21
[    2.666810] usb 1-1: new high speed USB device using orion-ehci and address 2
[    2.726804] ata1: SATA link down (SStatus 0 SControl F300)
[    2.817208] usb 1-1: New USB device found, idVendor=0424, idProduct=2517
[    2.823942] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.832301] usb 1-1: configuration #1 chosen from 1 choice
[    2.843788] hub 1-1:1.0: USB hub found
[    2.853335] hub 1-1:1.0: 7 ports detected
[    3.236808] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    3.296841] ata2.00: ATA-7: WDC WD5000AAKS-00TMA0, 12.01C01, max UDMA/133
[    3.303666] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.366889] ata2.00: configured for UDMA/133
[    3.371472] scsi 1:0:0:0: Direct-Access     ATA      WDC
WD5000AAKS-0 12.0 PQ: 0 ANSI: 5
[    3.407471] sd 1:0:0:0: [sda] 976773168 512-byte logical blocks:
(500 GB/465 GiB)
[    3.415723] sd 1:0:0:0: [sda] Write Protect is off
[    3.420671] sd 1:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[    3.430356]  sda: sda1 sda2 sda3
[    3.453019] sd 1:0:0:0: [sda] Attached SCSI disk
[    3.670763] Unable to handle kernel NULL pointer dereference at
virtual address 00000000
[    3.678926] pgd = c0858000
[    3.681640] [00000000] *pgd=1eb36031, *pte=00000000, *ppte=00000000
[    3.687974] Internal error: Oops: 17 [#1]
[    3.691999] last sysfs file: /sys/module/scsi_wait_scan/refcnt
[    3.697857] Modules linked in: sd_mod crc_t10dif sata_mv ehci_hcd
libata mvsdio usbcore scsi_mod nls_base mmc_core mv643xx_eth libphy
[last unloaded: scsi_wait_scan]
[    3.712817] CPU: 0    Not tainted  (2.6.32-trunk-kirkwood #1)
[    3.718592] PC is at strcmp+0x8/0x34
[    3.722185] LR is at sysfs_find_dirent+0x1c/0x40
[    3.726821] pc : [<c01a6220>]    lr : [<c011c3f0>]    psr: a0000013
[    3.726826] sp : c0a75ef0  ip : 00000000  fp : 0001a148
[    3.738364] r10: 00000000  r9 : c0a74000  r8 : c0027048
[    3.743614] r7 : c0a75f44  r6 : 00000080  r5 : 00000000  r4 : c0a354b0
[    3.750171] r3 : c0a35480  r2 : 00000000  r1 : 00000000  r0 : 00000000
[    3.756729] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[    3.763897] Control: 0005397f  Table: 00858000  DAC: 00000015
[    3.769669] Process modprobe (pid: 147, stack limit = 0xc0a74270)
[    3.775791] Stack: (0xc0a75ef0 to 0xc0a76000)
[    3.780171] 5ee0:                                     c0a35480
c0a35480 00000000 c011aca8
[    3.788387] 5f00: c0a35480 00000000 00000000 00000000 00000000
c0a26280 00000080 c006fa48
[    3.796610] 5f20: c0027048 bf106038 bf106038 c0071a60 00000000
00000000 bf106038 c0071d1c
[    3.804835] 5f40: c081dc60 69736373 6961775f 63735f74 c0006e61
c081dc60 c08fb600 c00b8e04
[    3.813057] 5f60: 4001f000 deb2ae00 c08fb600 00000000 c08fb634
4001e000 00001000 00027048
[    3.821279] 5f80: c0a74000 00000000 beebb91c 00000000 00000000
0001a424 0001a478 0001a418
[    3.829502] 5fa0: 00000081 c0026ea0 0001a424 0001a478 0001a478
00000080 00000000 00019f48
[    3.837725] 5fc0: 0001a424 0001a478 0001a418 00000081 00000000
00000009 0001a478 0001a148
[    3.845949] 5fe0: beebb9a4 beebb920 0000adbc 400ec83c 60000010
0001a478 45dc7478 7826c0fb
[    3.854176] [<c01a6220>] (strcmp+0x8/0x34) from [<c011c3f0>]
(sysfs_find_dirent+0x1c/0x40)
[    3.862485] [<c011c3f0>] (sysfs_find_dirent+0x1c/0x40) from
[<c011aca8>] (sysfs_hash_and_remove+0x2c/0x64)
[    3.872190] [<c011aca8>] (sysfs_hash_and_remove+0x2c/0x64) from
[<c006fa48>] (free_notes_attrs+0x28/0x54)
[    3.881806] [<c006fa48>] (free_notes_attrs+0x28/0x54) from
[<c0071a60>] (free_module+0x90/0x14c)
[    3.890640] [<c0071a60>] (free_module+0x90/0x14c) from [<c0071d1c>]
(sys_delete_module+0x200/0x250)
[    3.899735] [<c0071d1c>] (sys_delete_module+0x200/0x250) from
[<c0026ea0>] (ret_fast_syscall+0x0/0x28)
[    3.909089] Code: 1afffff2 e8bd8030 e1a0c000 e3a02000 (e7dc0002)
[    3.915260] ---[ end trace e137a0bd4825b971 ]---
Segmentation fault
done.

Now I suspect I ned to boot the old kernel via TFTP or is there a
solution to boot the previous kernel ?

Regards

Francois


Reply to: