Hi... I have an ubuntu running on a Dell D600 with linux-2.6.22-rc7

Following "Steps to reproduce" worked just fine with me.



On 7/16/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> On Mon, 16 Jul 2007 15:26:07 -0700 (PDT)
> [EMAIL PROTECTED] wrote:
>
> > http://bugzilla.kernel.org/show_bug.cgi?id=8770
> >
> >            Summary: Regression: hotplug events for usb-storage broken in
> >                     2.6.22
> >            Product: Drivers
> >            Version: 2.5
> >      KernelVersion: 2.6.22
> >           Platform: All
> >         OS/Version: Linux
> >               Tree: Mainline
> >             Status: NEW
> >           Severity: normal
> >           Priority: P1
> >          Component: USB
> >         AssignedTo: [EMAIL PROTECTED]
> >         ReportedBy: [EMAIL PROTECTED]
> >
> >
> > Most recent kernel where this bug did not occur: 2.6.21
> > Distribution: Fedora 7
> > Hardware Environment:
> >
> > [EMAIL PROTECTED] linux-2.6.22]$ cat /proc/cpuinfo
> > processor       : 0
> > vendor_id       : GenuineIntel
> > cpu family      : 15
> > model           : 4
> > model name      : Intel(R) Celeron(R) CPU 2.80GHz
> > stepping        : 9
> > cpu MHz         : 2800.507
> > cache size      : 256 KB
> > fdiv_bug        : no
> > hlt_bug         : no
> > f00f_bug        : no
> > coma_bug        : no
> > fpu             : yes
> > fpu_exception   : yes
> > cpuid level     : 5
> > wp              : yes
> > flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> > cmov
> > pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc
> > pni monitor ds_cpl tm2 cid cx16 xtpr lahf_lm
> > bogomips        : 5604.47
> > clflush size    : 64
> >
> >
> > Software Environment:
> >
> > [EMAIL PROTECTED] linux-2.6.22]$ sh scripts/ver_linux
> > If some fields are empty or look unusual you may have an old version.
> > Compare to the current minimal requirements in Documentation/Changes.
> >
> > Linux srv64.palosanto.com 2.6.22 #1 PREEMPT Mon Jul 16 15:47:10 ECT 2007 
> > i686
> > i686 i386 GNU/Linux
> >
> > Gnu C                  4.1.2
> > Gnu make               3.81
> > binutils               2.17.50.0.12-4
> > util-linux             2.13-pre7
> > mount                  2.13-pre7
> > module-init-tools      3.3-pre11
> > e2fsprogs              1.39
> > pcmciautils            014
> > quota-tools            3.14.
> > PPP                    2.4.4
> > Linux C Library        > libc.2.6
> > Dynamic linker (ldd)   2.6
> > Procps                 3.2.7
> > Net-tools              1.60
> > Kbd                    1.12
> > oprofile               0.9.2
> > Sh-utils               6.9
> > udev                   106
> > wireless-tools         28
> > Modules Loaded         vfat fat usb_storage hidp rfcomm l2cap bluetooth
> > dm_mirror dm_multipath dm_mod video sbs button dock battery ac ipv6 lp loop
> > snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event 8139cp snd_seq
> > snd_seq_device snd_pcm_oss 8139too mii snd_mixer_oss snd_pcm parport_pc 
> > parport
> > snd_timer snd soundcore rtc_cmos serio_raw i2c_piix4 snd_page_alloc i2c_core
> > sr_mod cdrom sg pata_atiixp sata_sil ata_generic libata sd_mod scsi_mod ext3
> > jbd mbcache ehci_hcd ohci_hcd uhci_hcd
> > [EMAIL PROTECTED] linux-2.6.22]$
> >
> > Problem Description:
> >
> > With distro kernel (2.6.21-1.3228.fc7) hotplug events work normally.
> > gnome-volume-manager works normally with haldaemon and udevd.
> >
> > With 2.6.22, kernel does not fire required hotplug event on insertion of USB
> > flash drive. Apparently the stick is detected and no obvious errors are
> > displayed in the log, but it is never automounted, even with haldaemon, 
> > udevd,
> > and gnome-volume-manager running.
> >
> > A workaround is to manually rmmod usb-storage, then modprobe usb-storage ,
> > without removing the stick. Then event gets fired and stick is 
> > "automounted".
> >
> > Hotplug events for IDE CD-ROM (/dev/scd0) work normally even in 2.6.22.
> >
> > This is what appears in the log on 2.6.22:
> >
> > On plugin:
> >
> > Jul 16 16:49:59 srv64 kernel: usb 3-2: new high speed USB device using 
> > ehci_hcd
> > and address 2
> > Jul 16 16:49:59 srv64 kernel: usb 3-2: configuration #1 chosen from 1 choice
> > Jul 16 16:49:59 srv64 kernel: Initializing USB Mass Storage driver...
> > Jul 16 16:49:59 srv64 kernel: scsi6 : SCSI emulation for USB Mass Storage
> > devices
> > Jul 16 16:49:59 srv64 kernel: usbcore: registered new interface driver
> > usb-storage
> > Jul 16 16:49:59 srv64 kernel: USB Mass Storage support registered.
> > Jul 16 16:50:04 srv64 kernel: scsi 6:0:0:0: Direct-Access     Corsair  Flash
> > Voyager    1100 PQ: 0 ANSI: 0 CCS
> > Jul 16 16:50:04 srv64 kernel: sd 6:0:0:0: [sdb] 990208 512-byte hardware
> > sectors (507 MB)
> > Jul 16 16:50:04 srv64 kernel: sd 6:0:0:0: [sdb] Write Protect is off
> > Jul 16 16:50:04 srv64 kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write
> > through
> > Jul 16 16:50:04 srv64 kernel: sd 6:0:0:0: [sdb] 990208 512-byte hardware
> > sectors (507 MB)
> > Jul 16 16:50:04 srv64 kernel: sd 6:0:0:0: [sdb] Write Protect is off
> > Jul 16 16:50:04 srv64 kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write
> > through
> > Jul 16 16:50:04 srv64 kernel:  sdb: sdb1
> > Jul 16 16:50:04 srv64 kernel: sd 6:0:0:0: [sdb] Attached SCSI removable disk
> > Jul 16 16:50:04 srv64 kernel: sd 6:0:0:0: Attached scsi generic sg2 type 0
> >
> > rmmod usb-storage:
> >
> > Jul 16 16:51:12 srv64 kernel: usbcore: deregistering interface driver
> > usb-storage
> >
> > modprobe usb-storage:
> >
> > Jul 16 16:51:40 srv64 kernel: Initializing USB Mass Storage driver...
> > Jul 16 16:51:40 srv64 kernel: scsi7 : SCSI emulation for USB Mass Storage
> > devices
> > Jul 16 16:51:40 srv64 kernel: usbcore: registered new interface driver
> > usb-storage
> > Jul 16 16:51:40 srv64 kernel: USB Mass Storage support registered.
> > Jul 16 16:51:51 srv64 kernel: usb 3-2: reset high speed USB device using
> > ehci_hcd and address 2
> > Jul 16 16:51:51 srv64 kernel: scsi 7:0:0:0: Direct-Access     Corsair  Flash
> > Voyager    1100 PQ: 0 ANSI: 0 CCS
> > Jul 16 16:51:51 srv64 kernel: sd 7:0:0:0: [sdb] 990208 512-byte hardware
> > sectors (507 MB)
> > Jul 16 16:51:51 srv64 kernel: sd 7:0:0:0: [sdb] Write Protect is off
> > Jul 16 16:51:51 srv64 kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write
> > through
> > Jul 16 16:51:51 srv64 kernel: sd 7:0:0:0: [sdb] 990208 512-byte hardware
> > sectors (507 MB)
> > Jul 16 16:51:51 srv64 kernel: sd 7:0:0:0: [sdb] Write Protect is off
> > Jul 16 16:51:51 srv64 kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write
> > through
> > Jul 16 16:51:51 srv64 kernel:  sdb: sdb1
> > Jul 16 16:51:51 srv64 kernel: sd 7:0:0:0: [sdb] Attached SCSI removable disk
> > Jul 16 16:51:51 srv64 kernel: sd 7:0:0:0: Attached scsi generic sg2 type 0
> > Jul 16 16:51:52 srv64 hald: mounted /dev/sdb1 on behalf of uid 500
> >
> >
> > Steps to reproduce:
> >
> > Run gnome-volume-manager (already running if gnome-session started)
> > Plug usb stick.
> > Expected: usb stick gets automounted without further intervention, as in 
> > 2.6.21
> > Actual: usb stick does not get automounted. Gets automounted after cycle of
> > rmmod usb-storage && modprobe usb-storage
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> linux-usb-devel@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
>


-- 
Best Regards,

Felipe Balbi
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to