[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installation Report for Sarge



On Thu, Aug 12, 2004 at 10:57:28AM +0200, Jérôme Warnier wrote:
> Le jeu 12/08/2004 à 09:06, Sven Luther a écrit :
> > On Thu, Aug 12, 2004 at 08:14:37AM +0200, Sven Luther wrote:
> > > On Thu, Aug 12, 2004 at 01:30:06AM +0200, Michel Dänzer wrote:
> > > > On Wed, 2004-08-11 at 23:40 +0200, Sven Luther wrote:
> > > > > 
> > > > > [...] gnome-volume-manager seems to be broken on powerpc, i had a
> > > > > quick look again earlier today, but nothing happened, and i couldn't go into
> > > > > more details.
> > > > 
> > > > Works fine here...
> > > 
> > > When at linuxtag and on my ibook, trying it out resulted in a kernel OOPS and
> > > no USB stick or cdrom showing up. What kernel are you using ? 
> > > 
> > > But indeed it is working now, at least for CD roms, don't know for usb sticks,
> > > but as the uhci driver seems to have some troubles on usb, ...
> > 
> > Indeed, it doesn't work for USB sticks, since we don't have a /etc/fstab entry
> > for usb sticks, which appear as random /dev/sd## entries, depending on the usb
> > stick model used and if you have other scsi or sata devices in your system.
> > Here is what i get :
> > 
> > Aug 12 08:52:05 localhost kernel: usb 2-2: new full speed USB device using address 2
> > Aug 12 08:52:06 localhost kernel: SCSI subsystem initialized
> > Aug 12 08:52:06 localhost kernel: Initializing USB Mass Storage driver...
> > Aug 12 08:52:06 localhost kernel: scsi0 : SCSI emulation for USB Mass Storage devices
> > Aug 12 08:52:06 localhost kernel:   Vendor: Trek      Model: ThumbDrive G3 Rev: 1.12
> > Aug 12 08:52:06 localhost kernel:   Type:   Direct-Access ANSI SCSI revision: 02
> > Aug 12 08:52:06 localhost kernel: USB Mass Storage device found at 2
> > Aug 12 08:52:06 localhost kernel: usbcore: registered new driver usb-storage
> > Aug 12 08:52:06 localhost kernel: USB Mass Storage support registered.
> > Aug 12 08:52:06 localhost usb.agent[12806]:      usb-storage: loaded successfully
> > Aug 12 08:52:06 localhost scsi.agent[12865]: disk at /devices/pci0000:00/0000:00:0c.3/usb2/2-2/2-2:1.0/host0/0:0:0:0
> > Aug 12 08:52:06 localhost kernel: SCSI device sda: 129024 512-byte hdwr sectors (66 MB)
> > Aug 12 08:52:06 localhost kernel: sda: assuming Write Enabled
> > Aug 12 08:52:06 localhost kernel: sda: assuming drive cache: write through
> > Aug 12 08:52:06 localhost kernel:  /dev/scsi/host0/bus0/target0/lun0: p1
> > Aug 12 08:52:06 localhost kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> > Aug 12 08:52:06 localhost udev[12905]: creating device node '/dev/sda'
> > Aug 12 08:52:06 localhost udev[12906]: creating device node '/dev/sda1'
> > 
> > so i guess modifying the scsi.agent or usb.agent to add/remove the /etc/fstab
> > entry should be a nice solution for this.
> There is already a script in hal which does just that.
> /etc/hal/device.d/fstab-update.sh
> 
> By default, it is not used because it is not executable.
> "chmod +x /etc/hal/device.d/fstab-update.sh" and you're gone.
> The only problem left is that the _name_ of the device is not really
> friendly in most cases.

Indeed this works, and altough the name is not friendly, it it better than not
having it, and can probably be fixed with some heuristic.

Should it no be enabled by default though ? 

And what are the mount options ? I have the impression that usb device should
either be explicitly umounted before pulling them out, or mounted sync, so as
to not loose data copied to it.

Friendly,

Sven Luther



Reply to: