Re: amd64 hangs during boot

2013-10-27 Thread Thomas Mueller
> > =>Kernel from freshly built sources from this morning on amd64 hangs
> > =>during boot.

> > =>Last message:

> > =>xhci0: xhci_open addr 0 depth 0 port 0 speed 3
>
> >I got that when I tried booting a -current installer. Disabling
> > the USB 3 host controller in BIOS allowed it to boot, though
> > obviously without the xhci. xhci was just recently added to GENERIC
> > which is why you are seeing it now.

> cvs log says:
> http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/usb/xhci.c#rev1.1
> >> Add work-in-progress xhci(4) driver code.

> and the author said:
> http://mail-index.netbsd.org/source-changes-d/2013/10/23/msg006179.html
> >> I would like to state at this time that I am not directly responsible for
> >> any unexpected whatevers due to this change.

> So adding xhci into GENERIC looks a bit stupid and
> it should be reverted.

---
> Izumi Tsutsui

I too tried "device xhci" but it hung on boot in amd64.

For i386, non-generic kernel failed to build with xhci and even after removing 
xhci;
GENERIC compiled OK.

xhci could be included in GENERIC with # at the beginning of the line and a 
note 
#experimental: may be broken, use at your own risk

That way, users would know it's a work in progress as opposed to being ignored.

Tom



Re: How to hot swap an SCA SCSI disk with NetBSD

2013-10-27 Thread Mouse
>> SCA is just a type of connector.  As far as I know, there are no
>> extra signals (in particular there is no way to signal the OS that
>> the device was removed).
> That's true, but, generally, SCA backplanes are intelligent devices
> which can report device insertion/removal to the host over the SCSI
> bus - see ses(4).

The backplane still has to notice it somehow.

Also, "generally" is, I suspect, an artifact of the hardware you've
worked with.  Most of my SCA equipment is not that smart - the SS20,
for example, uses SCA but has nothing of the sort as far as I can tell.

To get back on the original subthread, I wouldn't want to connect or
disconnect a load from a bus that's got live operations going on it;
for hot-swap, I'd expect switching electronics that does the
disconnect/reconnect before/after the electrical contact is
broken/made, and timed to not disrupt a transfer in progress.  Either
that or I'd use bidirectional buffer logic, so there is nothing like a
direct electrical connection between the SCA pins and the SCSI bus.

/~\ The ASCII Mouse
\ / Ribbon Campaign
 X  Against HTMLmo...@rodents-montreal.org
/ \ Email!   7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Re: How to hot swap an SCA SCSI disk with NetBSD

2013-10-27 Thread Thor Lancelot Simon
On Sat, Oct 26, 2013 at 10:56:33AM -0700, John Nemeth wrote:
> 
>  SCA is just a type of connector.  As far as I know, there are
> no extra signals (in particular there is no way to signal the OS
> that the device was removed).

That's true, but, generally, SCA backplanes are intelligent devices
which can report device insertion/removal to the host over the SCSI bus -
see ses(4).

Thor


Re: amd64 hangs during boot

2013-10-27 Thread Izumi Tsutsui
> =>Kernel from freshly built sources from this morning on amd64 hangs
> =>during boot.
> =>
> =>Last message:
> =>
> =>xhci0: xhci_open addr 0 depth 0 port 0 speed 3
> 
>I got that when I tried booting a -current installer. Disabling
> the USB 3 host controller in BIOS allowed it to boot, though
> obviously without the xhci. xhci was just recently added to GENERIC
> which is why you are seeing it now.

cvs log says:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/usb/xhci.c#rev1.1
>> Add work-in-progress xhci(4) driver code.

and the author said:
http://mail-index.netbsd.org/source-changes-d/2013/10/23/msg006179.html
>> I would like to state at this time that I am not directly responsible for
>> any unexpected whatevers due to this change.

So adding xhci into GENERIC looks a bit stupid and
it should be reverted.

---
Izumi Tsutsui


Re: amd64 hangs during boot

2013-10-27 Thread Gary Duzan
In Message <526cd990.6070...@msys.ch>,
   Marc Balmer wrote:

=>Kernel from freshly built sources from this morning on amd64 hangs
=>during boot.
=>
=>Last message:
=>
=>xhci0: xhci_open addr 0 depth 0 port 0 speed 3

   I got that when I tried booting a -current installer. Disabling
the USB 3 host controller in BIOS allowed it to boot, though
obviously without the xhci. xhci was just recently added to GENERIC
which is why you are seeing it now.

Gary Duzan




amd64 hangs during boot

2013-10-27 Thread Marc Balmer
Kernel from freshly built sources from this morning on amd64 hangs
during boot.

Last message:

xhci0: xhci_open addr 0 depth 0 port 0 speed 3