Bug#647900: mptspi init failure on Sparc SMP in Linux 3.0

2011-12-14 Thread Biblioteka UR

Praveen,

Thank you for your response.

This is Sparc server and here is silo, not grub. So I do not know how 
well I tried your suggestions.


root@fire:/boot# ls -l
total 28506
lrwxrwxrwx 1 root root1 Nov  5 08:28 boot - .
-rw-r--r-- 1 root root88515 Nov 14 16:35 config-3.1.0-1-sparc64
-rw-r--r-- 1 root root88956 Nov 14 16:47 config-3.1.0-1-sparc64-smp
lrwxrwxrwx 1 root root1 Nov  5 08:28 etc - .
-rw-r--r-- 1 root root 1024 Aug 26  2010 fd.b
-rw-r--r-- 1 root root  512 Aug 26  2010 first.b
-rw-r--r-- 1 root root 1024 Aug 26  2010 generic.b
-rw-r--r-- 1 root root  692 Aug 26  2010 ieee32.b
lrwxrwxrwx 1 root root   30 Nov 23 08:13 initrd.img - 
initrd.img-3.1.0-1-sparc64-smp

-rw-r--r-- 1 root root 10201990 Nov 23 08:05 initrd.img-3.1.0-1-sparc64
-rw-r--r-- 1 root root 10293974 Dec 12 10:34 initrd.img-3.1.0-1-sparc64-smp
lrwxrwxrwx 1 root root   26 Nov 23 08:04 initrd.img.old - 
initrd.img-3.1.0-1-sparc64

-rw-r--r-- 1 root root 7704 Aug 26  2010 isofs.b
drwxr-xr-x 2 root root12288 Nov  5 08:22 lost+found
-rw-r--r-- 1 root root 7680 Nov  5 08:28 old.b
-rw-r--r-- 1 root root78336 Nov  5 08:28 second.b
-rw-r--r-- 1 root root  199 Dec 14 08:36 silo.conf
-rw-r--r-- 1 root root76387 Aug 26  2010 silotftp.b
-rw-r--r-- 1 root root  1629480 Nov 14 16:35 System.map-3.1.0-1-sparc64
-rw-r--r-- 1 root root  1676706 Nov 14 16:47 System.map-3.1.0-1-sparc64-smp
-rw-r--r-- 1 root root  512 Aug 26  2010 ultra.b
lrwxrwxrwx 1 root root   27 Nov 23 08:13 vmlinuz - 
vmlinuz-3.1.0-1-sparc64-smp

-rw-r--r-- 1 root root  2385979 Nov 14 16:34 vmlinuz-3.1.0-1-sparc64
-rw-r--r-- 1 root root  2504212 Nov 14 16:46 vmlinuz-3.1.0-1-sparc64-smp
lrwxrwxrwx 1 root root   23 Nov 23 08:04 vmlinuz.old - 
vmlinuz-3.1.0-1-sparc64


I tried:
root@fire:/boot# cat silo.conf
root=/dev/sda2
partition=1
default=LinuxOLD
read-only
timeout=100

image=/vmlinuz
label=Linux
initrd=/initrd.img
append=pci=routeirq

image=/vmlinuz.old
label=LinuxOLD
initrd=/initrd.img.old

and

root@fire:/boot# cat silo.conf
root=/dev/sda2
partition=1
default=LinuxOLD
read-only
timeout=100

image=/vmlinuz
label=Linux
initrd=/initrd.img
append=irqpoll

image=/vmlinuz.old
label=LinuxOLD
initrd=/initrd.img.old


These changes have not helped. I have the same error messages.

Unfortunately I can't collect the kernel messages with smp linux-image. 
I set in rsyslog.conf


kern.debug  -/var/log/kern.debug

I had already set

*.=debug;\
auth,authpriv.none;\
news.none;mail.none -/var/log/debug

but there is no log messages from broken boot. I can collect messages 
only from putty.


Regards,
Mariusz

PS. Sorry for my English. :)

W dniu 2011-12-13 19:36, Krishnamoorthy, Praveen pisze:

Mariusz,


[   68.319518] mptbase: ioc0: WARNING - Issuing Reset from

mpt_config!!, doorbell=0x2400

[   69.175505] mptbase: ioc0: Attempting Retry Config request type

0x3, page 0x, action 0

[   84.267524] mptbase: ioc0: WARNING - Issuing Reset from

mpt_config!!, doorbell=0x2400

As Nagalakshmi pointed out, the series of reset happens because the config 
request for reading the page header fails. This is the first time the message 
queues are used when the card is coming up, therefore taking into account, that 
the same driver and same card works perfectly on non-smp linux kernel,  I am 
guessing that the config request would have been sent successfully and the 
firmware would have processed the request and raised an interrupt through the 
IRQ line assigned for this card, it is somehow not routed to our driver's 
interrupt service routine. Therefore could you try the following to check if 
any of it works?

1. add pci=routeirq to the kernel boot parameters in /boot/grub/menu.lst
Eg) 
title  Debian XYZ
root   (hdX,X)
kernel /boot/vmlinuz-XYZ root=XX ro quiet splash pci=routeirq
initrd /boot/initrd.img-XYZ

2. add irqpoll to the kernel boot parameters in /boot/grub/menu.lst
Eg) 
title  Debian XYZ
root   (hdX,X)
kernel /boot/vmlinuz-XYZ root=XX ro quiet splash irqpoll
initrd /boot/initrd.img-XYZ

Regards,
Praveen






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#647900: mptspi init failure on Sparc SMP in Linux 3.0

2011-12-13 Thread Biblioteka UR

Hello Nagalakshimi.

Thank you for your reply.

W dniu 2011-12-13 08:21, Nandigama, Nagalakshmi pisze:

