Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Nathan Whitehorn

On 06/23/11 17:17, Alexander Motin wrote:

Nathan Whitehorn wrote:

I'm still having problems with an ATA bus containing a DVD drive and a
Zip driver (da).

Can't it be some different problem? What are the symptoms?



Hanging in run_interrupt_driven_config_hooks, immediately after probing 
the zip drive, which it didn't do before. Here's the end of a verbose boot:

pass0 at ata1 bus 0 scbus1 target 0 lun 0
pass0:  Removable CD-ROM SCSI-0 device
pass0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
pass1 at ata1 bus 0 scbus1 target 1 lun 0
pass1:  Removable Direct Access SCSI-0 device
pass1: 13.300MB/s transfers (WDMA1, ATAPI 12bytes, PIO 65534bytes)
Adding CPU 0, pir=0, awake=1
Waking up CPU 1 (dev=ff83e928)
Adding CPU 1, pir=1, awake=1
SMP: AP CPU #1 launched
WARNING: WITNESS option enabled, expect reduced performance.
(da0:ata1:0:1:0): SCSI status errorG
EOM: new disk da(0da0
:ata1:0:1:0):G EROEMA:D  nCeAwP AdCiIsTkY (c1d00).
CDB: 25 0 0 0 0 0 0 0 0 0
(da0:ata1:0:1:0): CAM status: SCSI Status Error
(da0:ata1:0:1:0): SCSI status: Check Condition
(da0:ata1:0:1:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, 
or bus device reset occurred)

(da0:ata1:0:1:0): Retrying command (per sense data)
(cd0:ata1:0:0:0): SCSI status error
(cd0:ata1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata1:0:0:0): CAM status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI status: Check Condition
(cd0:ata1:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, 
or bus device reset occurred)

(cd0:ata1:0:0:0): Retrying command (per sense data)
(da0:ata1:0:1:0): SCSI status error
(da0:ata1:0:1:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
(da0:ata1:0:1:0): CAM status: SCSI Status Error
(da0:ata1:0:1:0): SCSI status: Check Condition
(da0:ata1:0:1:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(da0:ata1:0:1:0): Error 6, Unretryable error
da0 at ata1 bus 0 scbus1 target 1 lun 0
da0:  Removable Direct Access SCSI-0 device
da0: 13.300MB/s transfers (WDMA1, ATAPI 12bytes, PIO 65534bytes)
da0: Attempt to query device size failed: NOT READY, Medium not present
[hang]
-Nathan
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Alexander Motin
Nathan Whitehorn wrote:
> I'm still having problems with an ATA bus containing a DVD drive and a
> Zip driver (da).

Can't it be some different problem? What are the symptoms?

-- 
Alexander Motin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Nathan Whitehorn

On 06/23/11 16:57, Hartmann, O. wrote:

On 06/23/11 18:29, David Wolfskill wrote:

On Thu, Jun 23, 2011 at 06:12:54PM +0300, Alexander Motin wrote:

...
SVN rev 223443 broke ATAPI support. SVN rev 223475 should fix it.

Thanks -- that did resolve the issue for me.

Peace,
david


Me, too.
Thanks,
Oliver


I'm still having problems with an ATA bus containing a DVD drive and a 
Zip driver (da).

-Nathan
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Hartmann, O.

On 06/23/11 18:29, David Wolfskill wrote:

On Thu, Jun 23, 2011 at 06:12:54PM +0300, Alexander Motin wrote:

...
SVN rev 223443 broke ATAPI support. SVN rev 223475 should fix it.

Thanks -- that did resolve the issue for me.

Peace,
david


Me, too.
Thanks,
Oliver
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread David Wolfskill
On Thu, Jun 23, 2011 at 06:12:54PM +0300, Alexander Motin wrote:
> ...
> SVN rev 223443 broke ATAPI support. SVN rev 223475 should fix it.

Thanks -- that did resolve the issue for me.

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgp5oemRmqK7r.pgp
Description: PGP signature


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Alexander Motin
O. Hartmann wrote:
> With today's update of sources
> (Revision: 223466
> Node Kind: directory
> Schedule: normal
> Last Changed Author: adrian
> Last Changed Rev: 223466
> Last Changed Date: 2011-06-23 08:55:29 +0200 (Do, 23 Jun 2011))
> 
> FreeBSD 9.0-CURRENT/amd64 won't boot anymore. The box gets stuck in
> booting the kernel and ending up with the message (repeated every 60
> seconds):
> 
> run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config
> 
> What's up?

SVN rev 223443 broke ATAPI support. SVN rev 223475 should fix it.

-- 
Alexander Motin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Andrey Chernov
On Thu, Jun 23, 2011 at 03:10:20PM +0400, Andrey V. Elsukov wrote:
> On 23.06.2011 11:54, O. Hartmann wrote:
> > FreeBSD 9.0-CURRENT/amd64 won't boot anymore. The box gets stuck in booting 
> > the kernel and ending up
> > with the message (repeated every 60 seconds):
> > 
> > run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config
> > 
> > What's up?
> 
> I backed out r223443 and r223448 and it helped.

Are you sure about r223443 one? It seems it does good thing: I still have 
hang at boot, but no more sleeping in "caplck", only xpt_thrd sleeping 
(forever) in "ccb_scan".

-- 
http://ache.vniz.net/


pgpGY6bugeZGR.pgp
Description: PGP signature


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread O. Hartmann

On 06/23/11 13:10, Andrey V. Elsukov wrote:

On 23.06.2011 11:54, O. Hartmann wrote:

FreeBSD 9.0-CURRENT/amd64 won't boot anymore. The box gets stuck in booting the 
kernel and ending up
with the message (repeated every 60 seconds):

run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

What's up?


I backed out r223443 and r223448 and it helped.



It seems to be the only way out at the moment. The just checked out 
codebase doesn't even compile a kernel and fails compiling in the ATH 
module:


/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:52:4: 
note: instantiated from:

  W1(_fg) }
  ^
/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:34:45: 
note: instantiated from:
(((_a) > 63 && (_a) < 128 ? (((uint64_t) 1)<<((_a)-64)) : 
(uint64_t) 0))

   ^ ~
/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:742:21: 
warning: shift count is negative

 .chan11g_turbo = BM1(T3_2437_2437)},
  ^
/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:35:29: 
note: instantiated from:

#define BM1(_fa){ W0(_fa), W1(_fa) }
   ^
/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:34:45: 
note: instantiated from:
(((_a) > 63 && (_a) < 128 ? (((uint64_t) 1)<<((_a)-64)) : 
(uint64_t) 0))

   ^ ~
/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain.c:170:2: 
warning: implicit declaration of function 'HALDEBUG_G' is invalid in C99

  [-Wimplicit-function-declaration]
HALDEBUG_G(ah, HAL_DEBUG_REGDOMAIN,
^
/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain.c:170:17: 
error: use of undeclared identifier 'HAL_DEBUG_REGDOMAIN'; did you mean

  'HAL_REG_DOMAIN'?
HALDEBUG_G(ah, HAL_DEBUG_REGDOMAIN,
   ^
/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain.c:612:22: 
error: use of undeclared identifier 'HAL_DEBUG_ANY'; did you mean

  'HALDEBUG_G'?
HALDEBUG_G(AH_NULL, HAL_DEBUG_ANY,
^
HALDEBUG_G
/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain.c:170:2: 
note: 'HALDEBUG_G' declared here

HALDEBUG_G(ah, HAL_DEBUG_REGDOMAIN,
^
434 warnings and 2 errors generated.
*** Error code 1

Stop in /usr/src/sys/modules/ath.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Andreas Tobler

On 23.06.11 09:54, O. Hartmann wrote:

With today's update of sources
(Revision: 223466
Node Kind: directory
Schedule: normal
Last Changed Author: adrian
Last Changed Rev: 223466
Last Changed Date: 2011-06-23 08:55:29 +0200 (Do, 23 Jun 2011))

FreeBSD 9.0-CURRENT/amd64 won't boot anymore. The box gets stuck in
booting the kernel and ending up with the message (repeated every 60
seconds):

run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

What's up?



+1, powerpc64.

Would be nice if this could be fixed.

Thanks,
Andreas
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Andrey Chernov
On Thu, Jun 23, 2011 at 09:54:46AM +0200, O. Hartmann wrote:
> With today's update of sources
> (Revision: 223466
> Node Kind: directory
> Schedule: normal
> Last Changed Author: adrian
> Last Changed Rev: 223466
> Last Changed Date: 2011-06-23 08:55:29 +0200 (Do, 23 Jun 2011))
> 
> FreeBSD 9.0-CURRENT/amd64 won't boot anymore. The box gets stuck in 
> booting the kernel and ending up with the message (repeated every 60 
> seconds):
> 
> run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

See the same diagnostic loop I notice in thread with subj
Re: Exactly that commit (was Re: Latest -current 100% hang at the late
boot stage)
Try to unplug your CDs/DVDs if you have them.

-- 
http://ache.vniz.net/
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Andrey V. Elsukov
On 23.06.2011 11:54, O. Hartmann wrote:
> FreeBSD 9.0-CURRENT/amd64 won't boot anymore. The box gets stuck in booting 
> the kernel and ending up
> with the message (repeated every 60 seconds):
> 
> run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config
> 
> What's up?

I backed out r223443 and r223448 and it helped.

-- 
WBR, Andrey V. Elsukov



signature.asc
Description: OpenPGP digital signature


Re: kernel broken: run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

2011-06-23 Thread Andrey V. Elsukov
On 23.06.2011 11:54, O. Hartmann wrote:
> With today's update of sources
> (Revision: 223466
> Node Kind: directory
> Schedule: normal
> Last Changed Author: adrian
> Last Changed Rev: 223466
> Last Changed Date: 2011-06-23 08:55:29 +0200 (Do, 23 Jun 2011))
> 
> FreeBSD 9.0-CURRENT/amd64 won't boot anymore. The box gets stuck in booting 
> the kernel and ending up
> with the message (repeated every 60 seconds):
> 
> run_interrupt_driven_hooks: still waiting after XXX seconds for xpt_config

I have this problem too.

-- 
WBR, Andrey V. Elsukov



signature.asc
Description: OpenPGP digital signature