Skip to contentSkip to conversation

kernel boot failure on swarm

DISCUSSION Peter 'p2' De Schrijver 2 participants 2 messages May 8, 2009 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to boot 2.6.29 on swarm (BE) but it seems to panic in the ide driver. Log attached.

Cheers,

Peter.

CFE version 1.0.40 for SWARM (64bit,MP,BE,MIPS)
Build Date: Tue Jan 13 14:33:32 PST 2004 ([email protected]) Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena.
Initializing PCI. [normal]
PCI bus 0 slot 1/0: Warning: SipReady already set
HyperTransport not initialized: InitDone not set
PCI bus 0 slot 0/0: SiByte, Inc. BCM1250 PCI Host Bridge (host bridge, rev 0x02) PCI bus 0 slot 5/0: unknown vendor 0x3388 product 0x0021 (PCI bridge, rev 0x15)
PCI bus 0 slot 7/0: Opti RM861HA (USB serial bus, interface 0x10, rev 0x10)
PCI bus 1 slot 8/0: NEC USB Host Controller (USB serial bus, interface 0x10, rev 0x41) PCI bus 1 slot 8/1: NEC USB Host Controller (USB serial bus, interface 0x10, rev 0x41) PCI bus 1 slot 8/2: NEC product 0x00e0 (USB serial bus, interface 0x20, rev 0x02) PCI bus 1 slot 9/0: VIA Technologies product 0x3044 (Firewire serial bus, interface 0x10, rev 0x46) PCI bus 1 slot 10/0: CMD Technology product 0x0680 (RAID mass storage, rev 0x02) Initializing Devices.
SWARM board revision 3
PCIIDE: 0 controllers found
Config switch: 2
CPU: BCM1250 B2
L2 Cache Status: OK
Wafer ID: 0x17326019 [Lot 1484, Wafer 19]
Manuf Test: Bin A [2CPU_FI_FD_F2 (OK)]
SysCfg: 0000000028DB0800 [PLL_DIV: 16, IOB0_DIV: CPUCLK/4, IOB1_DIV: CPUCLK/3] Initializing USB.
PCI bus 0 slot 7/0: OHCI USB controller found at 61000000
USB: Locating Class 09 Vendor 0000 Product 0000: USB Hub
PCI bus 1 slot 8/0: OHCI USB controller found at 61181000
USB: Locating Class 09 Vendor 0000 Product 0000: USB Hub
PCI bus 1 slot 8/1: OHCI USB controller found at 61180000
USB: Locating Class 09 Vendor 0000 Product 0000: USB Hub
CPU type 0x1040102: 800MHz
Total memory: 0x10000000 bytes (256MB)

Total memory used by CFE:  0x8FE489C0 - 0x90000000 (1799744)
Initialized Data:          0x8FE489C0 - 0x8FE54A60 (49312)
BSS Area:                  0x8FE54A60 - 0x8FE55E70 (5136)
Local Heap:                0x8FE55E70 - 0x8FF55E70 (1048576)
Stack Area:                0x8FF55E70 - 0x8FF57E70 (8192)
Text (code) segment:       0x8FF57E80 - 0x8FFFFFB8 (688440)
Boot area (physical):      0x0FE07000 - 0x0FE47000
Relocation Factor:         I:F0357E80 - D:0DF489C0

CFE> ifconfig -auto eth0
eth0: Link speed: 100BaseT FDX
Device eth0: hwaddr 00-02-4C-FE-0D-72, ipaddr 192.168.1.22, mask 255.255.255.0

        gateway 192.168.1.254, nameserver 192.168.1.19, domain elisa-laajakaista.fi

*** command status = 0
CFE> boot - 192.168.1.138:sibyl
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.138:sibyl Options:(null)
Loading: ....... 130116 bytes read
Entry at 0x0000000020000000
Closing network.
Starting program at 0x0000000020000000
SiByte Loader, version 2.4.2
Built on Oct 4 2005
Network device 'eth0' configured
Getting configuration file tftp:192.168.1.138:sibyl.conf... Config file retrieved.
Default configuration deb doesn't exist. Using deb-tftp instead Available configurations:
deb-tftp
Boot which configuration [deb-tftp]:
Loading kernel (ELF64):

    4910016@0x80100000

done
Set up command line arguments to: root=/dev/hdc1 console=duart0 Setting up initial prom_init arguments
Cleaning up state...
Transferring control to the kernel.
Kernel entry point is at 0x80105cd0

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.29-2-sb1-bcm91250a (Debian 2.6.29-5) ([email protected]) (gcc version 4.1.3 20080420 (prerelease) (Debian 4.1.2-22)) #1 SMP Fri May 8 09:17:14 UTC 2009
[    0.000000] console [early0] enabled
[    0.000000] CPU revision is: 01040102 (SiByte SB1)
[    0.000000] FPU revision is: 000f0102
[    0.000000] Checking for the multiply/shift bug... no.
[    0.000000] Checking for the daddiu bug... no.
[    0.000000] Broadcom SiByte BCM1250 B2 @ 800 MHz (SB1 rev 2)
[    0.000000] Board type: SiByte BCM91250A (SWARM)
[    0.000000] This kernel optimized for board runs with CFE
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 000000000fe47e00 @ 0000000000000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA32    0x00000000 -> 0x00100000
[    0.000000]   Normal   0x00100000 -> 0x00100000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x0000fe47
[    0.000000] Detected 1 available secondary CPU(s)
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64205
[    0.000000] Kernel command line: root=/dev/hdc1 console=duart0
[    0.000000] Primary instruction cache 32kB, VIVT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] PID hash table entries: 1024 (order: 10, 8192 bytes)
[17179569.184000] Console: colour dum·ºŠºÊª²ÊrŠÂ¢‚ê��½¹Í½±•�¡…¹‘½Ù•Éé�½½Ñ�m•…ɱåÁu�µò’•…±�m‘Õ…ÉÑÁu5)ÚÅÝŠºÊª²Êrê�•¹ÑÉå��…�¡•�¡…Í¡�Ñ…‰±•�•¹ÑÉ¥•Íé�š’º²ÂBzÉ‘•Éé�²b’²’Š¢¢åÑ5Rþ[17179569.196000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
[17179569.232000] Memory: 249796k/260380k available (3453k kernel code, 10372k reserved, 1124k data, 216k init, 0k highmem)
[17179569.236000] Calibrating delay loop... 532.48 BogoMIPS (lpj=1064960)
[17179569.340000] Security Framework initialized
[17179569.344000] SELinux:  Disabled at boot.
[17179569.348000] Mount-cache hash table entries: 256
[17179569.356000] Initializing cgroup subsys ns
[17179569.360000] Initializing cgroup subsys cpuacct
[17179569.364000] Initializing cgroup subsys devices
[17179569.368000] Initializing cgroup subsys freezer
[17179569.372000] Initializing cgroup subsys net_cls
[17179569.376000] Checking for the daddi bug... no.
[17179569.384000] CPU revision is: 03040102 (SiByte SB1)
[17179569.384000] FPU revision is: 000f0102
[17179569.384000] Primary instruction cache 32kB, VIVT, 4-way, linesize 32 bytes.
[17179569.384000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[17179569.384000] Calibrating delay loop... 532.48 BogoMIPS (lpj=1064960)
[17179569.484000] Brought up 2 CPUs
[17179569.488000] net_namespace: 1888 bytes
[17179569.492000] regulator: core version 0.5
[17179569.496000] NET: Registered protocol family 16
[17179569.508000] bio: create slab <bio-0> at 0
[17179569.512000] pci 0000:00:05.0: PME# supported from D0 D1 D2 D3hot
[17179569.516000] pci 0000:00:05.0: PME# disabled
[17179569.520000] pci 0000:01:08.0: PME# supported from D0 D1 D2 D3hot
[17179569.524000] pci 0000:01:08.0: PME# disabled
[17179569.528000] pci 0000:01:08.1: PME# supported from D0 D1 D2 D3hot
[17179569.532000] pci 0000:01:08.1: PME# disabled
[17179569.536000] pci 0000:01:08.2: PME# supported from D0 D1 D2 D3hot
[17179569.540000] pci 0000:01:08.2: PME# disabled
[17179569.544000] pci 0000:01:09.0: PME# supported from D2 D3hot D3cold
[17179569.548000] pci 0000:01:09.0: PME# disabled
[17179569.576000] NET: Registered protocol family 2
[17179569.632000] IP route cache hash table entries: 2048 (order: 2, 16384 bytes)
[17179569.640000] TCP established hash table entries: 8192 (order: 5, 131072 bytes)
[17179569.644000] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[17179569.652000] TCP: Hash tables configured (established 8192 bind 8192)
[17179569.660000] TCP reno registered
[17179569.676000] NET: Registered protocol family 1
[17179569.680000] pata-swarm: PATA interface at GenBus slot 4
[17179569.684000] audit: initializing netlink socket (disabled)
[17179569.692000] type=2000 audit(1241801739.509:1): initialized
[17179569.696000] VFS: Disk quotas dquot_6.5.2
[17179569.700000] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[17179569.708000] msgmni has been set to 488
[17179569.712000] alg: No test for stdrng (krng)
[17179569.720000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[17179569.724000] io scheduler noop registered
[17179569.728000] io scheduler anticipatory registered
[17179569.736000] io scheduler deadline registered
[17179569.740000] io scheduler cfq registered (default)
[17179569.756000] duart0 at MMIO 0x10060100 (irq = 8) is a SB1250 DUART
[17179569.760000] duart1 at MMIO 0x10060200 (irq = 9) is a SB1250 DUART
[17179569.772000] brd: module loaded
[17179569.776000] Uniform Multi-Platform E-IDE driver
[17179569.780000] ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
[17179569.792000] DBE physical address: 00dc0001e0
[17179569.792000] Data bus error, epc == ffffffff80373234, ra == ffffffff80371a34
[17179569.792000] Oops[#1]:
[17179569.792000] Cpu 0
[17179569.792000] $ 0   : 0000000000000000 0000000014001fe0 00000000000000ff 90000000dc0001f7
[17179569.792000] $ 4   : 90000000dc000000 00000000000088b8 ffffffffffffffff 0000000000001f6d
[17179569.792000] $ 8   : 0000000000001f6d 0000000000000037 ffffffffffff9f6d ffffffff805c0000
[17179569.792000] $12   : ffffffff805c0000 ffffffff805c0000 0000000000000000 00000000000001f5
[17179569.792000] $16   : 3ffffffffffffc78 0000000000000001 a80000000f2bb800 00000000000088b8
[17179569.792000] $20   : ffffffff805b1320 00000000000000ff a80000000f83fc08 0000000014001fe1
[17179569.792000] $24   : 0000000000000000 ffffffff8010eae8                                  
[17179569.792000] $28   : a80000000f83c000 a80000000f83fb00 000000000000000e ffffffff80371a34
[17179569.792000] Hi    : 0000000000040fff
[17179569.792000] Lo    : ffffffffc69e0000
[17179569.792000] epc   : ffffffff80373234 ide_read_status+0x3c/0x48
[17179569.792000]     Not tainted
[17179569.792000] ra    : ffffffff80371a34 ide_wait_not_busy+0xac/0x130
[17179569.792000] Status: 14001fe3    KX SX UX KERNEL EXL IE 
[17179569.792000] Cause : 8080801c
[17179569.792000] PrId  : 01040102 (SiByte SB1)
[17179569.792000] Modules linked in:
[17179569.792000] Process swapper (pid: 1, threadinfo=a80000000f83c000, task=a80000000f839798, tls=0000000000000000)
[17179569.792000] Stack : 7ffffffffffff8f0 0000000000000000 0000000000000000 ffffffff805b0000
[17179569.792000]         a80000000f2bb800 a80000000f2bb818 ffffffff8037561c 00000000000001f3
[17179569.792000]         a80000000f2bb800 0000000000000000 0000000000000000 0000000000000004
[17179569.792000]         0000000000000000 a80000000f2539e0 a80000000f83fc08 ffffffff80540000
[17179569.792000]         0000000000000000 ffffffff80376d88 0000000000000000 a80000000f83fc08
[17179569.792000]         a80000000f2539e0 fffffffffffffff4 0000000000000000 ffffffff80510000
[17179569.792000]         ffffffff80620000 ffffffff803772ac 00000000000001f0 0000000000000000
[17179569.792000]         ffffffff80491eb0 ffffffff80491ec0 00000000000003f6 ffffffff805935f0
[17179569.792000]         a80000000f0f5000 a80000000f83fc28 0000000000000000 0000000000000000
[17179569.792000]         0000000000000000 00000000000001f0 00000000000001f1 00000000000001f2
[17179569.792000]         ...
[17179569.792000] Call Trace:
[17179569.792000] [<ffffffff80373234>] ide_read_status+0x3c/0x48
[17179569.792000] [<ffffffff80371a34>] ide_wait_not_busy+0xac/0x130
[17179569.792000] [<ffffffff8037561c>] ide_probe_port+0xd4/0x678
[17179569.792000] [<ffffffff80376d88>] ide_host_register+0x2c8/0x7a0
[17179569.792000] [<ffffffff803772ac>] ide_host_add+0x4c/0xb8
[17179569.792000] [<ffffffff805935f0>] ide_generic_init+0x2d0/0x3d0
[17179569.792000] [<ffffffff8010e084>] __kprobes_text_end+0x34/0x1a0
[17179569.792000] [<ffffffff805797ac>] kernel_init+0x21c/0x290
[17179569.792000] [<ffffffff80110468>] kernel_thread_helper+0x10/0x18
[17179569.792000] 
[17179569.792000] 
[17179569.792000] Code: dc448060  0064182d  90620000 <03e00008> 304200ff  00000000  67bdff90  00052800  ffb40050 
[17179570.076000] Kernel panic - not syncing: Attempted to kill init!
[17179570.084000] Rebooting in 5 seconds..Passing control back to CFE...

CFE version 1.0.40 for SWARM (64bit,MP,BE,MIPS)
Build Date: Tue Jan 13 14:33:32 PST 2004 ([email protected]) Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena.
Initializing PCI. [normal]
PCI bus 0 slot 1/0: Warning: SipReady already set
HyperTransport not initialized: InitDone not set
PCI bus 0 slot 0/0: SiByte, Inc. BCM1250 PCI Host Bridge (host bridge, rev 0x02) PCI bus 0 slot 5/0: unknown vendor 0x3388 product 0x0021 (PCI bridge, rev 0x15)
PCI bus 0 slot 7/0: Opti RM861HA (USB serial bus, interface 0x10, rev 0x10)
PCI bus 1 slot 8/0: NEC USB Host Controller (USB serial bus, interface 0x10, rev 0x41) PCI bus 1 slot 8/1: NEC USB Host Controller (USB serial bus, interface 0x10, rev 0x41) PCI bus 1 slot 8/2: NEC product 0x00e0 (USB serial bus, interface 0x20, rev 0x02) PCI bus 1 slot 9/0: VIA Technologies product 0x3044 (Firewire serial bus, interface 0x10, rev 0x46) PCI bus 1 slot 10/0: CMD Technology product 0x0680 (RAID mass storage, rev 0x02) Initializing Devices.
SWARM board revision 3
PCIIDE: 0 controllers found
Config switch: 2
CPU: BCM1250 B2
L2 Cache Status: OK
Wafer ID: 0x17326019 [Lot 1484, Wafer 19]
Manuf Test: Bin A [2CPU_FI_FD_F2 (OK)]
SysCfg: 0000000028DB0800 [PLL_DIV: 16, IOB0_DIV: CPUCLK/4, IOB1_DIV: CPUCLK/3] Initializing USB.
PCI bus 0 slot 7/0: OHCI USB controller found at 61000000
USB: Locating Class 09 Vendor 0000 Product 0000: USB Hub
PCI bus 1 slot 8/0: OHCI USB controller found at 61181000
USB: Locating Class 09 Vendor 0000 Product 0000: USB Hub
PCI bus 1 slot 8/1: OHCI USB controller found at 61180000
USB: Locating Class 09 Vendor 0000 Product 0000: USB Hub
CPU type 0x1040102: 800MHz
Total memory: 0x10000000 bytes (256MB)

Total memory used by CFE:  0x8FE489C0 - 0x90000000 (1799744)
Initialized Data:          0x8FE489C0 - 0x8FE54A60 (49312)
BSS Area:                  0x8FE54A60 - 0x8FE55E70 (5136)
Local Heap:                0x8FE55E70 - 0x8FF55E70 (1048576)
Stack Area:                0x8FF55E70 - 0x8FF57E70 (8192)
Text (code) segment:       0x8FF57E80 - 0x8FFFFFB8 (688440)
Boot area (physical):      0x0FE07000 - 0x0FE47000
Relocation Factor:         I:F0357E80 - D:0DF489C0

CFE>

#1 lore raw
Quoted 1 line · Peter 'p2' De Schrijver wrote:

I'm trying to boot 2.6.29 on swarm (BE) but it seems to panic in the ide driver.

Note that you hardly need ide_generic on SWARM. It only probes legacy
x86 addresses.

Quoted 1 line

Log attached.

MBR, Sergei