Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-03 Thread Warner Losh
In message 199907030442.waa00...@harmony.village.org Warner Losh writes:
: A hunch.  I just tried to bring up my 1542CF with the bios disabled in
: -current and it blew chunks like you described.  Is your BIOS
: disabled?  If so, can you enable it and see if that works?  It should
: work with the bios disabled, but I know how painful that can be...


That last bit should read:

It should work with the BIOS disabled, because I know how
painful having the BIOS enabled can be at boot time.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-03 Thread Greg Skafte
tried it both with bios enabled and disabled  I've even tried reseting 
to factory defaults, I enabled and disabled sync negotiation, I've also tried
cutting the speed from 10 - 5 - 1.3 or what ever the slowest transfer rate wa




Quoting Warner Losh (i...@harmony.village.org)
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Fri, Jul 02, 1999 at 10:42:20PM -0600

 In message 19990702184559.e25...@gras-varg.worldgate.com Greg Skafte writes:
 : THANKS man .
 
 A hunch.  I just tried to bring up my 1542CF with the bios disabled in
 -current and it blew chunks like you described.  Is your BIOS
 disabled?  If so, can you enable it and see if that works?  It should
 work with the bios disabled, but I know how painful that can be...
 
 Warner
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-hackers in the body of the message

-- 
Email: ska...@worldgate.com   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Greg Skafte

Quoting Warner Losh ([EMAIL PROTECTED])
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Fri, Jul 02, 1999 at 02:52:12PM -0600

 In message [EMAIL PROTECTED] Greg Skafte writes:
 : nope 3.2-stable cvsuped yesterday
 
 OK.  Are you saying that this used to work, but that it doesn't now?

Nope I'm saying that its not working now, don't know about the 
previous history.  I do know that amancio (sp) has a scsi umax 
working (freebsd-hacker ~April 19 when jordon was having probs with
an HP)  

I haven't spent anytime today (chasing a dma gremlins), but I'm
gonna try it on a different machine and cable later this weekend 
(just in case)


 Justin did make some changes to the aha driver in -current which would
 keep it from losing a race, but I don't know if that was back ported
 or not.  I'll have to investigate.
 
 : I verified the terminations, if the termination is wrong the 
 : 1542's onboard diagnostics are unable to detect the scanner.  
 : I also verified that both devices are narrow.  
 
 Bummer.  I had hoped that this was the "usual" problem :-(.

I know 
 
 Warner
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message

-- 
Email: [EMAIL PROTECTED]   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Greg Skafte

Yup 2.2.8-Release probed it 

uk device UMAX 2600S V1.1 type 6 fixed scsi2


Quoting Warner Losh ([EMAIL PROTECTED])
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Fri, Jul 02, 1999 at 05:22:23PM -0600

 In message [EMAIL PROTECTED] Greg Skafte writes:
 : Nope I'm saying that its not working now, don't know about the 
 : previous history.  I do know that amancio (sp) has a scsi umax 
 : working (freebsd-hacker ~April 19 when jordon was having probs with
 : an HP)  
 : 
 : I haven't spent anytime today (chasing a dma gremlins), but I'm
 : gonna try it on a different machine and cable later this weekend 
 : (just in case)
 
 Is it possible to grab the 2.2.8R boot disk and see if that works?
 
 Warner
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message

-- 
Email: [EMAIL PROTECTED]   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Greg Skafte

since this is the only device on the aha card experimental aha drivers 
are welcome . (remember though that the target is RELENG_3 not current)



Quoting Warner Losh ([EMAIL PROTECTED])
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Fri, Jul 02, 1999 at 06:22:07PM -0600

 In message [EMAIL PROTECTED] Greg Skafte writes:
 : Yup 2.2.8-Release probed it 
 
 That tells me that something that I did to the driver busted this.
 OK.  I'll see if I can recreate it later tonight.  Are you willing to
 run experimental code?
 
 Warner
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message

-- 
Email: [EMAIL PROTECTED]   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Warner Losh

In message [EMAIL PROTECTED] Greg Skafte writes:
: since this is the only device on the aha card experimental aha drivers 
: are welcome . (remember though that the target is RELENG_3 not current)

OK.  I'll make sure that justin's changes are included in the -stable
driver and if not send you off a patch to try.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Greg Skafte

THANKS man .

Quoting Warner Losh ([EMAIL PROTECTED])
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Fri, Jul 02, 1999 at 06:34:30PM -0600

 In message [EMAIL PROTECTED] Greg Skafte writes:
 : since this is the only device on the aha card experimental aha drivers 
 : are welcome . (remember though that the target is RELENG_3 not current)
 
 OK.  I'll make sure that justin's changes are included in the -stable
 driver and if not send you off a patch to try.
 
 Warner

-- 
Email: [EMAIL PROTECTED]   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Greg Skafte
Quoting Warner Losh (i...@harmony.village.org)
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Thu, Jul 01, 1999 at 11:04:54PM -0600

 In message 19990701163631.a20...@gras-varg.worldgate.com Greg Skafte writes:
 : I've got an adaptec 1542 card using aha driver and RELENG_3 detects it no
 : problems.  
 
 OK.
 
 : If I use the adaptec on board utilities it finds my UMAX scanner no probs.
 
 OK.
 
 : when I try to boot the machine hangs just after the waiting for scsi to 
 : settle message.  
 
 Now I'm confused.  Is this in -current where you are having the
 problems?

nope 3.2-stable cvsuped yesterday

 
 : I've gabbed these as best as I can  since the machine doesn't finish 
 booting 
 : so I can't grab a dmesg and I don't have a serial console.
 
 OK.
 
 Before going too far, please make sure that termination is currect.
 I've seen the timeout timeout ...not in timeout sequence when that
 was the case.  I would have expected that from identical hardware with 
 a RELENG_3 kernel, however.  It is possible that something in the
 emulation layer in -current isn't working, or that -current's CAM does 
 things a little faster than RELENG_3's CAM did, this exposing another
 bug in the aha driver.  I didn't torture test it with anything except
 slow disks and a CDROM changer...  Any other device will likely work
 or not work due entirely to chance.


I verified the terminations, if the termination is wrong the 
1542's onboard diagnostics are unable to detect the scanner.  
I also verified that both devices are narrow.  
 
 Warner
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-hackers in the body of the message

-- 
Email: ska...@worldgate.com   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Warner Losh
In message 19990702110341.a24...@gras-varg.worldgate.com Greg Skafte writes:
:   nope 3.2-stable cvsuped yesterday

OK.  Are you saying that this used to work, but that it doesn't now?
Justin did make some changes to the aha driver in -current which would
keep it from losing a race, but I don't know if that was back ported
or not.  I'll have to investigate.

:   I verified the terminations, if the termination is wrong the 
:   1542's onboard diagnostics are unable to detect the scanner.  
:   I also verified that both devices are narrow.  

Bummer.  I had hoped that this was the usual problem :-(.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Greg Skafte
Quoting Warner Losh (i...@harmony.village.org)
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Fri, Jul 02, 1999 at 02:52:12PM -0600

 In message 19990702110341.a24...@gras-varg.worldgate.com Greg Skafte writes:
 : nope 3.2-stable cvsuped yesterday
 
 OK.  Are you saying that this used to work, but that it doesn't now?

Nope I'm saying that its not working now, don't know about the 
previous history.  I do know that amancio (sp) has a scsi umax 
working (freebsd-hacker ~April 19 when jordon was having probs with
an HP)  

I haven't spent anytime today (chasing a dma gremlins), but I'm
gonna try it on a different machine and cable later this weekend 
(just in case)


 Justin did make some changes to the aha driver in -current which would
 keep it from losing a race, but I don't know if that was back ported
 or not.  I'll have to investigate.
 
 : I verified the terminations, if the termination is wrong the 
 : 1542's onboard diagnostics are unable to detect the scanner.  
 : I also verified that both devices are narrow.  
 
 Bummer.  I had hoped that this was the usual problem :-(.

I know 
 
 Warner
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-hackers in the body of the message

-- 
Email: ska...@worldgate.com   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Warner Losh
In message 19990702170206.b25...@gras-varg.worldgate.com Greg Skafte writes:
:   Nope I'm saying that its not working now, don't know about the 
:   previous history.  I do know that amancio (sp) has a scsi umax 
:   working (freebsd-hacker ~April 19 when jordon was having probs with
:   an HP)  
: 
:   I haven't spent anytime today (chasing a dma gremlins), but I'm
:   gonna try it on a different machine and cable later this weekend 
:   (just in case)

Is it possible to grab the 2.2.8R boot disk and see if that works?

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Greg Skafte
Yup 2.2.8-Release probed it 

uk device UMAX 2600S V1.1 type 6 fixed scsi2


Quoting Warner Losh (i...@harmony.village.org)
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Fri, Jul 02, 1999 at 05:22:23PM -0600

 In message 19990702170206.b25...@gras-varg.worldgate.com Greg Skafte writes:
 : Nope I'm saying that its not working now, don't know about the 
 : previous history.  I do know that amancio (sp) has a scsi umax 
 : working (freebsd-hacker ~April 19 when jordon was having probs with
 : an HP)  
 : 
 : I haven't spent anytime today (chasing a dma gremlins), but I'm
 : gonna try it on a different machine and cable later this weekend 
 : (just in case)
 
 Is it possible to grab the 2.2.8R boot disk and see if that works?
 
 Warner
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-hackers in the body of the message

-- 
Email: ska...@worldgate.com   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Warner Losh
In message 19990702181826.c25...@gras-varg.worldgate.com Greg Skafte writes:
: Yup 2.2.8-Release probed it 

That tells me that something that I did to the driver busted this.
OK.  I'll see if I can recreate it later tonight.  Are you willing to
run experimental code?

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Greg Skafte
since this is the only device on the aha card experimental aha drivers 
are welcome . (remember though that the target is RELENG_3 not current)



Quoting Warner Losh (i...@harmony.village.org)
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Fri, Jul 02, 1999 at 06:22:07PM -0600

 In message 19990702181826.c25...@gras-varg.worldgate.com Greg Skafte writes:
 : Yup 2.2.8-Release probed it 
 
 That tells me that something that I did to the driver busted this.
 OK.  I'll see if I can recreate it later tonight.  Are you willing to
 run experimental code?
 
 Warner
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-hackers in the body of the message

-- 
Email: ska...@worldgate.com   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Warner Losh
In message 19990702183058.d25...@gras-varg.worldgate.com Greg Skafte writes:
: since this is the only device on the aha card experimental aha drivers 
: are welcome . (remember though that the target is RELENG_3 not current)

OK.  I'll make sure that justin's changes are included in the -stable
driver and if not send you off a patch to try.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Greg Skafte
THANKS man .

Quoting Warner Losh (i...@harmony.village.org)
On Subject: Re: UMAX scsi scanner on adaptec 1542 Card
Date: Fri, Jul 02, 1999 at 06:34:30PM -0600

 In message 19990702183058.d25...@gras-varg.worldgate.com Greg Skafte writes:
 : since this is the only device on the aha card experimental aha drivers 
 : are welcome . (remember though that the target is RELENG_3 not current)
 
 OK.  I'll make sure that justin's changes are included in the -stable
 driver and if not send you off a patch to try.
 
 Warner

-- 
Email: ska...@worldgate.com   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Warner Losh
In message 19990702184559.e25...@gras-varg.worldgate.com Greg Skafte writes:
: THANKS man .

A hunch.  I just tried to bring up my 1542CF with the bios disabled in
-current and it blew chunks like you described.  Is your BIOS
disabled?  If so, can you enable it and see if that works?  It should
work with the bios disabled, but I know how painful that can be...

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



UMAX scsi scanner on adaptec 1542 Card

1999-07-01 Thread Greg Skafte
I've been messing around for awhile, and I'm confused (go figure).

I've got an adaptec 1542 card using aha driver and RELENG_3 detects it no
problems.  

If I use the adaptec on board utilities it finds my UMAX scanner no probs.

when I try to boot the machine hangs just after the waiting for scsi to 
settle message.  

So I've turned on cam debugging and get  lots of iterations  of 

(probe0:aha0:0:0:0) ahaaction
(probe1:aha0:0:1:0) ahaaction
(probe2:aha0:0:2:0) ahaaction
(probe3:aha0:0:3:0) ahaaction
(probe4:aha0:0:4:0) ahaaction
(probe5:aha0:0:5:0) ahaaction
(probe6:aha0:0:6:0) ahaaction

and for a given probe

(probe0:aha0:0:0:0) camisr(probe0:aha0:0:0:0 ) ahaaction
(probe0:aha0:0:0:0) xpt_action
(probe0:aha0:0:0:0) INQUIRY. CDB 12 0 0 0 24 0
(probe0:aha0:0:0:0) xtp_setupccb
(probe0:aha0:0:0:0) xtp_action
(probe0:aha0:0:0:0) CCB 0xc5692508 - timeout
(probe0:aha0:0:0:0) CCB 0xc5692508 - timeout
(probe0:aha0:0:0:0) ahaaction
(probe0:aha0:0:0:0) camisr(probe0:aha0:0:0:0 ) probedone
(probe0:aha0:0:0:0) xpt_compile_path
(probe0:aha0:0:0:0) xpt_release_path
(probe0:aha0:0:0:0) xpt_done

aha0: No Longer in timeout


I've gabbed these as best as I can  since the machine doesn't finish booting 
so I can't grab a dmesg and I don't have a serial console.

the kernel contains 

controller  aha0at isa? port ? cam irq ?
controller  scbus0  #base SCSI code
device  da0 #SCSI direct access devices (aka disks)
device  sa0 #SCSI tapes
device  pass0   #CAM passthrough driver


Any thoughts  comments . clues for the clueless . 

TIA Greg

-- 
Email: ska...@worldgate.com   Voice: +780 413 1910Fax: +780 421 4929
   #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 
----
When things can't get any worse, they simplify themselves by getting a whole
lot worse then complicated. A complete and utter disaster is the simplest
thing in the world; it's preventing one that's complex.   (Janet Morris)


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-01 Thread Warner Losh
In message 19990701163631.a20...@gras-varg.worldgate.com Greg Skafte writes:
: I've got an adaptec 1542 card using aha driver and RELENG_3 detects it no
: problems.  

OK.

: If I use the adaptec on board utilities it finds my UMAX scanner no probs.

OK.

: when I try to boot the machine hangs just after the waiting for scsi to 
: settle message.  

Now I'm confused.  Is this in -current where you are having the
problems?

: I've gabbed these as best as I can  since the machine doesn't finish booting 
: so I can't grab a dmesg and I don't have a serial console.

OK.

Before going too far, please make sure that termination is currect.
I've seen the timeout timeout ...not in timeout sequence when that
was the case.  I would have expected that from identical hardware with 
a RELENG_3 kernel, however.  It is possible that something in the
emulation layer in -current isn't working, or that -current's CAM does 
things a little faster than RELENG_3's CAM did, this exposing another
bug in the aha driver.  I didn't torture test it with anything except
slow disks and a CDROM changer...  Any other device will likely work
or not work due entirely to chance.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message