Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127991 - aic7xxx keep resetting
Summary: aic7xxx keep resetting
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://marc.theaimsgroup.com/?l=linux...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 07:31 UTC by Hamlet Mun
Modified: 2007-09-19 10:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
serial console info of aic7xxx error with 2.6.17-rc4 (2.6.17-rc4.txt.bz2,8.13 KB, application/octet-stream)
2006-05-20 18:56 UTC, Hamlet Mun
Details
serial console log (2.6.17-rc4.txt,68.67 KB, text/plain)
2006-05-22 07:16 UTC, Daniel Drake (RETIRED)
Details
The patch received from James Bottomley 5/21 (scsi160.patch,6.77 KB, patch)
2006-05-24 03:38 UTC, Hamlet Mun
Details | Diff
dmesg after applying the patch mentioned above... (2.6.17-rc4.txt,39.21 KB, text/plain)
2006-05-24 03:43 UTC, Hamlet Mun
Details
2.6.17_rc5 with all the debug codes enabled (with mask 2047) (debug.txt,81.87 KB, text/plain)
2006-05-26 15:51 UTC, Hamlet Mun
Details
2.6.17-rc4-mm3 with full debug option (2.6.17-rc4-mm3.txt,168.54 KB, text/plain)
2006-05-27 15:31 UTC, Hamlet Mun
Details
2.6.17-rc5 + patch with 60 & 50 pins cables (capture.txt,81.96 KB, text/plain)
2006-05-31 17:45 UTC, Hamlet Mun
Details
Same as the above but without 50-pins (capture1.txt,61.93 KB, text/plain)
2006-05-31 17:47 UTC, Hamlet Mun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hamlet Mun 2006-03-29 07:31:08 UTC
Last stable kernel version I can use with my Adaptec 29160 is gentoo-sources-2.6.13-r5
After that, 2.6.14 to 2.6.16-r1 keep resetting.

http://forums.gentoo.org//viewtopic-t-210248-highlight-.html
http://forums.gentoo.org//viewtopic-t-253112-highlight-.html

Found these bug reports in kernel bugzilla:
http://bugzilla.kernel.org/show_bug.cgi?id=5378
http://bugzilla.kernel.org/show_bug.cgi?id=5921
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-04-01 04:49:21 UTC
Please post "emerge --info" output to every bug that you file.

Please provide more details: what do you mean by "keep resetting"?
Comment 2 Hamlet Mun 2006-04-01 09:53:21 UTC
emerge --info:
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.13-gent
oo-r5-Hamlet i686)
=================================================================
System uname: 2.6.13-gentoo-r5-Hamlet i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -fomit-frame-pointer -mmmx -msse2 -msse3 -mfpmath=ss
e -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=prescott -O2 -fomit-frame-pointer -mmmx -msse2 -msse3 -mfpmath=
sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LANG="ko_KR.UTF-8"
LINGUAS="ko"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X acl acpi alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cd
r cjk cli ctype cups dba dri dts emboss encode exif expat fam fastbuild firefox 
foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gnutls gpm 
gstreamer gtk gtk2 gtkhtml imlib ipv6 isdnlog java jpeg lcms libg++ libwww lm_se
nsors mad matroska memlimit mikmod mmx mmxext mng motif mp3 mpeg ncurses network
 nls nptl nsplugin ogg opengl pam pcre pdflib perl png posix pppd python quickti
me readline real rtc samba sdl session simplexml slang smp soap sockets spell sp
l sse sse2 ssl svga tcpd tiff tokenizer truetype truetype-fonts type1-fonts ucs2
 udev unicode usb v4l vorbis win32codecs xml xml2 xmms xsl xv xvid xvmc zlib lin
guas_ko userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

############################################################################

Sorry, I thought just mentioning those links was enough.
As my primary disk is scsi, I couldn't even boot successfully. (no dmesg)
Since the screen changes every 2 or 3 seconds, I couldn't read entire output.
I just wrote down some lines...

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
Recovery code sleeping
Recovery code awake
aic7xxx_abort returns 0x2003
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
Comment 3 Hamlet Mun 2006-04-06 11:54:19 UTC
Same problem with

mm-sources-2.6.17_rc1-r1
vanilla-2.6.17_rc1
Comment 4 Carlos Silva (RETIRED) gentoo-dev 2006-04-10 07:39:40 UTC
can you please try to git bisect the kernels between 2.6.13 and 2.6.14?
There is a nice how to in this link: http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/

The process is somehow painful, but is the better solution to this kind of problems....
Comment 5 Hamlet Mun 2006-04-13 14:47:16 UTC
mm-sources-2.6.17_rc1-r2 also has the same problem

When I try to git bisecting... 1966 revisions left...

After compile the kernel, it shows the same problem so... git bisect bad
Then I couldn't compile the kernel any more.

In file included from include/linux/acpi.h:40,
                 from drivers/char/hpet.c:40:
include/acpi/acpi_drivers.h:89: warning: "struct acpi_device" declared inside pa
rameter list
include/acpi/acpi_drivers.h:89: warning: its scope is only this definition or de
claration, which is probably not what you want
include/acpi/acpi_drivers.h:90: warning: "struct acpi_device" declared inside pa
rameter list
include/acpi/acpi_drivers.h:91: warning: "struct acpi_device" declared inside pa
rameter list
include/acpi/acpi_drivers.h:92: warning: "struct acpi_device" declared inside pa
rameter list
drivers/char/hpet.c:920: warning: "struct acpi_device" declared inside parameter
 list
drivers/char/hpet.c: In function `hpet_acpi_add':
drivers/char/hpet.c:928: error: dereferencing pointer to incomplete type
drivers/char/hpet.c: At top level:
drivers/char/hpet.c:942: warning: "struct acpi_device" declared inside parameter
 list
drivers/char/hpet.c:948: error: variable `hpet_acpi_driver' has initializer but 
incomplete type
drivers/char/hpet.c:949: error: unknown field `name' specified in initializer
drivers/char/hpet.c:949: warning: excess elements in struct initializer
drivers/char/hpet.c:949: warning: (near initialization for `hpet_acpi_driver')
drivers/char/hpet.c:950: error: unknown field `ids' specified in initializer
drivers/char/hpet.c:950: warning: excess elements in struct initializer
drivers/char/hpet.c:950: warning: (near initialization for `hpet_acpi_driver')
drivers/char/hpet.c:951: error: unknown field `ops' specified in initializer
drivers/char/hpet.c:951: error: extra brace group at end of initializer
drivers/char/hpet.c:951: error: (near initialization for `hpet_acpi_driver')
drivers/char/hpet.c:954: warning: excess elements in struct initializer
drivers/char/hpet.c:954: warning: (near initialization for `hpet_acpi_driver')
drivers/char/hpet.c: In function `hpet_init':
drivers/char/hpet.c:969: warning: implicit declaration of function `acpi_bus_reg
ister_driver'
drivers/char/hpet.c: In function `hpet_exit':
drivers/char/hpet.c:982: warning: implicit declaration of function `acpi_bus_unr
egister_driver'
drivers/char/hpet.c: At top level:
drivers/char/hpet.c:948: error: storage size of `hpet_acpi_driver' isn't known
make[2]: *** [drivers/char/hpet.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2


Maybe I have to try without hpet and acpi
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2006-04-13 15:01:59 UTC
When does it start to reset? At system boot, or once the system has been up for some time? Also once it starts resetting does it recover or does it just end up dying? If so, does it hard-lock the system or produce an OOPS?
Comment 7 Hamlet Mun 2006-04-13 16:19:25 UTC
My main hard disk is a scsi device... so it doesn't even boot
It keeps showing the same messages, refreshed every 3,4 seconds.
So I guess it tries to recover, but it can't
I am doing "git bisect" so... I will post the result as soon as posible.
This is a pain, I already rebooted like 20 times... :'(

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
Recovery code sleeping
Recovery code awake
aic7xxx_abort returns 0x2003
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes

Comment 8 Hamlet Mun 2006-04-13 17:08:16 UTC
Well... after git bisecting... I found this.
It has been a painful process: rebooting from 1966 revisions to 1 revision.
Now someone has to find the solution for this problem

Author: James Bottomley <James.Bottomley@steeleye.com>                          
Date:   Sun Aug 14 17:09:01 2005 -0500                                          
                                                                                
    [SCSI] correct transport class abstraction to work outside SCSI             
                                                                                
    I recently tried to construct a totally generic transport class and         
    found there were certain features missing from the current abstract         
    transport class.  Most notable is that you have to hang the data on the     
    class_device but most of the API is framed in terms of the generic          
    device, not the class_device.                                               
                                                                                
    These changes are two fold                                                  
                                                                                
    - Provide the class_device to all of the setup and configure APIs           
    - Provide and extra API to take the device and the attribute class and      
      return the corresponding class_device                                     
                                                                                
    Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>               
                                                                                
:040000 040000 d9c2ca4cf51784a18a93b6ee7cabda19f7adcbd0 1567b7b65e5e34b7746f9bd7
8947eb7e26156b40 M      drivers                                                 
:040000 040000 f38e13cdf96c1fb7c189409bb09fdda2c112d984 8dff007873523a292c4841be
1912fde22116993a M      include
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2006-04-16 08:30:24 UTC
Thanks for going to all that effort.

That doesn't strike me as the kind of patch that would cause that, but I guess it's possible. Could you try applying that patch to 2.6.13 and confirming that it breaks?

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=d0a7e574007fd547d72ec693bfa35778623d0738;hp=10c1b88987d618f4f89c10e11e574c76de73b5e7
Comment 10 Hamlet Mun 2006-04-17 07:27:32 UTC
To verify the git bisecting result, I did

www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.13.tar.bz2 +
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=d0a7e574007fd547d72ec693bfa35778623d0738;hp=10c1b88987d618f4f89c10e11e574c76de73b5e7

It does BOOT, but it shows this strange dmesg...

25f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c0195549>] sysfs_create_link+0x44/0x64
 [<c029ecc6>] class_device_add+0x117/0x1d4
 [<c02a0b73>] attribute_container_add_class_device+0x10/0x26
 [<c02a0deb>] transport_add_class_device+0x10/0x40
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0e32>] transport_add_device+0x17/0x1b
 [<c02a0ddb>] transport_add_class_device+0x0/0x40
 [<c02c1038>] scsi_alloc_target+0x1ed/0x27a
 [<c02a0f57>] transport_destroy_device+0x17/0x1c
 [<c02c1fff>] scsi_scan_target+0x62/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c029ef08>] class_device_del+0x89/0xf2
 [<c02a0ec4>] transport_remove_classdev+0x3a/0x7a
 [<c0175ab4>] dput+0xad/0x1f7
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0f1b>] transport_remove_device+0x17/0x1b
 [<c02a0e8a>] transport_remove_classdev+0x0/0x7a
 [<c02c115c>] scsi_target_reap+0x97/0xae
 [<c02c204b>] scsi_scan_target+0xae/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c0195549>] sysfs_create_link+0x44/0x64
 [<c029ecc6>] class_device_add+0x117/0x1d4
 [<c02a0b73>] attribute_container_add_class_device+0x10/0x26
 [<c02a0deb>] transport_add_class_device+0x10/0x40
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0e32>] transport_add_device+0x17/0x1b
 [<c02a0ddb>] transport_add_class_device+0x0/0x40
 [<c02c1038>] scsi_alloc_target+0x1ed/0x27a
 [<c02a0f57>] transport_destroy_device+0x17/0x1c
 [<c02c1fff>] scsi_scan_target+0x62/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c029ef08>] class_device_del+0x89/0xf2
 [<c02a0ec4>] transport_remove_classdev+0x3a/0x7a
 [<c0175ab4>] dput+0xad/0x1f7
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0f1b>] transport_remove_device+0x17/0x1b
 [<c02a0e8a>] transport_remove_classdev+0x0/0x7a
 [<c02c115c>] scsi_target_reap+0x97/0xae
 [<c02c204b>] scsi_scan_target+0xae/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c0195549>] sysfs_create_link+0x44/0x64
 [<c029ecc6>] class_device_add+0x117/0x1d4
 [<c02a0b73>] attribute_container_add_class_device+0x10/0x26
 [<c02a0deb>] transport_add_class_device+0x10/0x40
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0e32>] transport_add_device+0x17/0x1b
 [<c02a0ddb>] transport_add_class_device+0x0/0x40
 [<c02c1038>] scsi_alloc_target+0x1ed/0x27a
 [<c02a0f57>] transport_destroy_device+0x17/0x1c
 [<c02c1fff>] scsi_scan_target+0x62/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c029ef08>] class_device_del+0x89/0xf2
 [<c02a0ec4>] transport_remove_classdev+0x3a/0x7a
 [<c0175ab4>] dput+0xad/0x1f7
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0f1b>] transport_remove_device+0x17/0x1b
 [<c02a0e8a>] transport_remove_classdev+0x0/0x7a
 [<c02c115c>] scsi_target_reap+0x97/0xae
 [<c02c204b>] scsi_scan_target+0xae/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c0195549>] sysfs_create_link+0x44/0x64
 [<c029ecc6>] class_device_add+0x117/0x1d4
 [<c02a0b73>] attribute_container_add_class_device+0x10/0x26
 [<c02a0deb>] transport_add_class_device+0x10/0x40
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0e32>] transport_add_device+0x17/0x1b
 [<c02a0ddb>] transport_add_class_device+0x0/0x40
 [<c02c1038>] scsi_alloc_target+0x1ed/0x27a
 [<c02a0f57>] transport_destroy_device+0x17/0x1c
 [<c02c1fff>] scsi_scan_target+0x62/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c029ef08>] class_device_del+0x89/0xf2
 [<c02a0ec4>] transport_remove_classdev+0x3a/0x7a
 [<c0175ab4>] dput+0xad/0x1f7
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0f1b>] transport_remove_device+0x17/0x1b
 [<c02a0e8a>] transport_remove_classdev+0x0/0x7a
 [<c02c115c>] scsi_target_reap+0x97/0xae
 [<c02c204b>] scsi_scan_target+0xae/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c0195549>] sysfs_create_link+0x44/0x64
 [<c029ecc6>] class_device_add+0x117/0x1d4
 [<c02a0b73>] attribute_container_add_class_device+0x10/0x26
 [<c02a0deb>] transport_add_class_device+0x10/0x40
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0e32>] transport_add_device+0x17/0x1b
 [<c02a0ddb>] transport_add_class_device+0x0/0x40
 [<c02c1038>] scsi_alloc_target+0x1ed/0x27a
 [<c02a0f57>] transport_destroy_device+0x17/0x1c
 [<c02c1fff>] scsi_scan_target+0x62/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c029ef08>] class_device_del+0x89/0xf2
 [<c02a0ec4>] transport_remove_classdev+0x3a/0x7a
 [<c0175ab4>] dput+0xad/0x1f7
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0f1b>] transport_remove_device+0x17/0x1b
 [<c02a0e8a>] transport_remove_classdev+0x0/0x7a
 [<c02c115c>] scsi_target_reap+0x97/0xae
 [<c02c204b>] scsi_scan_target+0xae/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c0195549>] sysfs_create_link+0x44/0x64
 [<c029ecc6>] class_device_add+0x117/0x1d4
 [<c02a0b73>] attribute_container_add_class_device+0x10/0x26
 [<c02a0deb>] transport_add_class_device+0x10/0x40
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0e32>] transport_add_device+0x17/0x1b
 [<c02a0ddb>] transport_add_class_device+0x0/0x40
 [<c02c1038>] scsi_alloc_target+0x1ed/0x27a
 [<c02a0f57>] transport_destroy_device+0x17/0x1c
 [<c02c1fff>] scsi_scan_target+0x62/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c029ef08>] class_device_del+0x89/0xf2
 [<c02a0ec4>] transport_remove_classdev+0x3a/0x7a
 [<c0175ab4>] dput+0xad/0x1f7
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0f1b>] transport_remove_device+0x17/0x1b
 [<c02a0e8a>] transport_remove_classdev+0x0/0x7a
 [<c02c115c>] scsi_target_reap+0x97/0xae
 [<c02c204b>] scsi_scan_target+0xae/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c0195549>] sysfs_create_link+0x44/0x64
 [<c029ecc6>] class_device_add+0x117/0x1d4
 [<c02a0b73>] attribute_container_add_class_device+0x10/0x26
 [<c02a0deb>] transport_add_class_device+0x10/0x40
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0e32>] transport_add_device+0x17/0x1b
 [<c02a0ddb>] transport_add_class_device+0x0/0x40
 [<c02c1038>] scsi_alloc_target+0x1ed/0x27a
 [<c02a0f57>] transport_destroy_device+0x17/0x1c
 [<c02c1fff>] scsi_scan_target+0x62/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
scheduling while atomic: swapper/0x00000001/1
 [<c0399573>] schedule+0x9c3/0xc97
 [<c0118b49>] __wake_up_common+0x3f/0x5e
 [<c03999a4>] wait_for_completion+0x85/0xca
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c0118af8>] default_wake_function+0x0/0x12
 [<c012cfd5>] queue_work+0x79/0x7b
 [<c012cee3>] call_usermodehelper_keys+0xd6/0xe3
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025625d>] kobject_hotplug+0x27f/0x2ec
 [<c029ef08>] class_device_del+0x89/0xf2
 [<c02a0ec4>] transport_remove_classdev+0x3a/0x7a
 [<c0175ab4>] dput+0xad/0x1f7
 [<c02a0ab5>] attribute_container_device_trigger+0x97/0x9d
 [<c02a0f1b>] transport_remove_device+0x17/0x1b
 [<c02a0e8a>] transport_remove_classdev+0x0/0x7a
 [<c02c115c>] scsi_target_reap+0x97/0xae
 [<c02c204b>] scsi_scan_target+0xae/0x174
 [<c02c21c1>] scsi_scan_channel+0xb0/0xce
 [<c02c2259>] scsi_scan_host_selected+0x7a/0xd9
 [<c02c22e7>] scsi_scan_host+0x2f/0x33
 [<c02dcdfe>] ahc_linux_register_host+0x1b3/0x1bd
 [<c02e0aa0>] ahc_pci_map_int+0x38/0x60
 [<c02ddf5b>] ahc_linux_isr+0x0/0x27e
 [<c02d5eab>] ahc_pci_config+0x717/0x9cf
 [<c025d276>] pci_set_master+0x42/0x84
 [<c02e06b7>] ahc_linux_pci_dev_probe+0x10b/0x14b
 [<c012cdac>] __call_usermodehelper+0x0/0x61
 [<c025ecc9>] pci_match_device+0x2a/0xdd
 [<c025edd5>] __pci_device_probe+0x59/0x67
 [<c025ee12>] pci_device_probe+0x2f/0x59
 [<c029dcf0>] driver_probe_device+0x3b/0xc5
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029de28>] __driver_attach+0x43/0x45
 [<c029d327>] bus_for_each_dev+0x58/0x78
 [<c029de50>] driver_attach+0x26/0x2a
 [<c029dde5>] __driver_attach+0x0/0x45
 [<c029d846>] bus_add_driver+0x83/0xec
 [<c025f085>] pci_register_driver+0x7e/0x94
 [<c02e0706>] ahc_linux_pci_init+0xf/0x1b
 [<c049564a>] ahc_linux_init+0x7f/0xa6
 [<c0480978>] do_initcalls+0x53/0xb5
 [<c0100386>] init+0x7c/0x19e
 [<c010030a>] init+0x0/0x19e
 [<c0101101>] kernel_thread_helper+0x5/0xb
