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

armel kernel 3.10.11 on orion5x - CONFIG_PCI_QUIRKS needed? [WD Sharespace related]



Hi all,

I've recently picked up my porting work for the WD Sharespace again.
Mostly pointless but it keeps me happy. I've generally been building
kernels with a .config matched closely to the debian config, but I
noticed that I can't get my box to boot without CONFIG_PCI_QUIRKS set,
as the sata_mv driver probe fails.

The Sharespace has similar hardware to the QNAP TS-409 and various
other orion5x machines, has anyone with one of these devices had this
problem running recent testing kernels?
Is it just me and my 'special' NAS or are other orion5x/sata_mv
devices affected?

It also won't start without calling orion5x_pci_disable() before
pci_common_init(), which only a couple of the other boards need, so
maybe it is just weird...


Cheers,

David Hicks.



Boot output from startup without CONFIG_PCI_QUIRKS below (yes my main
drive is labelled 'turnip') -

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** Forcing LOADER mode only **
 ** MARVELL BOARD: DB-88F5X81-DDR2-A/B LE

U-Boot 1.1.4 (Aug  4 2008 - 09:35:54) Marvell version: 2.3.23

U-Boot code: 00200000 -> 0026FFF0  BSS: -> 0027AD18

Soc: 88F5281 D0 (DDR2)
CPU running @ 500Mhz
SysClock = 166Mhz , TClock = 166Mhz

DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  32bit width
[16384kB@ff000000] Flash: 16 MB
Addresses 4M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (4M - 3M): Done

CPU : ARM926 (Rev 0)
Streaming disabled
VFP initialized to Run Fast Mode.
USB 0: host mode
PCI 0: PCI Express Root Complex Interface
CPU: Write allocate enabled
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> run net_bootcmd

Reset IDE:
Marvell Serial ATA Adapter
Found adapter at bus 0, device 1 ... Scanning channels
  Device 3: OK
Model: VB0250EAVER                              Firm: HPG7     Ser#:
S2A701RF
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)

Using egiga0 device
TFTP from server 192.168.1.150; our IP address is 192.168.1.2
Filename 'uImage'.
Load address: 0x800000
Loading: #################################################################
     #################################################################
     #################################################################
     #################################################################
     ##################################
