Re: Panic at USB drive plugging in

2013-08-06 Thread Jia-Shiun Li
2013/7/24 下午10:26 於 "Jia-Shiun Li" 寫道: > On Wed, Jul 24, 2013 at 4:02 AM, Alexander Motin wrote: > > cam.k kernel module includes all existing periph drivers in one bundle. > > Loading cam.ko you are probably getting sg driver also, that triggers > > reported issue. You may try to rip out sg wit

Re: Panic at USB drive plugging in

2013-07-24 Thread Jia-Shiun Li
On Wed, Jul 24, 2013 at 4:02 AM, Alexander Motin wrote: > cam.k kernel module includes all existing periph drivers in one bundle. > Loading cam.ko you are probably getting sg driver also, that triggers > reported issue. You may try to rip out sg with single line hack to module's > Makefile. The re

Re: Panic at USB drive plugging in

2013-07-23 Thread Alexander Motin
On 23.07.2013 21:28, Jia-Shiun Li wrote: On Wed, Jul 24, 2013 at 12:13 AM, Alexander Motin wrote: On 23.07.2013 19:07, Hans Petter Selasky wrote: This looks like a CAM/SCSI problem and not directly USB stack problem. It seems crashed inside the CAM sg driver, that is not part of GENERIC kern

Re: Panic at USB drive plugging in

2013-07-23 Thread Jia-Shiun Li
On Wed, Jul 24, 2013 at 12:13 AM, Alexander Motin wrote: > On 23.07.2013 19:07, Hans Petter Selasky wrote: >> This looks like a CAM/SCSI problem and not directly USB stack problem. > > It seems crashed inside the CAM sg driver, that is not part of GENERIC > kernel. Are you using it is some way? >

Re: Panic at USB drive plugging in

2013-07-23 Thread Alexander Motin
On 23.07.2013 19:07, Hans Petter Selasky wrote: On 07/23/13 17:12, Jia-Shiun Li wrote: Hi all, as personal preference I compiled kernel with drivers as module as possible. Recently I found that plugging in USB drives causes kernel to panic. But it does not happen when booting with GENERIC kerne

Re: Panic at USB drive plugging in

2013-07-23 Thread Hans Petter Selasky
On 07/23/13 17:12, Jia-Shiun Li wrote: Hi all, as personal preference I compiled kernel with drivers as module as possible. Recently I found that plugging in USB drives causes kernel to panic. But it does not happen when booting with GENERIC kernel which has USB drivers compiled in. panic scree

Panic at USB drive plugging in

2013-07-23 Thread Jia-Shiun Li
Hi all, as personal preference I compiled kernel with drivers as module as possible. Recently I found that plugging in USB drives causes kernel to panic. But it does not happen when booting with GENERIC kernel which has USB drivers compiled in. panic screenshot: http://goo.gl/pIIDaF back trace: