Bug#402389: Doesn't look like a bug in usbmount

2007-02-14 Thread Rolandas Juodzbalis
Armin Berres wrote:
> Hi!
> 
> Your bug doesn't look like a bug, at least no bug in usbmount.
> I guess it is a hardware or maybe driver problem.
> Did you try to mount your camera manually? Did this work? Can you mount
> other hardware, e.g. an usb stick?
> 
> Your log snippet shows output which is generated _before_ usbmount is
> activated, otherwise you would find output from usbmount in the logs.
> Something like this:
> Feb 14 18:12:59 bluemoon usbmount[5914]: executing command: mount...
> 
> To be completely sure you can set VERBOSE="no" in
> /etc/usbmount/usbmount.conf
> 
> Please reply as soon as possible, because your bugreport is blocking
> usbmount from entering Etch!
> 
> Regards,
> Armin

Hi,

I tried with usb stick and it works fine. I tried it with memory card
taken from digital camera with card reader and it is mounted ok. But
when I'm attaching digital camera directly, it is not mounted. From logs:
from messages:
Feb 14 20:00:10 acer kernel:   Vendor: NIKON Model: D50
  Rev: 1.00
Feb 14 20:00:10 acer kernel:   Type:   Direct-Access
  ANSI SCSI revision: 02
Feb 14 20:00:10 acer kernel: SCSI device sdb: 1935361 512-byte hdwr
sectors (991 MB)
Feb 14 20:00:10 acer kernel: sdb: Write Protect is off
Feb 14 20:00:10 acer kernel: SCSI device sdb: 1935361 512-byte hdwr
sectors (991 MB)
Feb 14 20:00:10 acer kernel: sdb: Write Protect is off
Feb 14 20:00:10 acer kernel:  sdb: sdb1
Feb 14 20:00:10 acer kernel: sd 9:0:0:0: Attached scsi removable disk sdb

from syslog:
Feb 14 20:00:10 acer kernel: sdb: assuming drive cache: write through
Feb 14 20:00:10 acer kernel: end_request: I/O error, dev sdb, sector 1935360
Feb 14 20:00:10 acer kernel: printk: 1 messages suppressed.
Feb 14 20:00:10 acer kernel: Buffer I/O error on device sdb, logical
block 1935360
Feb 14 20:00:10 acer kernel: end_request: I/O error, dev sdb, sector 1935360
Feb 14 20:00:10 acer kernel: Buffer I/O error on device sdb, logical
block 1935360
Feb 14 20:00:10 acer kernel: end_request: I/O error, dev sdb, sector 1935360
Feb 14 20:00:10 acer kernel: Buffer I/O error on device sdb, logical
block 1935360
<...>
Feb 14 20:00:20 acer kernel: end_request: I/O error, dev sdb, sector 134
Feb 14 20:00:31 acer usbmount[19507]: cannot read from /dev/sdb1

Rolandas
p.s. you can close this bug, because I already got card reader and use it.
p.p.s I cannot mount it manually after inserting. Only after removing
usbmount it can be done manually.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402389: Doesn't look like a bug in usbmount

2007-02-14 Thread Rolandas Juodzbalis
[EMAIL PROTECTED] wrote:
> Thanks for you're message!
> 
> Rolandas Juodzbalis wrote:
>>> To be completely sure you can set VERBOSE="no" in
>>> /etc/usbmount/usbmount.conf
> 
> Oups, VERBOSE="yes" for sure :-)
> Can you please try this with your camera and show me the logs in this case?
> 
>> p.s. you can close this bug, because I already got card reader and use it.
> 
> I think I will downgrade it at least.
> Will close it only if I'm sure it's no bug in usbmount (which I still
> beleave)
> 
>> p.p.s I cannot mount it manually after inserting. Only after removing
>> usbmount it can be done manually.
> 
> Weird...
> 
> /Armin
> 

I tried to completely reinstall usbmount. Did not helped. There is not
much info in logs when VERBOSE="yes". Only this one:
Feb 14 21:50:14 acer usbmount[31039]: cannot read from /dev/sdb1
I tried to attach ipod, which fails too, but fails in another way.
usbmount mounts it as /dev/sdb instead of /dev/sdb2
/dev/sdb on /media/usb1 type vfat (rw,noexec,nodev,sync,noatime)
There is info from /var/log/messages:
Feb 14 21:50:45 acer kernel:   Vendor: Apple Model: iPod
  Rev: 1.62
Feb 14 21:50:45 acer kernel:   Type:   Direct-Access
  ANSI SCSI revision: 00
Feb 14 21:50:45 acer kernel: SCSI device sdb: 7999487 512-byte hdwr
sectors (4096 MB)
Feb 14 21:50:45 acer kernel: sdb: Write Protect is off
Feb 14 21:50:45 acer kernel: SCSI device sdb: 7999487 512-byte hdwr
sectors (4096 MB)
Feb 14 21:50:45 acer kernel: sdb: Write Protect is off
Feb 14 21:50:46 acer kernel:  sdb: sdb1 sdb2
Feb 14 21:50:46 acer kernel: sd 14:0:0:0: Attached scsi removable disk sdb
Feb 14 21:50:46 acer usbmount[31215]: executing command: mount -tvfat
-osync,noexec,nodev,noatime /dev/sdb /media/usb1
Feb 14 21:50:46 acer usbmount[31215]: executing command: run-parts
/etc/usbmount/mount.d
Feb 14 21:50:47 acer usbmount[31281]: executing command: mount -tvfat
-osync,noexec,nodev,noatime /dev/sdb2 /media/usb2

After seeing this, now I believe that this might be udev problems?
Note: there is no mount /media/usb2 in mounts

mount |grep usb
procbususb on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /media/usb0 type ext3 (rw,noexec,nodev,noatime)
/dev/sdb on /media/usb1 type vfat (rw,noexec,nodev,sync,noatime)

/dev/sda1 is mounted ok via usbmount, long time ago :)

Rolandas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402389: Does look like a bug - but where

2007-02-14 Thread Rolandas Juodzbalis
Armin Berres wrote:
> 
> With the additional output it should be clear, which command causes the
> errors of your camera.
There is no output from usbmount except this:
cannot read from /dev/sdb1
> 
>> Feb 14 21:50:14 acer usbmount[31039]: cannot read from /dev/sdb1
>> I tried to attach ipod, which fails too, but fails in another way.
>> usbmount mounts it as /dev/sdb instead of /dev/sdb2
> 
> Weird, weird. Here it would be also nice, if the verbose mode would
> work. You changed the "no" in the last line of
> /etc/usbmount/usbmount.conf to "yes", right (just to be sure)?
Yes, I changed.

> I'll test tomorrow which output I get from an Ipod.
> 
> I took over this package yesterday, that's why I'm not comletely in the
> code yet, but I'm sure we will find the problem :-)
> 
> /Armin

:)
Rolandas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#402389: Does look like a bug - but where

2007-02-14 Thread Rolandas Juodzbalis
Armin Berres wrote:
> Rolandas Juodzbalis wrote:
>> Armin Berres wrote:
>>> With the additional output it should be clear, which command causes the
>>> errors of your camera.
>> There is no output from usbmount except this:
>> cannot read from /dev/sdb1
> 
> Uh, jut noticed something: The debug logs appear only in /var/log/syslog
> and not in /var/log/messages!
> 
> Maybe you checked only /var/log/messages?
> 
> /Armin

When I connected camera, I can see usbmount info only in syslog. nothing
in messages.

Rolandas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]