public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] USB issue
@ 2006-02-01 22:25 Franta
  2006-02-01 22:42 ` Franta
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Franta @ 2006-02-01 22:25 UTC (permalink / raw
  To: gentoo-user

Hi,

that's me onesmore.

Again the things changed were some emerge -u world.

There are no USB disks coming up anymore. Dunno when this issue came up.

I have a digital camera which I connected to my PC. It came up
as /dev/sdaX and due to my USB settings as /dev/psmart.

I have an USB key, which came up as /dev/sdaX and due to my USB settings
as /dev/cruiser.

I did'nt use any of them for half a year or so. Last week I tried to
save some photos to th PC.

There are the messages about connecting the USB device
in /var/log/messages but no device is coming up.

I've tried the same with the USB stick - the same story.

Has something changed with coldplug/hotplug?

Well, I could save the pictures from the camera or exchange data from
the USB stick using Windows. Half a year ago this was possible with
Gentoo too. I'd prefer this possibility ;)

The only thing I've changed was some update world.

THanks for any help
Frank

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-01 22:25 Franta
@ 2006-02-01 22:42 ` Franta
  2006-02-01 23:06 ` Richard Fish
  2006-02-03 20:20 ` Franta
  2 siblings, 0 replies; 20+ messages in thread
From: Franta @ 2006-02-01 22:42 UTC (permalink / raw
  To: gentoo-user

Well some details. Here's the syslog for connecting the USB stick:

Feb  1 23:36:03 frankies usb 2-2: new full speed USB device using
ohci_hcd and address 2
Feb  1 23:36:03 frankies usb 2-2: not running at top speed; connect to a
high speed hub
Feb  1 23:36:03 frankies scsi0 : SCSI emulation for USB Mass Storage
devices
Feb  1 23:36:03 frankies usb-storage: device found at 2
Feb  1 23:36:03 frankies usb-storage: waiting for device to settle
before scanning
Feb  1 23:36:08 frankies Vendor: SanDisk   Model: Cruzer Micro      Rev:
2033
Feb  1 23:36:08 frankies Type:   Direct-Access                      ANSI
SCSI revision: 00
Feb  1 23:36:08 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  1 23:36:08 frankies sda: Write Protect is off
Feb  1 23:36:08 frankies sda: Mode Sense: 02 00 00 00
Feb  1 23:36:08 frankies sda: assuming drive cache: write through
Feb  1 23:36:08 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  1 23:36:08 frankies sda: Write Protect is off
Feb  1 23:36:08 frankies sda: Mode Sense: 02 00 00 00
Feb  1 23:36:08 frankies sda: assuming drive cache: write through
Feb  1 23:36:08 frankies sda: sda1
Feb  1 23:36:08 frankies Attached scsi removable disk sda at scsi0,
channel 0, id 0, lun 0
Feb  1 23:36:08 frankies usb-storage: device scan complete

Seems the hardware is OK.

But ...

frankies ~ # ls /dev/sd*
ls: /dev/sd*: No such file or directory
frankies ~ # 


On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
> Hi,
> 
> that's me onesmore.
> 
> Again the things changed were some emerge -u world.
> 
> There are no USB disks coming up anymore. Dunno when this issue came up.
> 
> I have a digital camera which I connected to my PC. It came up
> as /dev/sdaX and due to my USB settings as /dev/psmart.
> 
> I have an USB key, which came up as /dev/sdaX and due to my USB settings
> as /dev/cruiser.
> 
> I did'nt use any of them for half a year or so. Last week I tried to
> save some photos to th PC.
> 
> There are the messages about connecting the USB device
> in /var/log/messages but no device is coming up.
> 
> I've tried the same with the USB stick - the same story.
> 
> Has something changed with coldplug/hotplug?
> 
> Well, I could save the pictures from the camera or exchange data from
> the USB stick using Windows. Half a year ago this was possible with
> Gentoo too. I'd prefer this possibility ;)
> 
> The only thing I've changed was some update world.
> 
> THanks for any help
> Frank
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-01 22:25 Franta
  2006-02-01 22:42 ` Franta
@ 2006-02-01 23:06 ` Richard Fish
  2006-02-01 23:07   ` Richard Fish
  2006-02-01 23:51   ` Franta
  2006-02-03 20:20 ` Franta
  2 siblings, 2 replies; 20+ messages in thread
From: Richard Fish @ 2006-02-01 23:06 UTC (permalink / raw
  To: gentoo-user

On 2/1/06, Franta <sdoma@karneval.cz> wrote:
> Hi,
>
> that's me onesmore.
>
> Again the things changed were some emerge -u world.
>
> There are no USB disks coming up anymore. Dunno when this issue came up.
>
> I have a digital camera which I connected to my PC. It came up
> as /dev/sdaX and due to my USB settings as /dev/psmart.
>
> I have an USB key, which came up as /dev/sdaX and due to my USB settings
> as /dev/cruiser.
>
> I did'nt use any of them for half a year or so. Last week I tried to
> save some photos to th PC.

There have been a _lot_ of changes in udev, and most likely your
/etc/udev/rules.d/10-local.rules needs some work.  The most
significant is that for vendor/product/etc matches, you now need "=="
instead of just "=".  Also, all rules are matched, unless you use the
last_rule option, although you can use the ":=" syntax for some things
to prevent later rules from overriding your settings.

Here are my key rules:

# usb disk keys
BUS=="usb", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="Flash Disk",
NAME="%k", SYMLINK="usbkey%n"
BUS=="usb", SUBSYSTEM=="block", SYSFS{product}=="Flash Disk",
KERNEL=="sd[a-z]", NAME="%k", SYMLINK="usbkey"

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-01 23:06 ` Richard Fish
@ 2006-02-01 23:07   ` Richard Fish
  2006-02-02 22:17     ` Franta
  2006-02-01 23:51   ` Franta
  1 sibling, 1 reply; 20+ messages in thread
From: Richard Fish @ 2006-02-01 23:07 UTC (permalink / raw
  To: gentoo-user

On 2/1/06, Richard Fish <bigfish@asmallpond.org> wrote:
> On 2/1/06, Franta <sdoma@karneval.cz> wrote:
> There have been a _lot_ of changes in udev, and most likely your

Oh, forgot to mention..."man udev".

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-01 23:06 ` Richard Fish
  2006-02-01 23:07   ` Richard Fish
@ 2006-02-01 23:51   ` Franta
  1 sibling, 0 replies; 20+ messages in thread
From: Franta @ 2006-02-01 23:51 UTC (permalink / raw
  To: gentoo-user

On Wed, 2006-02-01 at 16:06 -0700, Richard Fish wrote:
> On 2/1/06, Franta <sdoma@karneval.cz> wrote:
> > Hi,
> >
> > that's me onesmore.
> >
> > Again the things changed were some emerge -u world.
> >
> > There are no USB disks coming up anymore. Dunno when this issue came up.
> >
> > I have a digital camera which I connected to my PC. It came up
> > as /dev/sdaX and due to my USB settings as /dev/psmart.
> >
> > I have an USB key, which came up as /dev/sdaX and due to my USB settings
> > as /dev/cruiser.
> >
> > I did'nt use any of them for half a year or so. Last week I tried to
> > save some photos to th PC.
> 
> There have been a _lot_ of changes in udev, and most likely your
> /etc/udev/rules.d/10-local.rules needs some work.  The most
> significant is that for vendor/product/etc matches, you now need "=="
> instead of just "=".  Also, all rules are matched, unless you use the
> last_rule option, although you can use the ":=" syntax for some things
> to prevent later rules from overriding your settings.
> 
> Here are my key rules:
> 
> # usb disk keys
> BUS=="usb", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="Flash Disk",
> NAME="%k", SYMLINK="usbkey%n"
> BUS=="usb", SUBSYSTEM=="block", SYSFS{product}=="Flash Disk",
> KERNEL=="sd[a-z]", NAME="%k", SYMLINK="usbkey"
> 
> -Richard
> 

Hmmm, I'll try to remove my custom settings. But just now, at least
the /dev/sd[a-z][0-9] should come up, shouldn't it?


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-01 23:07   ` Richard Fish
@ 2006-02-02 22:17     ` Franta
  2006-02-02 22:55       ` Neil Bothwick
  2006-02-02 23:22       ` Iain Buchanan
  0 siblings, 2 replies; 20+ messages in thread
From: Franta @ 2006-02-02 22:17 UTC (permalink / raw
  To: gentoo-user

Hmmm ... ``man'' thet's what? Can you explain it a bit? ;)

I've tried some help pages to get my custom settings working. Well,
upgrade means your customizings go to hell. We're o Linux or on
Windows?????

Well, we're on Linux. Windows don't know customizings at all. ;) Maybe
I'll start over from scratch over weekend. ... but it's annoying.

Best Gentoo rule: NEVER DO ``EMERGE -U WORLD!!!!!!'' ?

Don't get me wrong but it's a thing happening VERY often. The last
upgrade cut me off from the net. I had to ``ifconfig'' ``route''
manually. Thanks god, that the upgrade the day after fixed this.

This way we'll never become an accepted (and supported) distro.

Just an IMHO
Frank

On Wed, 2006-02-01 at 16:07 -0700, Richard Fish wrote:
> On 2/1/06, Richard Fish <bigfish@asmallpond.org> wrote:
> > On 2/1/06, Franta <sdoma@karneval.cz> wrote:
> > There have been a _lot_ of changes in udev, and most likely your
> 
> Oh, forgot to mention..."man udev".
> 
> -Richard
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-02 22:17     ` Franta
@ 2006-02-02 22:55       ` Neil Bothwick
  2006-02-02 23:22       ` Iain Buchanan
  1 sibling, 0 replies; 20+ messages in thread
From: Neil Bothwick @ 2006-02-02 22:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On Thu, 02 Feb 2006 23:17:00 +0100, Franta wrote:

> I've tried some help pages to get my custom settings working. Well,
> upgrade means your customizings go to hell. We're o Linux or on
> Windows?????

Your are on Linux, which means you have more control but have to take
responsibility for your own actions. Custom udev rules should go
in /etc/udev/rules.d/10-udev.rules, like in says in the guide.
/etc/udev/rules.d/50-udev.rules is for system rules and may be
updated along with the software.


-- 
Neil Bothwick

Computer (n): A device designed to speed and automate errors.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-02 22:17     ` Franta
  2006-02-02 22:55       ` Neil Bothwick
@ 2006-02-02 23:22       ` Iain Buchanan
  1 sibling, 0 replies; 20+ messages in thread
From: Iain Buchanan @ 2006-02-02 23:22 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-02-02 at 23:17 +0100, Franta wrote:

> Best Gentoo rule: NEVER DO ``EMERGE -U WORLD!!!!!!'' ?
> 
> Don't get me wrong but it's a thing happening VERY often. The last
> upgrade cut me off from the net. I had to ``ifconfig'' ``route''
> manually. Thanks god, that the upgrade the day after fixed this.

are you fixing your ._cfg files after you do an update?
-- 
Iain Buchanan <iain at netspace dot net dot au>

  I must follow the people. Am I not their leader? -Benjamin Disraeli

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-01 22:25 Franta
  2006-02-01 22:42 ` Franta
  2006-02-01 23:06 ` Richard Fish
@ 2006-02-03 20:20 ` Franta
  2006-02-03 20:33   ` Franta
                     ` (2 more replies)
  2 siblings, 3 replies; 20+ messages in thread
From: Franta @ 2006-02-03 20:20 UTC (permalink / raw
  To: gentoo-user

So O.K.

I'll probably have to do this from scratch.

I've removed my customisations from /etc/udev/rules.d

frankies ~ # cd /etc/udev/rules.d/
frankies rules.d # ls -l
total 16
-rw-r--r--  1 root root   346 Jan 23 22:14 05-udev-early.rules
-rw-r--r--  1 root root 11612 Jan 23 22:14 50-udev.rules
frankies rules.d # 
frankies rules.d # # as we see, the emerge happened Jan 23.
frankies rules.d #
frankies rules.d # # I put in the USB stick
frankies rules.d #
frankies rules.d # tail -fn20 /var/log/messages 
Feb  3 21:14:01 frankies su(pam_unix)[4613]: session opened for user
root by (uid=1000)
Feb  3 21:16:01 frankies usb 2-2: USB disconnect, address 2
Feb  3 21:16:08 frankies usb 2-2: new full speed USB device using
ohci_hcd and address 3
Feb  3 21:16:08 frankies usb 2-2: not running at top speed; connect to a
high speed hub
Feb  3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage
devices
Feb  3 21:16:08 frankies usb-storage: device found at 3
Feb  3 21:16:08 frankies usb-storage: waiting for device to settle
before scanning
Feb  3 21:16:13 frankies Vendor: SanDisk   Model: Cruzer Micro      Rev:
2033
Feb  3 21:16:13 frankies Type:   Direct-Access                      ANSI
SCSI revision: 00
Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  3 21:16:13 frankies sda: Write Protect is off
Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
Feb  3 21:16:13 frankies sda: assuming drive cache: write through
Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  3 21:16:13 frankies sda: Write Protect is off
Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
Feb  3 21:16:13 frankies sda: assuming drive cache: write through
Feb  3 21:16:13 frankies sda: sda1
Feb  3 21:16:13 frankies Attached scsi removable disk sda at scsi1,
channel 0, id 0, lun 0
Feb  3 21:16:13 frankies usb-storage: device scan complete
^C
frankies rules.d #
frankies rules.d # ls /dev/sd*
ls: /dev/sd*: No such file or directory
frankies rules.d # 
frankies rules.d # uname -r
2.6.12-gentoo-r10
frankies rules.d # 

... a hotplug issue?


On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
> Hi,
> 
> that's me onesmore.
> 
> Again the things changed were some emerge -u world.
> 
> There are no USB disks coming up anymore. Dunno when this issue came up.
> 
> I have a digital camera which I connected to my PC. It came up
> as /dev/sdaX and due to my USB settings as /dev/psmart.
> 
> I have an USB key, which came up as /dev/sdaX and due to my USB settings
> as /dev/cruiser.
> 
> I did'nt use any of them for half a year or so. Last week I tried to
> save some photos to th PC.
> 
> There are the messages about connecting the USB device
> in /var/log/messages but no device is coming up.
> 
> I've tried the same with the USB stick - the same story.
> 
> Has something changed with coldplug/hotplug?
> 
> Well, I could save the pictures from the camera or exchange data from
> the USB stick using Windows. Half a year ago this was possible with
> Gentoo too. I'd prefer this possibility ;)
> 
> The only thing I've changed was some update world.
> 
> THanks for any help
> Frank
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-03 20:20 ` Franta
@ 2006-02-03 20:33   ` Franta
  2006-02-03 20:51   ` Franta
  2006-02-04 23:26   ` Richard Fish
  2 siblings, 0 replies; 20+ messages in thread
From: Franta @ 2006-02-03 20:33 UTC (permalink / raw
  To: gentoo-user

Xcuse me, forgot this:

frankies ~ # lspci | grep USB
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
Controller
frankies ~ # 
frankies ~ # #without the stick
frankies ~ # 
frankies ~ # lsusb
Bus 003 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
frankies ~ # 
frankies ~ # # with the stick
frankies ~ # 
frankies ~ # lsusb
Bus 003 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 004: ID 0781:7114 SanDisk Corp. 
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
frankies ~ # 


On Fri, 2006-02-03 at 21:20 +0100, Franta wrote:
> So O.K.
> 
> I'll probably have to do this from scratch.
> 
> I've removed my customisations from /etc/udev/rules.d
> 
> frankies ~ # cd /etc/udev/rules.d/
> frankies rules.d # ls -l
> total 16
> -rw-r--r--  1 root root   346 Jan 23 22:14 05-udev-early.rules
> -rw-r--r--  1 root root 11612 Jan 23 22:14 50-udev.rules
> frankies rules.d # 
> frankies rules.d # # as we see, the emerge happened Jan 23.
> frankies rules.d #
> frankies rules.d # # I put in the USB stick
> frankies rules.d #
> frankies rules.d # tail -fn20 /var/log/messages 
> Feb  3 21:14:01 frankies su(pam_unix)[4613]: session opened for user
> root by (uid=1000)
> Feb  3 21:16:01 frankies usb 2-2: USB disconnect, address 2
> Feb  3 21:16:08 frankies usb 2-2: new full speed USB device using
> ohci_hcd and address 3
> Feb  3 21:16:08 frankies usb 2-2: not running at top speed; connect to a
> high speed hub
> Feb  3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage
> devices
> Feb  3 21:16:08 frankies usb-storage: device found at 3
> Feb  3 21:16:08 frankies usb-storage: waiting for device to settle
> before scanning
> Feb  3 21:16:13 frankies Vendor: SanDisk   Model: Cruzer Micro      Rev:
> 2033
> Feb  3 21:16:13 frankies Type:   Direct-Access                      ANSI
> SCSI revision: 00
> Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
> (524 MB)
> Feb  3 21:16:13 frankies sda: Write Protect is off
> Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
> Feb  3 21:16:13 frankies sda: assuming drive cache: write through
> Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
> (524 MB)
> Feb  3 21:16:13 frankies sda: Write Protect is off
> Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
> Feb  3 21:16:13 frankies sda: assuming drive cache: write through
> Feb  3 21:16:13 frankies sda: sda1
> Feb  3 21:16:13 frankies Attached scsi removable disk sda at scsi1,
> channel 0, id 0, lun 0
> Feb  3 21:16:13 frankies usb-storage: device scan complete
> ^C
> frankies rules.d #
> frankies rules.d # ls /dev/sd*
> ls: /dev/sd*: No such file or directory
> frankies rules.d # 
> frankies rules.d # uname -r
> 2.6.12-gentoo-r10
> frankies rules.d # 
> 
> ... a hotplug issue?
> 
> 
> On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
> > Hi,
> > 
> > that's me onesmore.
> > 
> > Again the things changed were some emerge -u world.
> > 
> > There are no USB disks coming up anymore. Dunno when this issue came up.
> > 
> > I have a digital camera which I connected to my PC. It came up
> > as /dev/sdaX and due to my USB settings as /dev/psmart.
> > 
> > I have an USB key, which came up as /dev/sdaX and due to my USB settings
> > as /dev/cruiser.
> > 
> > I did'nt use any of them for half a year or so. Last week I tried to
> > save some photos to th PC.
> > 
> > There are the messages about connecting the USB device
> > in /var/log/messages but no device is coming up.
> > 
> > I've tried the same with the USB stick - the same story.
> > 
> > Has something changed with coldplug/hotplug?
> > 
> > Well, I could save the pictures from the camera or exchange data from
> > the USB stick using Windows. Half a year ago this was possible with
> > Gentoo too. I'd prefer this possibility ;)
> > 
> > The only thing I've changed was some update world.
> > 
> > THanks for any help
> > Frank
> > 
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-03 20:20 ` Franta
  2006-02-03 20:33   ` Franta
@ 2006-02-03 20:51   ` Franta
  2006-02-04 23:26   ` Richard Fish
  2 siblings, 0 replies; 20+ messages in thread
From: Franta @ 2006-02-03 20:51 UTC (permalink / raw
  To: gentoo-user

On Fri, 2006-02-03 at 21:20 +0100, Franta wrote:
> So O.K.
> 
> I'll probably have to do this from scratch.
> 
> I've removed my customisations from /etc/udev/rules.d
> 
> frankies ~ # cd /etc/udev/rules.d/
> frankies rules.d # ls -l
> total 16
> -rw-r--r--  1 root root   346 Jan 23 22:14 05-udev-early.rules
> -rw-r--r--  1 root root 11612 Jan 23 22:14 50-udev.rules
> frankies rules.d # 
> frankies rules.d # # as we see, the emerge happened Jan 23.
> frankies rules.d #
> frankies rules.d # # I put in the USB stick
> frankies rules.d #
> frankies rules.d # tail -fn20 /var/log/messages 
> Feb  3 21:14:01 frankies su(pam_unix)[4613]: session opened for user
> root by (uid=1000)
> Feb  3 21:16:01 frankies usb 2-2: USB disconnect, address 2
> Feb  3 21:16:08 frankies usb 2-2: new full speed USB device using
> ohci_hcd and address 3
> Feb  3 21:16:08 frankies usb 2-2: not running at top speed; connect to a
> high speed hub
> Feb  3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage
> devices
> Feb  3 21:16:08 frankies usb-storage: device found at 3
> Feb  3 21:16:08 frankies usb-storage: waiting for device to settle
> before scanning
> Feb  3 21:16:13 frankies Vendor: SanDisk   Model: Cruzer Micro      Rev:
> 2033
> Feb  3 21:16:13 frankies Type:   Direct-Access                      ANSI
> SCSI revision: 00
> Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
> (524 MB)
> Feb  3 21:16:13 frankies sda: Write Protect is off
> Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
> Feb  3 21:16:13 frankies sda: assuming drive cache: write through
> Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
> (524 MB)
> Feb  3 21:16:13 frankies sda: Write Protect is off
> Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
> Feb  3 21:16:13 frankies sda: assuming drive cache: write through
> Feb  3 21:16:13 frankies sda: sda1
> Feb  3 21:16:13 frankies Attached scsi removable disk sda at scsi1,
> channel 0, id 0, lun 0
> Feb  3 21:16:13 frankies usb-storage: device scan complete
> ^C
> frankies rules.d #
> frankies rules.d # ls /dev/sd*
> ls: /dev/sd*: No such file or directory
> frankies rules.d # 
> frankies rules.d # uname -r
> 2.6.12-gentoo-r10
> frankies rules.d # 
> 
> ... a hotplug issue?
> 

... or an udev issue?

> 
> On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
> > Hi,
> > 
> > that's me onesmore.
> > 
> > Again the things changed were some emerge -u world.
> > 
> > There are no USB disks coming up anymore. Dunno when this issue came up.
> > 
> > I have a digital camera which I connected to my PC. It came up
> > as /dev/sdaX and due to my USB settings as /dev/psmart.
> > 
> > I have an USB key, which came up as /dev/sdaX and due to my USB settings
> > as /dev/cruiser.
> > 
> > I did'nt use any of them for half a year or so. Last week I tried to
> > save some photos to th PC.
> > 
> > There are the messages about connecting the USB device
> > in /var/log/messages but no device is coming up.
> > 
> > I've tried the same with the USB stick - the same story.
> > 
> > Has something changed with coldplug/hotplug?
> > 
> > Well, I could save the pictures from the camera or exchange data from
> > the USB stick using Windows. Half a year ago this was possible with
> > Gentoo too. I'd prefer this possibility ;)
> > 
> > The only thing I've changed was some update world.
> > 
> > THanks for any help
> > Frank
> > 
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-03 20:20 ` Franta
  2006-02-03 20:33   ` Franta
  2006-02-03 20:51   ` Franta
@ 2006-02-04 23:26   ` Richard Fish
  2006-02-06  9:52     ` Michael Kintzios
  2 siblings, 1 reply; 20+ messages in thread
From: Richard Fish @ 2006-02-04 23:26 UTC (permalink / raw
  To: gentoo-user

On 2/3/06, Franta <sdoma@karneval.cz> wrote:
> frankies rules.d # uname -r
> 2.6.12-gentoo-r10
> frankies rules.d #
>
> ... a hotplug issue?

Well, "hotplug" as we knew it no longer exists really.  Now the kernel
sends hotplug events using either udevsend or (for 2.6.15 onwards)
netlink.

Try "cat /proc/sys/kernel/hotplug".  In your case, it should say
"/sbin/udevsend".

However, we are _assuming_ that the system is starting udev.  You
should check the first few lines of the system boot to make sure.  You
should see messages like:

Mounting /dev for udev ...
...
  Setting /sbin/udevsend as hotplug agent ...

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: [gentoo-user] USB issue
  2006-02-04 23:26   ` Richard Fish
@ 2006-02-06  9:52     ` Michael Kintzios
  2006-02-06 14:18       ` Richard Fish
  0 siblings, 1 reply; 20+ messages in thread
From: Michael Kintzios @ 2006-02-06  9:52 UTC (permalink / raw
  To: gentoo-user



> -----Original Message-----
> From: richard.j.fish@gmail.com 
> [mailto:richard.j.fish@gmail.com] On Behalf Of Richard Fish
> Sent: 04 February 2006 23:26
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] USB issue
> 
> 
> On 2/3/06, Franta <sdoma@karneval.cz> wrote:
> > frankies rules.d # uname -r
> > 2.6.12-gentoo-r10
> > frankies rules.d #
> >
> > ... a hotplug issue?
> 
> Well, "hotplug" as we knew it no longer exists really.  Now the kernel
> sends hotplug events using either udevsend or (for 2.6.15 onwards)
> netlink.
> 
> Try "cat /proc/sys/kernel/hotplug".  In your case, it should say
> "/sbin/udevsend".
> 
> However, we are _assuming_ that the system is starting udev.  You
> should check the first few lines of the system boot to make sure.  You
> should see messages like:
> 
> Mounting /dev for udev ...
> ...
>   Setting /sbin/udevsend as hotplug agent ...
> 
> -Richard

I'm still on the last 2.6.14 kernel and would like to know any tricks I
need to put in place before I run into a USB problem . . . I have
hotplug in my rc-update default and coldplug in my rc-update boot.  Do I
need to change these manually, or will a 2.6.15 kernel and update world
sort it out for me?
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-02-06  9:52     ` Michael Kintzios
@ 2006-02-06 14:18       ` Richard Fish
  2006-02-06 15:32         ` Michael Kintzios
  0 siblings, 1 reply; 20+ messages in thread
From: Richard Fish @ 2006-02-06 14:18 UTC (permalink / raw
  To: gentoo-user

> I'm still on the last 2.6.14 kernel and would like to know any tricks I
> need to put in place before I run into a USB problem . . . I have
> hotplug in my rc-update default and coldplug in my rc-update boot.  Do I
> need to change these manually, or will a 2.6.15 kernel and update world
> sort it out for me?

It 'just worked' for me, but I do run ~x86.  The big difference
between 2.6.14 and later kernels is that later kernels use netlink for
hotplug events instead of udevsend.  You can see this towards the
bottom of /lib/rcscripts/addons/udev-start.sh.  There is not anything
special that you need to do to prepare for this, other than
etc-update.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: [gentoo-user] USB issue
  2006-02-06 14:18       ` Richard Fish
@ 2006-02-06 15:32         ` Michael Kintzios
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Kintzios @ 2006-02-06 15:32 UTC (permalink / raw
  To: gentoo-user



> -----Original Message-----
> From: richard.j.fish@gmail.com 
> [mailto:richard.j.fish@gmail.com] On Behalf Of Richard Fish
> Sent: 06 February 2006 14:18
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] USB issue
> 
> 
> > I'm still on the last 2.6.14 kernel and would like to know 
> any tricks I
> > need to put in place before I run into a USB problem . . . I have
> > hotplug in my rc-update default and coldplug in my 
> rc-update boot.  Do I
> > need to change these manually, or will a 2.6.15 kernel and 
> update world
> > sort it out for me?
> 
> It 'just worked' for me, but I do run ~x86.  The big difference
> between 2.6.14 and later kernels is that later kernels use netlink for
> hotplug events instead of udevsend.  You can see this towards the
> bottom of /lib/rcscripts/addons/udev-start.sh.  There is not anything
> special that you need to do to prepare for this, other than
> etc-update.
> 
> -Richard

Thanks, let's hope that'll be the case with my stable system, too.  I
was just asking to know if I will need to remove hotplug from the rc
levels and then unmerge it manually, or whether such things will be
taken care of by the update process.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user] USB issue
@ 2006-03-29  4:04 Ian
  2006-03-29  8:19 ` Neil Bothwick
  0 siblings, 1 reply; 20+ messages in thread
From: Ian @ 2006-03-29  4:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

Hi there,
Im using 2.6.15-gentoo-r5 and am having issues copying files to my iPod and
my other USB devices.
Whether in gtkPod or using the cp command, I get problems.

Ive mounted everything alright as its worked before and I haven't changed
anything.
Basically I just use the cp command and:

 cp: writing '/mnt/ipod/file': Input/Output error

cp: cannot create regular file '/mnt/ipod/file2': Input/Output error

Any ideas?
Thanks!!

--
Cheers,
Ian

[-- Attachment #2: Type: text/html, Size: 803 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-03-29  4:04 [gentoo-user] USB issue Ian
@ 2006-03-29  8:19 ` Neil Bothwick
  2006-03-30  2:39   ` Ian
  0 siblings, 1 reply; 20+ messages in thread
From: Neil Bothwick @ 2006-03-29  8:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

On Tue, 28 Mar 2006 21:04:12 -0700, Ian wrote:

>  cp: writing '/mnt/ipod/file': Input/Output error
> 
> cp: cannot create regular file '/mnt/ipod/file2': Input/Output error

What do you have in /etc/fstab for this?
What is the output from "ls -ld /mnt/ipod" before and after mounting?
Does cp work as root?


-- 
Neil Bothwick

Top Oxymorons Number 26: Software documentation

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-03-29  8:19 ` Neil Bothwick
@ 2006-03-30  2:39   ` Ian
  2006-03-30  6:17     ` Ian
  0 siblings, 1 reply; 20+ messages in thread
From: Ian @ 2006-03-30  2:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]

On 3/29/06, Neil Bothwick <neil@digimed.co.uk> wrote:
>
> On Tue, 28 Mar 2006 21:04:12 -0700, Ian wrote:
>
> >  cp: writing '/mnt/ipod/file': Input/Output error
> >
> > cp: cannot create regular file '/mnt/ipod/file2': Input/Output error
>
> What do you have in /etc/fstab for this?


Basically the standard.
/dev/sda2  [tab] /mnt/ipod  [tab]  auto   [tab]  noauto,users,rw  [tab] 0 0
That line is from memory, although it did previously work perfectly.


What is the output from "ls -ld /mnt/ipod" before and after mounting?


Im at work right now, Ill reply very soon with this output.

Does cp work as root?


Flawlessly.

One other thing, I did upgrade kernels, however I used make oldconfig with
the older
config file in the kernel directory. I rechecked the menuconfig and found
that everything
I think should be enabled, was. I can post my config file on my server and
link you guys
when I get home.

HTH,
Ian

--
> Neil Bothwick
>
> Top Oxymorons Number 26: Software documentation
>
>
>


--
Cheers,
Ian

[-- Attachment #2: Type: text/html, Size: 2015 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-03-30  2:39   ` Ian
@ 2006-03-30  6:17     ` Ian
  2006-03-30  9:05       ` Neil Bothwick
  0 siblings, 1 reply; 20+ messages in thread
From: Ian @ 2006-03-30  6:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1341 bytes --]

On 3/30/06, Ian <omega21@gmail.com> wrote:
>
>
>
> On 3/29/06, Neil Bothwick <neil@digimed.co.uk> wrote:
> >
> > On Tue, 28 Mar 2006 21:04:12 -0700, Ian wrote:
> >
> > >  cp: writing '/mnt/ipod/file': Input/Output error
> > >
> > > cp: cannot create regular file '/mnt/ipod/file2': Input/Output error
> >
> > What do you have in /etc/fstab for this?
>
>
> Basically the standard.
> /dev/sda2  [tab] /mnt/ipod  [tab]  auto   [tab]  noauto,users,rw  [tab] 0
> 0
> That line is from memory, although it did previously work perfectly.
>
>
> What is the output from "ls -ld /mnt/ipod" before and after mounting?
>
>
> Im at work right now, Ill reply very soon with this output.
>

drwxr-xr-x  3 root root 80 Dec 23 17:47 /mnt/ipod


Does cp work as root?
>
>
> Flawlessly.
>
> One other thing, I did upgrade kernels, however I used make oldconfig with
> the older
> config file in the kernel directory. I rechecked the menuconfig and found
> that everything
> I think should be enabled, was. I can post my config file on my server and
> link you guys
> when I get home.
>

Server is having issues.. Ill try again in 17 hours or so.


HTH,
> Ian
>
> --
>
>
> Neil Bothwick
>
> Top Oxymorons Number 26: Software documentation
>
>
>
>
>
> --
> Cheers,
> Ian
>



--
Cheers,
Ian

[-- Attachment #2: Type: text/html, Size: 3519 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] USB issue
  2006-03-30  6:17     ` Ian
@ 2006-03-30  9:05       ` Neil Bothwick
  0 siblings, 0 replies; 20+ messages in thread
From: Neil Bothwick @ 2006-03-30  9:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

On Thu, 30 Mar 2006 06:17:53 +0000, Ian wrote:

> > > What do you have in /etc/fstab for this?
> >
> >
> > Basically the standard.
> > /dev/sda2  [tab] /mnt/ipod  [tab]  auto   [tab]  noauto,users,rw
> > [tab] 0 0
> > That line is from memory, although it did previously work perfectly.
> >
> >
> > What is the output from "ls -ld /mnt/ipod" before and after mounting?
> >
> >
> > Im at work right now, Ill reply very soon with this output.
> >
> 
> drwxr-xr-x  3 root root 80 Dec 23 17:47 /mnt/ipod

Try 
/dev/sda2 /mnt/ipod auto noauto,users,umask=000 0 0

The umask option on FAT filesystems gives makes all files world writeable.


-- 
Neil Bothwick

I can see clearly now, the brain is gone...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2006-03-30  9:11 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-29  4:04 [gentoo-user] USB issue Ian
2006-03-29  8:19 ` Neil Bothwick
2006-03-30  2:39   ` Ian
2006-03-30  6:17     ` Ian
2006-03-30  9:05       ` Neil Bothwick
  -- strict thread matches above, loose matches on Subject: below --
2006-02-01 22:25 Franta
2006-02-01 22:42 ` Franta
2006-02-01 23:06 ` Richard Fish
2006-02-01 23:07   ` Richard Fish
2006-02-02 22:17     ` Franta
2006-02-02 22:55       ` Neil Bothwick
2006-02-02 23:22       ` Iain Buchanan
2006-02-01 23:51   ` Franta
2006-02-03 20:20 ` Franta
2006-02-03 20:33   ` Franta
2006-02-03 20:51   ` Franta
2006-02-04 23:26   ` Richard Fish
2006-02-06  9:52     ` Michael Kintzios
2006-02-06 14:18       ` Richard Fish
2006-02-06 15:32         ` Michael Kintzios

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox