Re: [2.6.29.4] Blade 2000

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

 



David Miller wrote:
From: BERTRAND Joël <joel.bertrand@xxxxxxxxxxx>
Date: Fri, 29 May 2009 11:58:54 +0200

BERTRAND Joël a écrit :
    Hello,
    I have made some minor modifications in bbc_i2c driver to add en entry
    in /proc directory. ALl mofications have been made against 2.6.29.4
    but I haven't verified that this kernel was bootable.
    I have built my own bbc_i2c driver as a module. 2.6.29.4 kernel hangs
    just after qla2xxx initialization. I don't think that this driver try
    to upload firmware. This firmware is built into the kernel.
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_STANDALONE is not set
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="ql2200_fw.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
Root rayleigh:[/lib/firmware] > ls
edgeport emi62 keyspan_pda ql2100_fw.bin ql2300_fw.bin ql2400_fw.bin
emi26     ess    korg         ql2200_fw.bin  ql2322_fw.bin  yamaha
Root rayleigh:[/lib/firmware] >
Configuration:
Blade 2000, 2 GB, 2*UIII+/900, Creator3D, internal NIC + 2*3Com NIC.
    Is it a known trouble ?
	Nobody ? I have tried 2.6.29.1 with exactly the same bug. 2.6.28.7
	worked fine.

I just did a scan over the driver changes for qla2xxx from 2.6.28
and 2.6.29 and they were very extensive and complicated.

What we need to do to narrow this down is do a GIT bisect.  I hope
that you have a GIT tree handy and can do this?

Luckily it's pretty easy to only bisect through the qla2xxx changes.

Once you have a tree checked out, start like this:

bash$ git bisect start v2.6.29 v2.6.28 -- drivers/scsi/qla2xxx/

Configure and build that kernel, see if it shows the bug.

If the bug is there go into the GIT tree and say:

bash$ git bisect bad

else if the bug is not there say:

bash$ git bisect good

Rebuild and retest.  Repeat this process of testing and then
running "git bisect good" or "git bisect bad" until the guilty
changeset is found.  At most you'll need to do this 6 times.

Post the result here.

tchebytchev:[~/linux/sparc-2.6] > git bisect start v2.6.29 v2.6.28 -- drivers/scsi/qla2xxx/
Checking out files: 100% (10708/10708), done.
Switched to branch "master"
Bisecting: 19 revisions left to test after this
[8eca3f39c4b11320787f7b216f63214aee8415a9] [SCSI] qla2xxx: Always serialize mailbox command execution.

-> kernel boots

tchebytchev:[~/linux/sparc-2.6] > git bisect good
Bisecting: 9 revisions left to test after this
[618a752319503a64d1b66615e8ea2a0e7edaf914] [SCSI] qla2xxx: Remove interrupt request bit check in the response processing path in multiq mode.

-> kernel doesn't boot

tchebytchev:[~/linux/sparc-2.6] > git bisect bad
Bisecting: 4 revisions left to test after this
[b872ca4081c480e3d76443282ffd7f206321f50f] [SCSI] qla2xxx: Correct descriptions in flash manipulation routines.
tchebytchev:[~/linux/sparc-2.6] >

tchebytchev:[~/linux/sparc-2.6] > git bisect log
# bad: [8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84] Linux 2.6.29
# good: [4a6908a3a050aacc9c3a2f36b276b46c0629ad91] Linux 2.6.28
git-bisect start 'v2.6.29' 'v2.6.28' '--' 'drivers/scsi/qla2xxx/'
# good: [8eca3f39c4b11320787f7b216f63214aee8415a9] [SCSI] qla2xxx: Always serialize mailbox command execution.
git-bisect good 8eca3f39c4b11320787f7b216f63214aee8415a9
# bad: [618a752319503a64d1b66615e8ea2a0e7edaf914] [SCSI] qla2xxx: Remove interrupt request bit check in the response processing path in multiq mode.
git-bisect bad 618a752319503a64d1b66615e8ea2a0e7edaf914
tchebytchev:[~/linux/sparc-2.6] >

	I'm investigating...

	Regards,

	JKB
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux