scsi scanner device (sg0) has wrong ownership
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
After updating my system from hoary to breezy, my users were unable to access
the scanner.
I have an HP C5110A scsi scanner (on /dev/sg0), attached to an Adaptec AHA-2940U
card (no scsi disks on the system, only ide). Prior to the update, the scanner
was accessible to any user in the scanner group, but after the update the
scanner could not be accessed. Ownership of sg0 was:
$ ls -l /dev/sg0
crw-rw---- 1 root root 21, 0 2005-10-14 13:26 /dev/sg0
I was able to fix this problem by adding a line to /etc/udev/
(I'm not familiar with udev, so I'm not sure if this fix is "correct", but it
works on my system):
BUS=="scsi", SYSFS{type}=="3", GROUP="scanner"
After changing the permissions.rules file, and restarting udev, sg0 is now owned
by root.scanner:
$ ls -l /dev/sg0
crw-rw---- 1 root scanner 21, 0 2005-10-14 13:26 /dev/sg0
...and users in the scanner group can use the scanner.
Hello
I must install a new hard drive (samsung 250Gb sata2 with external usb2 bay)
and i cant partition/format this.
I create 3 partition, write it, but dont looking that. If i like to mkfs.ext3
/dev/sda the syslog contains these error messages:
Nov 19 22:46:29 localhost kernel: usb 4-4: reset high speed USB device using
ehci_hcd and address 37
Nov 19 22:46:29 localhost kernel: usb 4-4: device descriptor read/64, error -71
Nov 19 22:46:29 localhost kernel: usb 4-4: device descriptor read/64, error -71
Nov 19 22:46:29 localhost kernel: usb 4-4: reset high speed USB device using
ehci_hcd and address 37
Nov 19 22:46:29 localhost kernel: usb 4-4: device descriptor read/64, error -71
Nov 19 22:46:29 localhost kernel: usb 4-4: device descriptor read/64, error -71
Nov 19 22:46:30 localhost kernel: scsi: Device offlined - not ready after error
recovery: host 15 channel 0 id 0 lun 0
Nov 19 22:46:30 localhost kernel: SCSI error : <15 0 0 0> return code = 0x50000
Nov 19 22:46:30 localhost kernel: end_request: I/O error, dev sda, sector 6032688
Nov 19 22:46:30 localhost kernel: printk: 214 messages suppressed.
Nov 19 22:46:30 localhost kernel: Buffer I/O error on device sda, logical block
754086
Nov 19 22:46:30 localhost kernel: lost page write due to I/O error on sda
Nov 19 22:46:30 localhost kernel: scsi15 (0:0): rejecting I/O to offline device
Nov 19 22:46:30 localhost kernel: Buffer I/O error on device sda, logical block
754087
Do you have any idea?
(ubuntu 5.10, on ibm t40, original ubuntu 2.6.10-5-686 and 2.6.10-9-686 kernel .
Everything works fine, but i need extra storage)