done
Bytes transferred = 1503680 (16f1c0 hex)
Using egiga0 device
TFTP from server 192.168.1.150; our IP address is 192.168.1.2
Filename 'uInitrd'.
Load address: 0x1100000
Loading: #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################
done
Bytes transferred = 9070618 (8a681a hex)
## Booting image at 00800000 ...
   Image Name:   SharespaceKImage
   Created:      2013-10-22  17:23:59 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1503616 Bytes =  1.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   SharespaceInitrd
   Created:      2013-10-22  17:24:00 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9070554 Bytes =  8.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.11.6 (dave@kraken) (gcc version 4.7.2
(Debian 4.7.2-4) ) #1 Tue Oct 22 17:59:22 BST 2013
[    0.000000] CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: WD Sharespace
[    0.000000] Clearing invalid memory bank 0KB@0x00000000
[    0.000000] Clearing invalid memory bank 0KB@0x00000000
[    0.000000] Clearing invalid memory bank 0KB@0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200
root=/dev/disk/by-label/turnip
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] allocated 262144 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't
want memory cgroups
[    0.000000] Memory: 116400K/131072K available (2769K kernel code,
257K rwdata, 932K rodata, 134K init, 257K bss, 14672K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03a55f0   (3702 kB)
[    0.000000]       .init : 0xc03a6000 - 0xc03c7a5c   ( 135 kB)
[    0.000000]       .data : 0xc03c8000 - 0xc0408440   ( 258 kB)
[    0.000000]        .bss : 0xc0408440 - 0xc0448884   ( 258 kB)
[    0.000000] NR_IRQS:64
[    0.000000] sched_clock: 32 bits at 166MHz, resolution 5ns, wraps
every 25769ms
[    0.000000] Console: colour dummy device 80x30
[    8.062523] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[    8.122220] pid_max: default: 32768 minimum: 301
[    8.122378] Security Framework initialized
[    8.122463] Mount-cache hash table entries: 512
[    8.123485] Initializing cgroup subsys memory
[    8.123607] Initializing cgroup subsys devices
[    8.123628] Initializing cgroup subsys freezer
[    8.123644] Initializing cgroup subsys net_cls
[    8.123659] Initializing cgroup subsys blkio
[    8.123675] Initializing cgroup subsys perf_event
[    8.123785] CPU: Testing write buffer coherency: ok
[    8.124448] Setting up static identity map for 0xc029cb78 - 0xc029cbb4
[    8.126051] devtmpfs: initialized
[    8.128319] regulator-dummy: no parameters
[    8.128723] NET: Registered protocol family 16
[    8.130482] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    8.131322] Orion ID: MV88F5281-D0. TCLK=166666667.
[    8.131388] Orion: Applying 5281 D0 WFI workaround.
[    8.133349] PCI host bridge to bus 0000:00
[    8.133385] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    8.133410] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    8.133434] pci_bus 0000:00: No busn resource found for root bus,
will use [bus 00-ff]
[    8.134321] PCI: bus0: Fast back to back transfers disabled
[    8.134410] pci 0000:00:00.0: BAR 2: assigned [mem 0xe0000000-0xe7ffffff]
[    8.134442] pci 0000:00:00.0: BAR 0: can't assign mem pref (size 0x100000)
[    8.134468] pci 0000:00:01.0: BAR 0: can't assign mem (size 0x100000)
[    8.134495] pci 0000:00:01.0: BAR 2: assigned [io  0x1000-0x10ff]
[    8.137650] bio: create slab <bio-0> at 0
[    8.139596] Switched to clocksource orion_clocksource
[    8.157926] NET: Registered protocol family 2
[    8.159003] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    8.159074] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    8.159118] TCP: Hash tables configured (established 1024 bind 1024)
[    8.159344] TCP: reno registered
[    8.159372] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    8.159418] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    8.159868] NET: Registered protocol family 1
[    8.160262] Unpacking initramfs...
[   10.271905] Freeing initrd memory: 8852K (c1101000 - c19a6000)
[   10.273395] audit: initializing netlink socket (disabled)
[   10.273462] type=2000 audit(2.200:1): initialized
[   10.274730] VFS: Disk quotas dquot_6.5.2
[   10.274818] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   10.275078] msgmni has been set to 244
[   10.276685] alg: No test for stdrng (krng)
[   10.276850] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 252)
[   10.277129] io scheduler noop registered
[   10.277148] io scheduler deadline registered
[   10.277200] io scheduler cfq registered (default)
[   10.277789] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   10.299079] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
[   10.776367] console [ttyS0] enabled
[   10.800616] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A
[   10.808685] physmap platform flash device: 01000000 at ff000000
[   10.814979] physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit
bank. Manufacturer ID 0x000001 Chip ID 0x002101
[   10.825183] Amd/Fujitsu Extended Query Table at 0x0040
[   10.830335]   Amd/Fujitsu Extended Query version 1.3.
[   10.835367] number of CFI chips: 1
[   10.866189] Creating 5 MTD partitions on "physmap-flash.0":
[   10.871811] 0x000000ca0000-0x000000cc0000 : "U-Boot environment"
[   10.879407] 0x000000e80000-0x000000f80000 : "Pre-RootFS"
[   10.886401] 0x000000cc0000-0x000000e80000 : "Kernel"
[   10.892975] 0x000000000000-0x000000ca0000 : "Full RootFS"
[   10.899962] 0x000000f80000-0x000001000000 : "U-Boot"
[   10.907409] mousedev: PS/2 mouse device common for all mice
[   10.913452] i2c /dev entries driver
[   10.917767] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[   10.925685] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[   10.934754] TCP: cubic registered
[   10.938072] NET: Registered protocol family 17
[   10.942629] VFP support v0.3: implementor 41 architecture 1 part 10
variant 9 rev 0
[   10.951124] registered taskstats version 1
[   10.957045] rtc-pcf8563 0-0051: setting system clock to 2013-10-22
17:25:14 UTC (1382462714)
[   10.966731] Freeing unused kernel memory: 132K (c03a6000 - c03c7000)
Loading, please wait...
[   11.115631] systemd-udevd[48]: starting version 204
[   11.385813] SCSI subsystem initialized
[   11.427282] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.575538] libphy: orion_mdio_bus: probed
[   11.596396] usbcore: registered new interface driver usbfs
[   11.606763] sata_mv: probe of 0000:00:01.0 failed with error -22
[   11.623718] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with
MAC address 00:90:a9:5e:45:0d
[   11.655475] usbcore: registered new interface driver hub
[   11.684095] usbcore: registered new device driver usb
[   11.709736] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.747477] ehci-orion: EHCI orion driver
[   11.771459] orion-ehci orion-ehci.0: EHCI Host Controller
[   11.776891] orion-ehci orion-ehci.0: new USB bus registered,
assigned bus number 1
[   11.824196] orion-ehci orion-ehci.0: irq 17, io mem 0xf1050000
[   11.871305] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   11.877337] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   11.884167] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   11.891398] usb usb1: Product: EHCI Host Controller
[   11.896268] usb usb1: Manufacturer: Linux 3.11.6 ehci_hcd
[   11.901677] usb usb1: SerialNumber: orion-ehci.0
[   12.001481] hub 1-0:1.0: USB hub found
[   12.005259] hub 1-0:1.0: 1 port detected
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top
... [   12.153144] device-mapper: uevent: version 1.0.3
[   12.161586] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26)
initialised: dm-devel@redhat.com
done.
Begin: Waiting for root file system ... [   12.319719] usb 1-1: new
high-speed USB device number 2 using orion-ehci
[   12.471593] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[   12.478309] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   12.485478] usb 1-1: Product: USB2.0 Hub
[   12.494915] hub 1-1:1.0: USB hub found
[   12.511036] hub 1-1:1.0: 4 ports detected
[   12.799977] usb 1-1.2: new full-speed USB device number 3 using orion-ehci
[   12.911220] usb 1-1.2: New USB device found, idVendor=0d8c, idProduct=000e
[   12.918103] usb 1-1.2: New USB device strings: Mfr=0, Product=1,
SerialNumber=0
[   12.925444] usb 1-1.2: Product: Generic USB Audio Device
[   13.024948] hidraw: raw HID events driver (C) Jiri Kosina
[   13.038628] usbcore: registered new interface driver usbhid
[   13.044245] usbhid: USB HID core driver
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/turnip does not exist.  Dropping to a shell!
modprobe: module i8042 not found in modules.dep
[   43.760994] ehci-pci: EHCI PCI platform driver
[   43.808232] uhci_hcd: USB Universal Host Controller Interface driver
[   43.835120] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver


BusyBox v1.20.2 (Debian 1:1.20.0-9) built-in shell (ash)
Enter 'help' for a list of built-in commands.


Reply to: