Re: [gentoo-laptop] Re: [gentoo-user] USB freezes the machine...

2007-01-07 Thread Strong Cypher

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You have no prob on gentoo-livecd ??? so ... kernel on live aren't
gentoo-sources ... but gentoo-developpement-sources I think ...

just check the kernel version of the livecd ...

so, try to install vanilla sources with the same conf than gentoo-sources
...

just do make conf and move to usb section ... uncheck all dangerous unstable
option

make your kernel and try again

if you want, I could check your conf myself, just send me your config.cfg, I
will see if they is some strange option check in kernel

see ya
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1

iD8DBQFFoVjYEg3iyspSWPARAvR3AJ4oY9sPUmHOxBZAxOEJrS1SwYIFQACfdyVy
pTAUVrzv0C8MqN5yIO34vk8=
=CEga
-END PGP SIGNATURE-


Re: [gentoo-laptop] Re: [gentoo-user] USB freezes the machine...

2007-01-07 Thread Marco Calviani

Hi,


So just try same think with "sync" and tell us if it work ...


no same situation even with sync. After some time it get freezed.


Perhaps a bug on kernel too, try another kernel : vanilla-sources for
example
vanilla has no gentoo patch, perhaps a bug in this, need to try
Do you use genkernel ? or make kernel conf yourself ?


Well i've not tried with a vanilla kernel, since i think this problem
is due to some kernel bug since i've tested the setup with a
non-unistalled old kernel 2.6.15 at it has the same behaviour.

I've tested also all the possibilites you've told me but still no
result. I've used a bit the gentoo live-cd and the problem didn't
showed up.


let's try all this so

have fun

;-)

regards,
m
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-laptop] Re: [gentoo-user] USB freezes the machine...

2007-01-04 Thread Strong Cypher

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ok I see

So just try same think with "sync" and tell us if it work ...

Perhaps a bug on kernel too, try another kernel : vanilla-sources for
example
vanilla has no gentoo patch, perhaps a bug in this, need to try

Do you use genkernel ? or make kernel conf yourself ?

when you do lspci, they give you information of module use for your
controller, OHCI for you so ... just unload uhci / ehci / ohci

load ohci

plug the disk, try mount normally, do transfert ... you will be at usb1
speed ... so slow well ...

umount disk, unplug disk, load ehci module, plug the disk

see dmesg on console "CTRL + ALT + F1", and dmesg command

See somethink strange ?

so ... mount and try again .. does it crash ? if yes, reboot, and redo same
fink, with "sync" mount option

does it crash ? speed could be slower (twice slower than async)

for me I'm using that, and it work well, for my disk, but now I don't need
it anymore, usb work well with my disk, but sync help me on starting with
older kernel version

let's try all this so

have fun
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1

iD8DBQFFnVb8Eg3iyspSWPARAvybAJ4wjY8tmn+vdnFjgUJn/aDiqJHt8wCdFpVp
t91F/43gwGmz6wq3DeJBTw4=
=qSiL
-END PGP SIGNATURE-


Re: [gentoo-laptop] Re: [gentoo-user] USB freezes the machine...

2007-01-04 Thread Devon Miller

On 1/3/07, Strong Cypher <[EMAIL PROTECTED]> wrote:


Could you try to mount device with "sync" option ?


It's strange, your lspci show you have uhci usb controller
and lspci -v said you have ohci controller ...


They're from 2 different machines. The lspci was from the freezing
laptop, but the lsusb was from another system (Debian) where the usb
drive works. I wanted to confirm the USB version (2.0) and that the
drive was self powered and not trying to pull too much power from the
laptop.

dcm
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB freezes the machine...

2007-01-03 Thread Richard Fish

On 1/1/07, Marco Calviani <[EMAIL PROTECTED]> wrote:

# uname -a
Linux  2.6.18-gentoo-r4 #1 PREEMPT Tue Dec 19 12:25:55 CET 2006 i686
Intel(R) Pentium(R) M processor 1.80GHz GenuineIntel GNU/Linux

and as you can see i'm using gentoo-sources.


It looks like this was upgraded recently too, no?  Did it work at one
point with this kernel?

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-laptop] Re: [gentoo-user] USB freezes the machine...

2007-01-03 Thread Strong Cypher

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Could you try to mount device with "sync" option ?


It's strange, your lspci show you have uhci usb controller
and lspci -v said you have ohci controller ...

do  you have a usb2 pci card ?

if yes, you will need ohci + uhci to support usb and ehci for usb 2

try your device on each one (mothercard usb, and pci usb)

try with sync option (slower, but safer :) )

say us the result
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1

iD8DBQFFnDl1Eg3iyspSWPARApZVAJ9E5mcWtExTwAfC14isC+NLsf3bggCfbva1
YU4GUR+scaqS4QNRsq3b56c=
=1XUm
-END PGP SIGNATURE-


Re: [gentoo-laptop] Re: [gentoo-user] USB freezes the machine...

2007-01-03 Thread Marco Calviani

Hi Devon,


Please run lsusb -v on the Debian system with the USB drive installed.


this is the relevant result of lsusb -v in the Debian system:

Bus 004 Device 004: ID 0402:5642 ALi Corp.
Device Descriptor:
 bLength18
 bDescriptorType 1
 bcdUSB   2.00
 bDeviceClass0 (Defined at Interface level)
 bDeviceSubClass 0
 bDeviceProtocol 0
 bMaxPacketSize064
 idVendor   0x0402 ALi Corp.
 idProduct  0x5642
 bcdDevice1.00
 iManufacturer   0
 iProduct1 USB 2.0 Storage Device
 iSerial 2 12345678901234567890
 bNumConfigurations  1
 Configuration Descriptor:
   bLength 9
   bDescriptorType 2
   wTotalLength   32
   bNumInterfaces  1
   bConfigurationValue 1
   iConfiguration  0
   bmAttributes 0xc0
 Self Powered
   MaxPower0mA
   Interface Descriptor:
 bLength 9
 bDescriptorType 4
 bInterfaceNumber0
 bAlternateSetting   0
 bNumEndpoints   2
 bInterfaceClass 8 Mass Storage
 bInterfaceSubClass  6 SCSI
 bInterfaceProtocol 80 Bulk (Zip)
 iInterface  0
 Endpoint Descriptor:
   bLength 7
   bDescriptorType 5
   bEndpointAddress 0x01  EP 1 OUT
   bmAttributes2
 Transfer TypeBulk
 Synch Type   None
 Usage Type   Data
   wMaxPacketSize 0x0200  1x 512 bytes
   bInterval   0
 Endpoint Descriptor:
   bLength 7
   bDescriptorType 5
   bEndpointAddress 0x82  EP 2 IN
   bmAttributes2
 Transfer TypeBulk
 Synch Type   None
 Usage Type   Data
   wMaxPacketSize 0x0200  1x 512 bytes
   bInterval   1
Device Qualifier (for other device speed):
 bLength10
 bDescriptorType 6
 bcdUSB   2.00
 bDeviceClass0 (Defined at Interface level)
 bDeviceSubClass 0
 bDeviceProtocol 0
 bMaxPacketSize064
 bNumConfigurations  1
Device Status: 0x0001
 Self Powered

Bus 004 Device 001: ID :
Device Descriptor:
 bLength18
 bDescriptorType 1
 bcdUSB   2.00
 bDeviceClass9 Hub
 bDeviceSubClass 0 Unused
 bDeviceProtocol 1 Single TT
 bMaxPacketSize064
 idVendor   0x
 idProduct  0x
 bcdDevice2.06
 iManufacturer   3 Linux 2.6.17-2-686 ehci_hcd
 iProduct2 EHCI Host Controller
 iSerial 1 :00:03.3
 bNumConfigurations  1
 Configuration Descriptor:
   bLength 9
   bDescriptorType 2
   wTotalLength   25
   bNumInterfaces  1
   bConfigurationValue 1
   iConfiguration  0
   bmAttributes 0xe0
 Self Powered
 Remote Wakeup
   MaxPower0mA
   Interface Descriptor:
 bLength 9
 bDescriptorType 4
 bInterfaceNumber0
 bAlternateSetting   0
 bNumEndpoints   1
 bInterfaceClass 9 Hub
 bInterfaceSubClass  0 Unused
 bInterfaceProtocol  0 Full speed hub
 iInterface  0
 Endpoint Descriptor:
   bLength 7
   bDescriptorType 5
   bEndpointAddress 0x81  EP 1 IN
   bmAttributes3
 Transfer TypeInterrupt
 Synch Type   None
 Usage Type   Data
   wMaxPacketSize 0x0002  1x 2 bytes
   bInterval  12
Hub Descriptor:
 bLength  11
 bDescriptorType  41
 nNbrPorts 8
 wHubCharacteristic 0x000a
   No power switching (usb 1.0)
   Per-port overcurrent protection
   TT think time 8 FS bits
 bPwrOn2PwrGood   10 * 2 milli seconds
 bHubContrCurrent  0 milli Ampere
 DeviceRemovable0x00 0x00
 PortPwrCtrlMask0xff 0xff
Hub Port Status:
  Port 1: .0100 power
  Port 2: .
  Port 3: .0100 power
  Port 4: .0100 power
  Port 5: .
  Port 6: .0100 power
  Port 7: .0503 highspeed power enable connect
  Port 8: .0503 highspeed power enable connect
Device Status: 0x0003
 Self Powered
 Remote Wakeup Enabled

Bus 003 Device 001: ID :
Device Descriptor:
 bLength18
 bDescriptorType 1
 bcdUSB   1.10
 bDeviceClass9 Hub
 bDeviceSubClass 0 Unused
 bDeviceProtocol 0 Full speed hub
 bMaxPacketSize064
 idVendor   0x
 idProduct  0x
 bcdDevice2.06
 iManufacturer   3 Linux 2.6.17-2-686 ohci_hcd
 iProduct2 OHCI Host Controller
 iSerial  

Re: [gentoo-user] USB freezes the machine...

2007-01-03 Thread Marco Calviani

Hi,


Does it work on other system ? like freebsd (live cd => freebies), or
Windows (M$$) ???


yes they are working an a Win machine and on a machine with Debian stable (3.1).


Could you give us the model of your material ? I don't remember, it's a hard
drive ?


yes it's an hard drive. The fact is i'm experiencing freezing with the
two external HD i own... they are really different, one is a Lacie HD
and the other is a 2.5" HD contained in an external case.

This is my lspci -v regarding USB:

00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) (prog-if 00
[UHCI])
   Subsystem: Acer Incorporated [ALI] Unknown device 0051
   Flags: bus master, medium devsel, latency 0, IRQ 6
   I/O ports at 1800 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) (prog-if 00
[UHCI])
   Subsystem: Acer Incorporated [ALI] Unknown device 0051
   Flags: bus master, medium devsel, latency 0, IRQ 6
   I/O ports at 1820 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) (prog-if 00
[UHCI])
   Subsystem: Acer Incorporated [ALI] Unknown device 0051
   Flags: bus master, medium devsel, latency 0, IRQ 6
   I/O ports at 1840 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M)
USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
   Subsystem: Acer Incorporated [ALI] Unknown device 0051
   Flags: bus master, medium devsel, latency 0, IRQ 10
   Memory at d000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [50] Power Management version 2
   Capabilities: [58] Debug port


Regards,
m
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB freezes the machine...

2007-01-02 Thread Strong Cypher

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

unfortunatly you can use dmesg but if system hang up ...

Does it work on other system ? like freebsd (live cd => freebies), or
Windows (M$$) ???

Could you give us the model of your material ? I don't remember, it's a hard
drive ?

Send us their

lspci -v

and

exact information of your device

thx
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1

iD8DBQFFmnJEEg3iyspSWPARAgppAJ97X20ImPcV7Yq9emcIgsU1IvxDiQCdEwHG
lKPSXCJ2CrQ/wcm6bCZ10fI=
=qSgv
-END PGP SIGNATURE-


Re: [gentoo-user] USB freezes the machine...

2007-01-02 Thread Marco Calviani

Hi,


so ... still hang up ?


well unfortunately it gives the same result.
Is there a way to log the activity of the USB devices?

Regards,
m
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB freezes the machine...

2007-01-02 Thread Strong Cypher

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just do this

rmmod all module concerning usb : ehci uhci ohci

ehci = usb 2 extension

uhci/ohci = usb support (1.0) depends on material (via or intel)

so ...

plug your material

modprobe uhci ... nothing done, rmmod uhci, modprobe ohci ..

try the material

if all work, add usb2 support

modprobe ehci

so ... still hang up ?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1

iD8DBQFFmjf6Eg3iyspSWPARAgqOAJ4uhL25MSrSBzFbKGOaj3IWvnQbpwCeK4cL
kHM1gOzUW9hRJQnpHonakPE=
=i8pt
-END PGP SIGNATURE-


Re: [gentoo-user] USB freezes the machine...

2007-01-02 Thread Marco Calviani

Hi all,


I seem to recall that loading multiple USB controller drivers can
cause problems on some systems.  You might try unloading all of these
with rmmod, then loading just one, and see if your drive will work.  I
believe for most systems the ehci_hcd driver would be the preferred
one.

Posting your dmesg output might also help.



It's more that one year that i have gentoo installed on my laptop and
other desktop computers. Everything was working very well with these
three controller 'til now In my system uhci is required by the USB
mouse for it to work. I've tried to unload ohci (so keeping ehci (USB
2.0) and uhci (USB 1.1)) but the system keeps freezing.

As the attachment you can find my dmesg.

Cheers,
m


out_dmesg
Description: Binary data


Re: [gentoo-user] USB freezes the machine...

2007-01-01 Thread Boyd Stephen Smith Jr.
On Monday 01 January 2007 10:01, "Richard Fish" <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] USB freezes the machine...':
> On 1/1/07, Marco Calviani <[EMAIL PROTECTED]> wrote:
> > If it useful, this is my lsmod:
> > ohci_hcd   21636  0
> > uhci_hcd   24648  0
> > ehci_hcd   33160  0
>
> I seem to recall that loading multiple USB controller drivers can
> cause problems on some systems.

I know my system (oddly enough) *requires* two different drivers, but that 
might just be my particular pieces of hardware.

In any case, I think at least one of these is redundant.

> You might try unloading all of these 
> with rmmod, then loading just one, and see if your drive will work.

Agreed.

> I 
> believe for most systems the ehci_hcd driver would be the preferred
> one.

Depends on your chipset.  I believe either lspci and/or lsusb should tell 
you which driver(s) you need.

> Posting your dmesg output might also help.

Agreed.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgp48WcGlrweu.pgp
Description: PGP signature


Re: [gentoo-user] USB freezes the machine...

2007-01-01 Thread Strong Cypher

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ohci and uhci is for via / intel ... in kernel configuration they give info,
that depends of your computer
they is another section for firewire

I think it's better to make a kernel with just your material configure in
it, nothing more, and no module so :) except for somethink like iptables ...
but I prefer this way

sometime a module could make some mistake in other module and so...

If you just put your computer material in kernel config, so you shouldn't
have any problem

I do it every time, I prefer that :)

if I add somethink, I just put new think in my kernel, and do install /
reboot ... so take 30 sec, nothing more

so, have fun
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1

iD8DBQFFmTxpEg3iyspSWPARAt4DAJ4nZB1KGLZ3cyqFG9RuBNi2ts7s2gCcCDSU
yRMj64Bi6Qg2IJCHddI2W5A=
=MVM3
-END PGP SIGNATURE-


Re: [gentoo-user] USB freezes the machine...

2007-01-01 Thread Raymond Lewis Rebbeck
On Tuesday, 2 January 2007 3:13, Michal 'vorner' Vaner wrote:
> On Mon, Jan 01, 2007 at 09:01:22AM -0700, Richard Fish wrote:
> > On 1/1/07, Marco Calviani <[EMAIL PROTECTED]> wrote:
> > >If it useful, this is my lsmod:
> > >ohci_hcd   21636  0
> > >uhci_hcd   24648  0
> > >ehci_hcd   33160  0
> >
> > I seem to recall that loading multiple USB controller drivers can
> > cause problems on some systems.  You might try unloading all of these
> > with rmmod, then loading just one, and see if your drive will work.  I
> > believe for most systems the ehci_hcd driver would be the preferred
> > one.
>
> AFAIK ohci is for USB 1.1, uhci for 2.0 and ehci is firewire, I have
> them loaded all too. But I may be wrong

Actually ohci and uhci are both for USB 1.1 (two different sorts of 
controllers), ehci is USB 2.0 and firewire you'll find in the IEEE1394 driver 
section.

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB freezes the machine...

2007-01-01 Thread Michal 'vorner' Vaner
On Mon, Jan 01, 2007 at 09:01:22AM -0700, Richard Fish wrote:
> On 1/1/07, Marco Calviani <[EMAIL PROTECTED]> wrote:
> >If it useful, this is my lsmod:
> >ohci_hcd   21636  0
> >uhci_hcd   24648  0
> >ehci_hcd   33160  0
> 
> I seem to recall that loading multiple USB controller drivers can
> cause problems on some systems.  You might try unloading all of these
> with rmmod, then loading just one, and see if your drive will work.  I
> believe for most systems the ehci_hcd driver would be the preferred
> one.
> 
AFAIK ohci is for USB 1.1, uhci for 2.0 and ehci is firewire, I have
them loaded all too. But I may be wrong

-- 
There's the light at the end of the the Windows.

   -- Havlik Denis

Michal 'vorner' Vaner


pgpUkdOrKg8hV.pgp
Description: PGP signature


Re: [gentoo-user] USB freezes the machine...

2007-01-01 Thread Richard Fish

On 1/1/07, Marco Calviani <[EMAIL PROTECTED]> wrote:

If it useful, this is my lsmod:
ohci_hcd   21636  0
uhci_hcd   24648  0
ehci_hcd   33160  0


I seem to recall that loading multiple USB controller drivers can
cause problems on some systems.  You might try unloading all of these
with rmmod, then loading just one, and see if your drive will work.  I
believe for most systems the ehci_hcd driver would be the preferred
one.

Posting your dmesg output might also help.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB freezes the machine...

2007-01-01 Thread Marco Calviani

Hi,

On 1/1/07, Strong Cypher <[EMAIL PROTECTED]> wrote:

What are your kernel version ? (uname -a)
What are your kernel package ? (gentoo-sources ???)

So perhaps a bug with a kernel you install recently

I have so hardware, that bug awfully with certain version of kernel, and do
hang up after a mount ...

so perhaps search in this way



# uname -a
Linux  2.6.18-gentoo-r4 #1 PREEMPT Tue Dec 19 12:25:55 CET 2006 i686
Intel(R) Pentium(R) M processor 1.80GHz GenuineIntel GNU/Linux

and as you can see i'm using gentoo-sources.

Effectively i experience the freeze after the mount of the USB device
(please note that the mouse is working correcly!!)

Regards,
m
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB freezes the machine...

2007-01-01 Thread Marco Calviani

Hi Richard,


Marco, if you suspect this at all, you can set RC_COLDPLUG=no in
/etc/conf.d/rc to completely disable module loading by udev.



actually the variable is set that way with RC_COLDPLUG=no. I've tried
with similar USB drives, and the behaviour is the same. I've tried to
blacklist again the module usb-uhci that was in the
/etc/hotplug/blacklist (now not read anymore) in the
/etc/modules/my-aliases file, but the result is the same.

If it useful, this is my lsmod:

Module  Size  Used by
appletalk  35376  2
ipx26732  2
p8022   2368  1 ipx
psnap   4356  2 appletalk,ipx
llc 7956  2 p8022,psnap
p8023   2112  1 ipx
radeon120224  2
drm84888  3 radeon
pcmcia 39676  6
yenta_socket   27468  8
rsrc_nonstatic 13440  1 yenta_socket
pcmcia_core42064  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_pcm_oss45600  0
snd_mixer_oss  18176  2 snd_pcm_oss
snd_seq_dummy   3780  0
snd_seq_oss34816  0
snd_seq_midi_event  7872  1 snd_seq_oss
snd_seq54224  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device  8396  3 snd_seq_dummy,snd_seq_oss,snd_seq
rtc14004  0
shfs   55184  0
af_packet  22472  4
kqemu 107908  0
psmouse40904  0
evdev  10048  1
rfcomm 39708  0
l2cap  25156  5 rfcomm
bluetooth  54564  4 rfcomm,l2cap
snd_intel8x0   33564  2
snd_ac97_codec 96800  1 snd_intel8x0
snd_ac97_bus2304  1 snd_ac97_codec
snd_pcm82696  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer  24900  2 snd_seq,snd_pcm
snd53796  11
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore  10528  2 snd
snd_page_alloc 10312  2 snd_intel8x0,snd_pcm
mousedev   11872  1
button  6544  0
video  15236  0
fan 4740  0
thermal13512  0
battery 9604  0
ac  5124  0
ipw2200   148744  0
ieee80211  34504  1 ipw2200
ieee80211_crypt_ccmp 8256  0
ieee80211_crypt_tkip11648  0
ieee80211_crypt_wep 5568  0
ieee80211_crypt 6784  4
ieee80211,ieee80211_crypt_ccmp,ieee80211_crypt_tkip,ieee80211_crypt_wep
speedstep_centrino  8464  0
tg3   110468  0
ide_cd 41120  0
cdrom  38432  1 ide_cd
unix   29104  379
e1000 124992  0
xfs   600692  1
nfs   241612  0
lockd  62728  1 nfs
sunrpc160060  2 nfs,lockd
jfs   195140  0
reiserfs  269828  0
ext2   69384  0
dm_mirror  4  0
dm_mod 58616  1 dm_mirror
sbp2   23880  0
ohci1394   36464  0
ieee1394  100472  2 sbp2,ohci1394
ohci_hcd   21636  0
uhci_hcd   24648  0
usb_storage66496  0
scsi_mod  139720  2 sbp2,usb_storage
usbhid 42272  0
ehci_hcd   33160  0
usbcore   132548  6 ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd

Regards,
m
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB freezes the machine...

2006-12-31 Thread Richard Fish

On 12/31/06, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:

On Sunday 31 December 2006 13:12, "Richard Fish" <[EMAIL PROTECTED]>
wrote about 'Re: [gentoo-user] USB freezes the machine...':
> On 12/31/06, Marco Calviani <[EMAIL PROTECTED]> wrote:
> >  some days ago i've upgraded to udev-103 (stable version). Since
> > then i've experienced complete freezes of the machine (nothing
> > responds, even external ping on the network) when USB devices are
> > mounted.
>
> All udev does is create device nodes...it cannot effect the operation
> of the device or cause the system to hang.

Newer versions of udev (particularly 103) can also load kernel modules,
which definitely can effect the operation of the device and can cause the
system to hang.


Well udev can load modules, but if that causes the system to hang, it
is almost certainly a bug in that module.

Marco, if you suspect this at all, you can set RC_COLDPLUG=no in
/etc/conf.d/rc to completely disable module loading by udev.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB freezes the machine...

2006-12-31 Thread Boyd Stephen Smith Jr.
On Sunday 31 December 2006 13:12, "Richard Fish" <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] USB freezes the machine...':
> On 12/31/06, Marco Calviani <[EMAIL PROTECTED]> wrote:
> >  some days ago i've upgraded to udev-103 (stable version). Since
> > then i've experienced complete freezes of the machine (nothing
> > responds, even external ping on the network) when USB devices are
> > mounted.
>
> All udev does is create device nodes...it cannot effect the operation
> of the device or cause the system to hang.

Newer versions of udev (particularly 103) can also load kernel modules, 
which definitely can effect the operation of the device and can cause the 
system to hang.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgpGdYVeARcx9.pgp
Description: PGP signature


Re: [gentoo-user] USB freezes the machine...

2006-12-31 Thread Richard Fish

On 12/31/06, Marco Calviani <[EMAIL PROTECTED]> wrote:

Hi list,
 some days ago i've upgraded to udev-103 (stable version). Since
then i've experienced complete freezes of the machine (nothing
responds, even external ping on the network) when USB devices are
mounted. In case nothing is connected to the USB drive the machine can
stay online without *any* freeze.
The only thing i've done is to create local udev rules to facilitate
the mounting of these devices: this is an example of its structure. As
you know as of udev-089 some keyword has changed (as SYSFS--> ATTRS).
Before this upgrade everything was working correctly.


All udev does is create device nodes...it cannot effect the operation
of the device or cause the system to hang.

I suspect a hardware problem appeared at the same time as your update.
What if you unplug the device while the system is hung?  Does it
clear up?  Have you tried other USB disks?  How about other USB
devices, like printers or scanners?

-Richard
--
gentoo-user@gentoo.org mailing list