The issue is happening because config page is timing out and initialization is 
not successful
Can you collect the kernel messages even for the KERN_DEBUG messages also for 
mpt driver?
This is to find out which config page is failing.
Maybe so, but I confess that I do not know how. :( Do you have any 
suggestions? I begin my adventure with Debian. I have little experience 
with Centos, but it doesn't work with Sparc. :)


Regards,
Mariusz



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#647900: mptspi init failure on Sparc SMP in Linux 3.0

2011-12-12 Thread Biblioteka UR

Nothing has changed in the topic?
I have the latest linux-image-3.1.0-1-sparc64-smp and the same problem. 
SunFire v490 is running well with linux-image-3.1.0-1-sparc64 (non smp).


Regards,
Mariusz

W dniu 2011-11-10 12:32, Nandigama, Nagalakshmi pisze:

Can you collect debug level for INIT?

Regards,
Nagalakshmi


-Original Message-
From: Ben Hutchings [mailto:b...@decadent.org.uk]
Sent: Tuesday, November 08, 2011 8:35 AM
To: Moore, Eric
Cc: Biblioteka UR; 647...@bugs.debian.org; linux-scsi; DL-MPT Fusion Linux
Subject: mptspi init failure on Sparc SMP in Linux 3.0

Mariusz at Biblioteka UR reports this failure in a new Debian installation on a 
SunFire v490 system:


[0.00] Linux version 3.0.0-1-sparc64-smp (Debian 3.0.0-3) 
(b...@decadent.org.uk) (gcc version 4.5.3 (Debian 4.5.3-8) ) #1 SMP Sat Aug 27 
19:51:14 UTC 20

[...]

[   52.190433] Fusion MPT base driver 3.04.19
[   52.238528] Copyright (c) 1999-2008 LSI Corporation

[...]

[   52.370161] Fusion MPT SPI Host driver 3.04.19
[   52.370364] mptbase: ioc0: Initiating bringup

[...]

[   52.847504] ioc0: LSI53C1030 C0: Capabilities={Initiator,Target}

[...]

[   68.319518] mptbase: ioc0: WARNING - Issuing Reset from mpt_config!!, 
doorbell=0x2400
[   69.175505] mptbase: ioc0: Attempting Retry Config request type 0x3, page 
0x, action 0
[   84.267524] mptbase: ioc0: WARNING - Issuing Reset from mpt_config!!, 
doorbell=0x2400
[   84.364482] mptbase: ioc0: Initiating recovery
[   90.299505] mptbase: ioc0: Attempting Retry Config request type 0x3, page 
0x, action 0
[  105.391523] mptbase: ioc0: WARNING - Issuing Reset from
mpt_config!!, doorbell=0x2400 [  105.488509] mptbase: ioc0:
Initiating recovery [  126.527516] mptbase: ioc0: WARNING - Issuing
Reset from mpt_config!!, doorbell=0x2400 [  127.383505] mptbase:
ioc0: Attempting Retry Config request type 0x4, page 0x1, action 0 [
142.475528] mptbase: ioc0: WARNING - Issuing Reset from mpt_config!!,
doorbell=0x2400 [  142.572504] mptbase: ioc0: Initiating recovery
[  148.611505] mptbase: ioc0: Attempting Retry Config request type
0x4, page 0x1, action 0 [  163.703482] mptbase: ioc0: WARNING -
Issuing Reset from mpt_config!!, doorbell=0x2400 [  163.800495]
mptbase: ioc0: Initiating recovery

(I think there are some characters missing in the above log, particularly the 
page numbers.)

However, the driver apparently works on the same system in a !SMP kernel 
configuration.

The complete report can be found athttp://bugs.debian.org/647900.
Can you suggest any way to correct or debug this problem?

Ben.

--
Ben Hutchings
You can't have everything.  Where would you put it?






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#647900: linux-image-3.0.0-1-sparc64-smp: Server fails to boot with illegal instruction on SunFire v490

2011-11-07 Thread Biblioteka UR

Package: linux-image-3.0.0-1-sparc64-smp
Version: 3.0.0-3
Severity: important

Dear Maintainer,
Server fails to boot on my v490 with 2 dual processors ultrasparc machine. It 
does not boot at all.
I join to the but report the output of the boot capture through the serial port.


-- Package-specific info:
** boot messages below

Sun Fire V490, No Keyboard
Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.30.4, 8192 MB memory installed, Serial #67176146.
Ethernet address 0:14:4f:1:6:d2, Host ID: 840106d2.

Initializing 1MB of memory at addra1ffb2c000
Initializing12MB of memory at addra1ff00
Initializing  8176MB of memory at addra0
Rebooting with command: boot
Boot device: /pci@8,60/scsi@1/disk@0,0  File and args:
SILO Version 1.4.14
boot:
Allocated 64 Megs of memory at 0x4000 for kernel
Uncompressing image...

Loaded kernel version 3.0.0
Loading initial ramdisk (10098428 bytes at 0xA1FF00 phys, 0x40C0 virt).
/
[0.00] PROMLIB: Sun IEEE Boot Prom 'OBP 4.30.4 2009/08/19 07:20'
[0.00] PROMLIB: Root node compatible:
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 3.0.0-1-sparc64-smp (Debian 3.0.0-3) 
(b...@decadent.org.uk) (gcc version 4.5.3 (Debian 4.5.3-8) ) #1 SMP Sat Aug 27 
19:51:14 UTC 20
[0.00] bootconsole [earlyprom0] enabled
[0.00] ARCH: SUN4U
[0.00] Ethernet address: 00:14:4f:01:06:d2
[0.00] Kernel: Using 2 locked TLB entries for main kernel image.
[0.00] Remapping the kernel... done.
[0.00] OF stdout device is: /pci@9,70/ebus@1/serial@1,40:a
[0.00] PROM: Built device tree with 101044 bytes of memory.
[0.00] Top of RAM: 0xa1ffb2e000, Total RAM: 0x1ffb18000
[0.00] Memory hole size: 655360MB
[0.00] [01014000-f8a000c0] page_structs=131072 node=0 
etry=1280/8192
[0.00] [01014000-f8a00100] page_structs=131072 node=0 
etry=1281/8192
[0.00] [01014080-f8a00140] page_structs=131072 node=0 
etry=1282/8192
[0.00] [01014080-f8a00180] page_structs=131072 node=0 
etry=1283/8192
[0.00] [01014100-f8a001c0] page_structs=131072 node=0 
etry=1284/8192
[0.00] [01014100-f8a00200] page_structs=131072 node=0 
etry=1285/8192
[0.00] [01014180-f8a00240] page_structs=131072 node=0 
etry=1286/8192
[0.00] [01014180-f8a00280] page_structs=131072 node=0 
etry=1287/8192
[0.00] [01014200-f8a002c0] page_structs=131072 node=0 
etry=1288/8192
[0.00] [01014200-f8a00300] page_structs=131072 node=0 
etry=1289/8192
[0.00] [01014280-f8a00340] page_structs=131072 node=0 
etry=1290/8192
[0.00] [01014280-f8a00380] page_structs=131072 node=0 
etry=1291/8192
[0.00] [01014300-f8a003c0] page_structs=131072 node=0 
etry=1292/8192
[0.00] [01014300-f8a00400] page_structs=131072 node=0 
etry=1293/8192
[0.00] [01014380-f8a00440] page_structs=131072 node=0 
etry=1294/8192
[0.00] [01014380-f8a00480] page_structs=131072 node=0 
etry=1295/8192
[0.00] Zone PFN ranges:
[0.00]   Normal   0x0500 -  0x050ffd97
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[4] active PFN ranges
[0.00] 0: 0x0500 -  0x050ff7ff
[0.00] 0: 0x050ff800 -  0x050ffd7c
[0.00] 0: 0x050ffd84 -  0x050ffd94
[0.00] 0: 0x050ffd96 -  0x050ffd97
[0.00] Booting Linux...
[0.00] CPU CAPS: [flush,stbar,swap,muldiv,v9,ultra3,mul32,div32]
[0.00] CPU CAPS: [v8plus,popc,vis,vis2]
[0.00] PERCPU: Embedded 6 pages/cpu @f8a004c0 s12352 r8192 
d2868 u1048576
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 1039760
[0.00] Kernel command line: root=/dev/sda2 ro
[0.00] PID hash table entries: 4096 (order: 2, 32768 bytes)
[0.00] Dentry cache hash table entries: 1048576 (order: 10, 8388608 
bytes)
[0.00] Inode-cache hash table entries: 524288 (order: 9, 4194304 bytes)
[0.00] Memory: 8288896k available (3632k kernel code, 1560k data, 232k
init) [f800,00a1ffb2e000]
[0.00] Hierarchical RCU implementation.
[0.00] CONFIG_RCU_FANOUT set to non-default value of 32
[0.00] RCU dyntick-idle grace-period acceleration is enabled.
[0.00] NR_IRQS:255
[0.00] clocksource: mult[6400] shift[24]
[0.00] clockevent: mult[28f5c29] shift[32]
[0.00] Console: colour dummy device 80x25
[0.00] console [tty0] enabled, bootconsole disabled
[0.00] PROMLIB: Sun IEEE Boot Prom 'OBP 4.30.4 2009/08/19 07:20'
[

Bug#647900: linux-image-3.0.0-1-sparc64-smp: Server fails to boot with illegal instruction on SunFire v490

2011-11-07 Thread Biblioteka UR

W dniu 2011-11-07 21:54, Ben Hutchings pisze:

Your subject refers to an 'illegal instruction' error but I don't
see that in the log messages you attached.  Where do you see this
error?
Sorry. This is my first notification and first contact with Debian. I 
based on a different notification (my english is poor).
Server starts and last entries from the log messagess are repeated. 
Server can't boot to the end.


I tried with linux-image-2.6-*-smp (last version) - the same.

What was the last kernel version that worked on this system in an
SMP configuration?

Ben.
This is my first installation of Debian. I had Solaris on this machine 
to this time.


Thank you in advance for your help.

Mariusz



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org