libata version 1.12 loaded.
ata_piix version 1.04
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xB800 ctl 0xB402 bmdma 0xA400 irq 19
ata2: SATA max UDMA/133 cmd 0xB000 ctl 0xA802 bmdma 0xA408 irq 19
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e21 87:4663 88:207f
ata1: dev 0 ATA, max UDMA/133, 586114704 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi1 : ata_piix
ATA: abnormal status 0x7F on port 0xB007
ata2: disabling port
scsi2 : ata_piix
  Vendor: ATA       Model: Maxtor 6L300S0    Rev: BACE
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 17873040 512-byte hdwr sectors (9151 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 17873040 512-byte hdwr sectors (9151 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi removable disk sdb at scsi0, channel 0, id 5, lun 0
SCSI device sdc: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sdc: drive cache: write back
 sdc: sdc1
Attached scsi disk sdc at scsi1, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
sr1: scsi-1 drive
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 4, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg1 at scsi0, channel 0, id 3, lun 0,  type 5
Attached scsi generic sg2 at scsi0, channel 0, id 4, lun 0,  type 5
Attached scsi generic sg3 at scsi0, channel 0, id 5, lun 0,  type 0
Attached scsi generic sg4 at scsi1, channel 0, id 0, lun 0,  type 0
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.9b (Thu Jul 28 12:20:13 2005 UTC).
ALSA device list:
  No soundcards found.
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
UDF-fs: No VRS found
XFS mounting filesystem sda2
input: AT Translated Set 2 keyboard on isa0060/serio0
Ending clean XFS mount for filesystem: sda2
VFS: Mounted root (xfs filesystem) readonly.
Freeing unused kernel memory: 188k freed
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
input: AT Translated Set 2 keyboard on isa0060/serio0
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
PCI: Setting latency timer of device 0000:00:1b.0 to 64
XFS mounting filesystem sdc1
Ending clean XFS mount for filesystem: sdc1
Comment 11 Hamlet Mun 2006-04-17 14:22:36 UTC
Just out of curiosity...

Is this bug affecting every devices that use aic7xxx module
or just Adaptec 29160 Ultra 160 SCSI Controller???
Comment 12 Hamlet Mun 2006-04-17 15:35:06 UTC
I tried vanilla-sources-2.6.13.4
It works fine.
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2006-04-19 04:19:07 UTC
This is the only report we have of an aic7xxx regression so I don't think it affects all supported hardware.

This is increasingly strange, I sent an email to the maintainer to see if they have any ideas/suggestions.
Comment 14 Hamlet Mun 2006-04-19 04:53:43 UTC
I think this is not the only one.

Look at this bug report
http://bugzilla.kernel.org/show_bug.cgi?id=5659

I have WDIGTL (WD91 ULTRA2), YAMAHA (CRW4260),PLEXTOR (CD-ROM PX-32TS), IOMEGA (ZIP 100)
And James Bottomley told the problem could be "untagged queuing"
Maybe CDRW,CDROM and ZIP are causing the problem, I don't know

This is the output of SCSI part of my dmesg
(vanilla-sources-2.6.13.4 latest kernel I found that works fine)

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec 29160 Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

  Vendor: WDIGTL    Model: WD91 ULTRA2       Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
 target0:0:0: asynchronous.
scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
 target0:0:0: Beginning Domain Validation
 target0:0:0: wide asynchronous.
 target0:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 62)
 target0:0:0: Domain Validation skipping write tests
 target0:0:0: Ending Domain Validation
  Vendor: YAMAHA    Model: CRW4260           Rev: 1.0q
  Type:   CD-ROM                             ANSI SCSI revision: 02
 target0:0:3: asynchronous.
 target0:0:3: Beginning Domain Validation
 target0:0:3: Ending Domain Validation
  Vendor: PLEXTOR   Model: CD-ROM PX-32TS    Rev: 1.03
  Type:   CD-ROM                             ANSI SCSI revision: 02
 target0:0:4: asynchronous.
 target0:0:4: Beginning Domain Validation
 target0:0:4: Domain Validation skipping write tests
 target0:0:4: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15)
 target0:0:4: Ending Domain Validation
  Vendor: IOMEGA    Model: ZIP 100           Rev: N*32
  Type:   Direct-Access                      ANSI SCSI revision: 02
 target0:0:5: asynchronous.
 target0:0:5: Beginning Domain Validation
 target0:0:5: Ending Domain Validation
