Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2008 20:12:30 +0100
From:      "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-current@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: USB4BSD release candidate number 3 - request for review
Message-ID:  <20081106191230.GA47600@wep4035.physik.uni-wuerzburg.de>
In-Reply-To: <200811061910.21994.hselasky@c2i.net>
References:  <200810251925.47273.hselasky@c2i.net> <20081106141323.GA4489@wep4035.physik.uni-wuerzburg.de> <20081106183720.4aa1a83f@ernst.jennejohn.org> <200811061910.21994.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 06, 2008 at 07:10:20PM +0100, Hans Petter Selasky wrote:
> On Thursday 06 November 2008, Gary Jennejohn wrote:
> > On Thu, 6 Nov 2008 15:13:23 +0100
> > "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> wrote:
> >
> > [big snip]
Exactly here was output from kldstat :)

> >
> > > I am having quite reliable panics with the new stack when I insert
> > > usb stick (actually during the first access to it).
> > > Trying to collect more information I haven't managed to produce
> > > memory dump. Is it working on amd64 SMP CURRENT? I remember there were
> > > some complains about it.
> >
Here I was actually asking about kernel memory dumps...
Will try harder this time.

> > It works just fine for me with SMP amd64.  I tested several USB sticks
> > and saw absolutely no problems.  I have not tried it with a real
> > external USB disk.
> >
> > It also works with my FTDI USB-to-serial adapters.
> >
> > I do not use any USB modules.
> 
> Hi Alexey,
> 
> Maybe you are using the ATA interface for USB?
> 
> Could you do a "kldstat" ?
> 
Here it is:

[wep4035] ~> kldstat 
Id Refs Address            Size     Name
 1   46 0xffffffff80100000 8daac8   kernel (/boot/kernel/kernel)
 2    1 0xffffffff809db000 21ed8    snd_hda.ko (/boot/kernel/snd_hda.ko)
 3    2 0xffffffff809fd000 749c8    sound.ko (/boot/kernel/sound.ko)
 4    1 0xffffffff80a72000 3090     speaker.ko (/boot/kernel/speaker.ko)
 5    1 0xffffffff80a76000 59e8     ichsmb.ko (/boot/kernel/ichsmb.ko)
 6    2 0xffffffff80a7c000 2440     smbus.ko (/boot/kernel/smbus.ko)
 7    1 0xffffffff80a7f000 fa10     i915.ko (/boot/kernel/i915.ko)
 8    2 0xffffffff80a8f000 21c48    drm.ko (/boot/kernel/drm.ko)
 9    1 0xffffffff80ab1000 e648     usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko)
10    3 0xffffffff80ac0000 5168     usb2_controller.ko (/boot/kernel/usb2_controller.ko)
11    8 0xffffffff80ac6000 5c548    usb2_core.ko (/boot/kernel/usb2_core.ko)
12    1 0xffffffff80b23000 125a0    usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko)
13    1 0xffffffff80b36000 4e48     usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko)
14    2 0xffffffff80b3b000 560      usb2_input.ko (/boot/kernel/usb2_input.ko)
15    1 0xffffffff80b3c000 ff08     usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko)
16    2 0xffffffff80b4c000 570      usb2_storage.ko (/boot/kernel/usb2_storage.ko)
19    1 0xffffffff80c2e000 216      green_saver.ko (/boot/kernel/green_saver.ko)

Actually here what I have:

[wep4035] ~> cat /boot/loader.conf 
loader_logo="beastie"
ichsmb_load="YES"
snd_hda_load="YES"
speaker_load="YES"
i915_load="YES"
usb2_controller_uhci_load="YES"
usb2_controller_ehci_load="YES"
usb2_input_ms_load="YES"
usb2_storage_mass_load="YES"

> Or try:
> 
> kldunload usb2_storage_ata
> 
> And:
> 
> kldload usb2_storage_mass
> 
Now I will play with offending usb stick and with another one
(actually microSDHC-usb adapter).

Can it be that some modules are automatically loaded when I insert usb stick?

Alexey.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081106191230.GA47600>