libata version 1.12 loaded.
ata_piix version 1.04
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xB800 ctl 0xB402 bmdma 0xA400 irq 19
ata2: SATA max UDMA/133 cmd 0xB000 ctl 0xA802 bmdma 0xA408 irq 19
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e21 87:4663 88:207f
ata1: dev 0 ATA, max UDMA/133, 586114704 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi1 : ata_piix
ATA: abnormal status 0x7F on port 0xB007
ata2: disabling port
scsi2 : ata_piix
  Vendor: ATA       Model: Maxtor 6L300S0    Rev: BACE
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 17873040 512-byte hdwr sectors (9151 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 17873040 512-byte hdwr sectors (9151 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi removable disk sdb at scsi0, channel 0, id 5, lun 0
SCSI device sdc: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sdc: drive cache: write back
 sdc: sdc1
Attached scsi disk sdc at scsi1, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
sr1: scsi-1 drive
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 4, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg1 at scsi0, channel 0, id 3, lun 0,  type 5
Attached scsi generic sg2 at scsi0, channel 0, id 4, lun 0,  type 5
Attached scsi generic sg3 at scsi0, channel 0, id 5, lun 0,  type 0
Attached scsi generic sg4 at scsi1, channel 0, id 0, lun 0,  type 0
Comment 15 Hamlet Mun 2006-04-19 08:56:40 UTC
Same problem with 2.6.17_rc2
Comment 16 Daniel Drake (RETIRED) gentoo-dev 2006-04-19 08:59:08 UTC
I see no reason to suggest that the problem on that bug is the same as yours. The situation is different, the hardware is different, and the error messages are different. Am I missing something?
Comment 17 Hamlet Mun 2006-04-19 09:48:42 UTC
Maybe the error messages are not exactly the same.
But I see messages like: SCBs aborted, Bus reset, Recovery SCB, No or incomplete CDB, etc...

I thought something might happen between 2.6.13.4 and 2.6.14

http://forums.gentoo.org/viewtopic-p-3005830.html#3005830
Using linux-2.6.13-gentoo-r5 + dbus/hald works without problems.

http://forums.gentoo.org/viewtopic-p-3016199.html#3016199
I still suffer from this error when starting k3b or kscd with any kernel higher than 2.6.13.x.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339871
With the kernel 2.6.13, everything works fine when I launch k3b. But,
since I have installed the 2.6.14 kernel, when I launch k3b, I have the
following error in my logs

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340045
After updating the kernel from 2.6.12 to 2.6.14 the systems completely
hangs when k3b is started.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339871;msg=54;att=0
Out of curiosity i replaced the complete adaptec aix7xxx code of 2.6.15 with the one of 2.6.13.4, amazingly this didn't cause any problems
Comment 18 Daniel Drake (RETIRED) gentoo-dev 2006-04-19 13:24:57 UTC
Although there are clearly problems with this driver/hardware around, I wouldn't read too much into other peoples problems unless they are obviously identical.

Do you have any devices other than your root disk on the controller? (secondary disks/CDROMs/...)

If so, can you disconnect them all except the disk and see if that allows the system to boot?

Can you record the contents of the files at /proc/scsi/aic7xxx/* from a working kernel?

Finally, are you able to set up a serial console with another nearby computer? This would allow us to record the entire boot log which would be useful.
Comment 19 Hamlet Mun 2006-04-19 15:01:39 UTC
only one file: /proc/scsi/aic7xxx/0
vanilla-sources-2.6.13.4
about my hardwares, see comment #14
---------------------------------------------------------
Adaptec AIC7xxx driver version: 6.2.36
Adaptec 29160 Ultra160 SCSI adapter
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
Allocated SCBs: 36, SG List Length: 128

Serial EEPROM:
0x433a 0xc13a 0xc13a 0xc13a 0xc13a 0xc13a 0xc13a 0xc13a 
0xc13a 0xc13a 0xc13a 0xc13a 0xc13a 0xc13a 0xc13a 0xc13a 
0x08f4 0x7c5d 0x2807 0x0010 0x0300 0xffff 0xffff 0xffff 
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x0250 0x484f 

Target 0 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Goal: 160.000MB/s transfers (80.000MHz DT, offset 62, 16bit)
        Curr: 160.000MB/s transfers (80.000MHz DT, offset 62, 16bit)
        Channel A Target 0 Lun 0 Settings
                Commands Queued 19329
                Commands Active 0
                Command Openings 32
                Max Tagged Openings 32
                Device Queue Frozen Count 0
Target 1 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 2 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 3 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Goal: 3.300MB/s transfers
        Curr: 3.300MB/s transfers
        Channel A Target 3 Lun 0 Settings
                Commands Queued 19
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0
Target 4 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Goal: 20.000MB/s transfers (20.000MHz, offset 15)
        Curr: 20.000MB/s transfers (20.000MHz, offset 15)
        Channel A Target 4 Lun 0 Settings
                Commands Queued 23
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0
Target 5 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Goal: 3.300MB/s transfers
        Curr: 3.300MB/s transfers
        Channel A Target 5 Lun 0 Settings
                Commands Queued 29
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0
Target 6 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 7 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 8 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 9 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 10 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 11 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 12 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 13 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 14 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 15 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Comment 20 Hamlet Mun 2006-04-19 15:19:47 UTC
I disconnected all the devices (CDROM,CDRW,ZIP) except the disk (Western Digital Ultra160)
And the kernel 2.6.17_rc2 showed the same screen... CRC Mismatch, Recovery ...
Maybe the problem is not "untagged queuing" as James said.
Comment 21 Daniel Drake (RETIRED) gentoo-dev 2006-04-19 15:56:26 UTC
Are you able to set up a serial console with another nearby computer?
This would allow us to record the entire boot log which would be useful.
Comment 22 Hamlet Mun 2006-04-20 21:30:28 UTC
Same error with 2.6.17-rc1-mm3

I couldn't find a cable for serial console, lost in my room :-P
All the DB9 I found was for UPS or for cash register (imp. fiscal para Argentina)
Should buy another one... Time to go to the downtown :-P
Comment 24 Daniel Drake (RETIRED) gentoo-dev 2006-04-26 14:14:10 UTC
Any luck with that serial console?
Comment 25 Daniel Drake (RETIRED) gentoo-dev 2006-05-05 11:42:09 UTC
Please reopen when you either have a serial console available or have decided that it's not possible to set one up (although this would seriously dampen our ability to work with this...).
Comment 26 Hamlet Mun 2006-05-20 18:56:47 UTC
Created attachment 87160 [details]
serial console info of aic7xxx error with 2.6.17-rc4

Finally I could buy the cable and do some soldering.

It still shows the same error:

aic7xxx_abort returns 0x2002
 0:0:0:0: Attempting to queue a TARGET RESET message
CDB: 0x3b 0xa 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
...............

But this kernel is, at least, able to boot and login.
Comment 27 Hamlet Mun 2006-05-21 02:45:57 UTC
Already uploaded serial console capture, so bug re-opened
Comment 28 Daniel Drake (RETIRED) gentoo-dev 2006-05-22 07:16:09 UTC
Created attachment 87251 [details]
serial console log

please do not attach compressed files
Comment 29 Daniel Drake (RETIRED) gentoo-dev 2006-05-22 07:17:44 UTC
So, 2.6.17-rc1-mm3 failed (the errors appeared to loop infinitely) but 2.6.17-rc4 works after a few errors have gone by? Is the system working OK after login?
Comment 30 Daniel Drake (RETIRED) gentoo-dev 2006-05-22 07:45:32 UTC
Just a suggestion: test James' patches against 2.6.17-rc4. There is clearly something included in -rc4 which helps the situation (i.e. allows boot to complete), so there is no point testing against older code. If I were you I'd retest his last patch on 2.6.17-rc4 and send him the new logs.
Comment 31 Hamlet Mun 2006-05-24 03:38:06 UTC
Created attachment 87375 [details, diff]
The patch received from James Bottomley 5/21
Comment 32 Hamlet Mun 2006-05-24 03:43:37 UTC
Created attachment 87376 [details]
dmesg after applying the patch mentioned above...

I was afraid of failure messages, so I didn't try to use the system.
Just reset and boot with 2.6.13.4, the lastest kernel that doesn't have this problem.
Comment 33 Hamlet Mun 2006-05-25 17:08:24 UTC
2.6.17-rc5 still shows the same error messages
Comment 34 Hamlet Mun 2006-05-26 15:51:57 UTC
Created attachment 87602 [details]
2.6.17_rc5 with all the debug codes enabled (with mask 2047)

Maybe those debug codes could help...
Comment 35 Hamlet Mun 2006-05-27 15:31:23 UTC
Created attachment 87692 [details]
2.6.17-rc4-mm3 with full debug option

Same problem.
Comment 36 Daniel Drake (RETIRED) gentoo-dev 2006-05-29 07:57:50 UTC
Is the dmesg in comment #34 from a kernel patched with this:
http://marc.theaimsgroup.com/?l=linux-scsi&m=114823129016719&w=2
Comment 37 Hamlet Mun 2006-05-29 08:29:13 UTC
Only #32 is 2.6.17-rc4 + that patch

#34 is 2.6.17-rc5 and #35 is 2.6.17-rc4-mm3
Comment 38 Daniel Drake (RETIRED) gentoo-dev 2006-05-29 08:47:02 UTC
Ok, have you mailed #32 to James? Anything which isn't 2.6.17-rc *plus* that patch is not useful and will probably throw him off track.
Comment 39 Hamlet Mun 2006-05-30 07:54:03 UTC
All the dmesgs I post here, are mailed to James Bottomley and linux-scsi@vger.kernel.org
Comment 40 Hamlet Mun 2006-05-31 17:45:42 UTC
Created attachment 88058 [details]
2.6.17-rc5 + patch with 60 & 50 pins cables

linux-2.6.17-rc5
all debug codes enabled
patch http://marc.theaimsgroup.com/?l=linux-scsi&m=114823129016719&w=2
With 50-pins & 68-pins cables
Comment 41 Hamlet Mun 2006-05-31 17:47:29 UTC
Created attachment 88059 [details]
Same as the above but without 50-pins
Comment 42 Hamlet Mun 2006-06-01 17:28:31 UTC
Today I did some tests

linux-2.6.14-rc3 and linux-2.6.14-rc1 had the same error, but linux-2.6.13.5 was fine.
So I guess this bug was introduced between 2.6.13.5 and 2.6.14-rc1

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=shortlog;h=v2.6.14-rc1
Comment 43 Hamlet Mun 2006-06-05 20:52:05 UTC
2.6.17-rc6 still shows the same error messages
Comment 44 Hamlet Mun 2006-06-09 15:00:24 UTC
Adaptec 2940UW seems to have similar problem

http://lists.debian.org/debian-kernel/2005/11/msg00601.html
Comment 45 Hamlet Mun 2006-06-20 14:37:04 UTC
2.6.17 still shows the same messages.
I will try 2.6.17.1 soon.
Comment 46 Hamlet Mun 2006-07-01 14:19:15 UTC
2.6.17.3 doesn't work either

kernels between 2.6.14-rc1 and 2.6.17.3 don't work with my Adaptec 29160 SCSI host adapter
Comment 47 Hamlet Mun 2006-07-06 02:12:02 UTC
vanilla-sources-2.6.17.3 and gentoo-sources-2.6.17-r1 don't work either
Comment 48 Hamlet Mun 2006-07-18 05:55:15 UTC
linux-2.6.18_rc2 has the same bug
Comment 49 Carlos Silva (RETIRED) gentoo-dev 2007-09-03 18:23:01 UTC
does this bug still exist on latest stable? how about latest rc kernel (currently vanilla-sources-2.6.23_rc5)?
Comment 50 Daniel Drake (RETIRED) gentoo-dev 2007-09-19 10:12:11 UTC
Please reopen if you're interested in pursuing further. Sorry for forgetting about this bug earlier, it's a tricky one and I think we need to slow down a bit and take it one problem at a time.