LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-28-2009, 01:34 PM   #1
Richard Molton
LQ Newbie
 
Registered: Nov 2004
Location: uk
Posts: 12

Rep: Reputation: 0
New Seagate 1TB USB ext HDD stiffs Linux boot sequence but older 230MB ditto is fine


This machine is WinXP/Debian Lenny dual boot. My older Seagate ext HDD has a Linux partition and an NTFS one, and works fine under Linux.

I just bought a new 1 TB Seagate Free Agent ext USB drive to use solely as a store for photos. First I ran WinXP and let the new disk auto-install itself. Then I connected the older ext HDD and copied a couple of photo folders totalling 28GB from the NTFS partition of the old ext HDD to the new one. No problem at all.

I then restarted the machine in Linux and it didn't even get as far as grub. Switching off, removing the power to the new hdd and trying again got things running with the old ext HDD still attached. Plugging in the power for the new disc gives an error message 'cannot mount volume - invalid mount option when attempting to mount the volume 'Free Agent Drive''

I've almost certainly done something stupid but can't think what. Any help appreciated.
 
Old 06-28-2009, 03:27 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Ok, try running the following commands:
Code:
cd ~
lshal >before
Plug your USB device in, and wait 5 seconds or so
Code:
lshal >after
diff before after >newdevice.txt
rm -f before after
You should find a file called newdevice.txt in your home directory, please post the contents here, and we can take a look!
 
Old 06-28-2009, 03:31 PM   #3
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
This thread may be relevant to your situation: http://mandrivausers.org/index.php?showtopic=48804
 
Old 06-28-2009, 04:31 PM   #4
Richard Molton
LQ Newbie
 
Registered: Nov 2004
Location: uk
Posts: 12

Original Poster
Rep: Reputation: 0
There's a lot of it!


2c2
< Dumping 94 device(s) from the Global Device List:
---
> Dumping 101 device(s) from the Global Device List:
520a521,711
> udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ'
> info.linux.driver = 'usb' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_03_3' (string)
> info.product = 'FreeAgent' (string)
> info.subsystem = 'usb_device' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ' (string)
> info.vendor = 'Seagate RSS LLC' (string)
> linux.device_file = '/dev/bus/usb/004/008' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'usb' (string)
> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb4/4-2' (string)
> usb_device.bus_number = 4 (0x4) (int)
> usb_device.can_wake_up = false (bool)
> usb_device.configuration = 'Config0' (string)
> usb_device.configuration_value = 1 (0x1) (int)
> usb_device.device_class = 0 (0x0) (int)
> usb_device.device_protocol = 0 (0x0) (int)
> usb_device.device_revision_bcd = 0 (0x0) (int)
> usb_device.device_subclass = 0 (0x0) (int)
> usb_device.is_self_powered = true (bool)
> usb_device.linux.device_number = 8 (0x8) (int)
> usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb4/4-2' (string)
> usb_device.max_power = 0 (0x0) (int)
> usb_device.num_configurations = 1 (0x1) (int)
> usb_device.num_interfaces = 1 (0x1) (int)
> usb_device.num_ports = 0 (0x0) (int)
> usb_device.product = 'FreeAgent' (string)
> usb_device.product_id = 12289 (0x3001) (int)
> usb_device.serial = '2GEVZMFJ' (string)
> usb_device.speed = 480.0 (480) (double)
> usb_device.vendor = 'Seagate RSS LLC' (string)
> usb_device.vendor_id = 3010 (0xbc2) (int)
> usb_device.version = 2.0 (2) (double)
>
> udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_usbraw'
> info.capabilities = {'usbraw'} (string list)
> info.category = 'usbraw' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ' (string)
> info.product = 'USB Raw Device Access' (string)
> info.subsystem = 'usb_device' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_usbraw' (string)
> linux.device_file = '/dev/bus/usb/004/008' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'usb_device' (string)
> linux.sysfs_path = '/sys/class/usb_device/usbdev4.8' (string)
> usbraw.device = '/dev/bus/usb/004/008' (string)
>
> udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0'
> info.linux.driver = 'usb-storage' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ' (string)
> info.product = 'USB Mass Storage Interface' (string)
> info.subsystem = 'usb' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'usb' (string)
> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb4/4-2/4-2:1.0' (string)
> usb.bus_number = 4 (0x4) (int)
> usb.can_wake_up = false (bool)
> usb.configuration = 'Config0' (string)
> usb.configuration_value = 1 (0x1) (int)
> usb.device_class = 0 (0x0) (int)
> usb.device_protocol = 0 (0x0) (int)
> usb.device_revision_bcd = 0 (0x0) (int)
> usb.device_subclass = 0 (0x0) (int)
> usb.interface.class = 8 (0x8) (int)
> usb.interface.description = 'Interface0' (string)
> usb.interface.number = 0 (0x0) (int)
> usb.interface.protocol = 80 (0x50) (int)
> usb.interface.subclass = 6 (0x6) (int)
> usb.is_self_powered = true (bool)
> usb.linux.device_number = 8 (0x8) (int)
> usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb4/4-2/4-2:1.0' (string)
> usb.max_power = 0 (0x0) (int)
> usb.num_configurations = 1 (0x1) (int)
> usb.num_interfaces = 1 (0x1) (int)
> usb.num_ports = 0 (0x0) (int)
> usb.product = 'USB Mass Storage Interface' (string)
> usb.product_id = 12289 (0x3001) (int)
> usb.serial = '2GEVZMFJ' (string)
> usb.speed = 480.0 (480) (double)
> usb.vendor = 'Seagate RSS LLC' (string)
> usb.vendor_id = 3010 (0xbc2) (int)
> usb.version = 2.0 (2) (double)
>
> udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0_scsi_host'
> info.capabilities = {'scsi_host'} (string list)
> info.category = 'scsi_host' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0' (string)
> info.product = 'SCSI Host Adapter' (string)
> info.subsystem = 'scsi_host' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0_scsi_host' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'scsi_host' (string)
> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb4/4-2/4-2:1.0/host5' (string)
> scsi_host.host = 5 (0x5) (int)
>
> udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0_scsi_host_scsi_device_lun0'
> info.linux.driver = 'sd' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0_scsi_host' (string)
> info.product = 'SCSI Device' (string)
> info.subsystem = 'scsi' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0_scsi_host_scsi_device_lun0' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'scsi' (string)
> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb4/4-2/4-2:1.0/host5/target5:0:0/5:0:0:0' (string)
> scsi.bus = 0 (0x0) (int)
> scsi.host = 5 (0x5) (int)
> scsi.lun = 0 (0x0) (int)
> scsi.model = 'FreeAgent' (string)
> scsi.target = 0 (0x0) (int)
> scsi.type = 'disk' (string)
> scsi.vendor = 'Seagate' (string)
>
> udi = '/org/freedesktop/Hal/devices/storage_serial_Seagate_FreeAgent_2GEVZMFJ_0_0'
> block.device = '/dev/sdb' (string)
> block.is_volume = false (bool)
> block.major = 8 (0x8) (int)
> block.minor = 16 (0x10) (int)
> block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Seagate_FreeAgent_2GEVZMFJ_0_0' (string)
> info.capabilities = {'storage', 'block'} (string list)
> info.category = 'storage' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0_scsi_host_scsi_device_lun0' (string)
> info.product = 'FreeAgent' (string)
> info.udi = '/org/freedesktop/Hal/devices/storage_serial_Seagate_FreeAgent_2GEVZMFJ_0_0' (string)
> info.vendor = 'Seagate' (string)
> linux.hotplug_type = 3 (0x3) (int)
> linux.sysfs_path = '/sys/block/sdb' (string)
> storage.automount_enabled_hint = true (bool)
> storage.bus = 'usb' (string)
> storage.drive_type = 'disk' (string)
> storage.firmware_version = '102D' (string)
> storage.hotpluggable = true (bool)
> storage.lun = 0 (0x0) (int)
> storage.media_check_enabled = false (bool)
> storage.model = 'FreeAgent' (string)
> storage.no_partitions_hint = false (bool)
> storage.originating_device = '/org/freedesktop/Hal/devices/usb_device_bc2_3001_2GEVZMFJ_if0' (string)
> storage.partitioning_scheme = 'mbr' (string)
> storage.removable = false (bool)
> storage.removable.media_available = true (bool)
> storage.removable.media_size = 1000204886016 (0xe8e0db6000) (uint64)
> storage.requires_eject = false (bool)
> storage.serial = 'Seagate_FreeAgent_2GEVZMFJ-0:0' (string)
> storage.size = 1000204886016 (0xe8e0db6000) (uint64)
> storage.vendor = 'Seagate' (string)
>
> udi = '/org/freedesktop/Hal/devices/volume_uuid_D4B4F760B4F74410'
> block.device = '/dev/sdb1' (string)
> block.is_volume = true (bool)
> block.major = 8 (0x8) (int)
> block.minor = 17 (0x11) (int)
> block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Seagate_FreeAgent_2GEVZMFJ_0_0' (string)
> info.capabilities = {'volume', 'block'} (string list)
> info.category = 'volume' (string)
> info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
> info.parent = '/org/freedesktop/Hal/devices/storage_serial_Seagate_FreeAgent_2GEVZMFJ_0_0' (string)
> info.product = 'FreeAgent Drive' (string)
> info.udi = '/org/freedesktop/Hal/devices/volume_uuid_D4B4F760B4F74410' (string)
> linux.hotplug_type = 3 (0x3) (int)
> linux.sysfs_path = '/sys/block/sdb/sdb1' (string)
> org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_options', 'extra_options', 'extra_options'} (string list)
> org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list)
> org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
> org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list)
> storage.model = '' (string)
> volume.block_size = 512 (0x200) (int)
> volume.fstype = 'ntfs' (string)
> volume.fsusage = 'filesystem' (string)
> volume.fsversion = '3.1' (string)
> volume.ignore = false (bool)
> volume.is_disc = false (bool)
> volume.is_mounted = false (bool)
> volume.is_mounted_read_only = false (bool)
> volume.is_partition = true (bool)
> volume.label = 'FreeAgent Drive' (string)
> volume.linux.is_device_mapper = false (bool)
> volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'uid=', 'gid=', 'umask=', 'utf8'} (string list)
> volume.mount_point = '' (string)
> volume.num_blocks = 1953520002 (0x74705982) (int)
> volume.partition.flags = {} (string list)
> volume.partition.label = '' (string)
> volume.partition.media_size = 1000204886016 (0xe8e0db6000) (uint64)
> volume.partition.number = 1 (0x1) (int)
> volume.partition.scheme = 'mbr' (string)
> volume.partition.start = 32256 (0x7e00) (uint64)
> volume.partition.type = '0x07' (string)
> volume.partition.uuid = '' (string)
> volume.size = 1000202241024 (0xe8e0b30400) (uint64)
> volume.unmount.valid_options = {'lazy'} (string list)
> volume.uuid = 'D4B4F760B4F74410' (string)
>
2063c2254
< Dumped 94 device(s) from the Global Device List.
---
> Dumped 101 device(s) from the Global Device List.
 
Old 06-28-2009, 04:41 PM   #5
Richard Molton
LQ Newbie
 
Registered: Nov 2004
Location: uk
Posts: 12

Original Poster
Rep: Reputation: 0
And here is the output from the three commands mentioned in the link you suggested:

antje@firefly:~$ id
uid=1000(antje) gid=1000(antje) groups=20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),110(netdev),115(powerdev),10 00(antje)


antje@firefly:~$ mount
/dev/hda3 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sda1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=1000)
/dev/sda2 on /media/disk-1 type ext3 (rw,nosuid,nodev,uhelper=hal)


antje@firefly:~$ ls -l /media
total 28
lrwxrwxrwx 1 root root 6 2009-06-23 02:21 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2009-06-23 02:21 cdrom0
drwxr-xr-x 17 antje root 16384 1970-01-01 01:00 disk
drwxr-xr-x 22 root root 4096 2006-12-13 19:45 disk-1
lrwxrwxrwx 1 root root 7 2009-06-23 02:21 floppy -> floppy0
drwxr-xr-x 2 root root 4096 2009-06-23 02:21 floppy0
antje@firefly:~$

I hope it tells you more than it tells me.
 
Old 06-28-2009, 08:34 PM   #6
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Ok, looks like a disk is being recognised as /dev/sdb, can you try doing the following?
Code:
sudo mkdir /media/new-ext-hdd
sudo mount -t ntfs-3g /dev/sdb1 /media/new-ext-hdd
cd /media/new-ext-hdd
ls
and post what you find?
 
Old 06-29-2009, 05:17 AM   #7
Richard Molton
LQ Newbie
 
Registered: Nov 2004
Location: uk
Posts: 12

Original Poster
Rep: Reputation: 0
Unfortunately it gives no output, but here are the last lines from terminal window:



firefly:/home/antje# sudo mkdir /media/new-ext-hdd
firefly:/home/antje# sudo mount -t ntfs-3g /dev/sdb1 /media/new-ext-hdd

mount: unknown filesystem type 'ntfs-3g'
firefly:/home/antje#
firefly:/home/antje# cd /media/new-ext-hdd
firefly:/media/new-ext-hdd# ls
firefly:/media/new-ext-hdd#


Incidentally, attempting to start the computer with the new hdd attached crashes the kernel.
 
Old 06-29-2009, 12:03 PM   #8
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Hmm, I'm afraid this is the type of thing I'd like to be looking at rather than trying to imagine!
 
Old 06-29-2009, 03:32 PM   #9
Richard Molton
LQ Newbie
 
Registered: Nov 2004
Location: uk
Posts: 12

Original Poster
Rep: Reputation: 0
FWIW, booting up with the new drive fails and crashes the kernel whether the old ext hdd is present or not.

After starting up without the new drive and then plugging it in, the freeagent drive appears to be present in the GUI's 'Computer' window although it refuses to mount. Checking the properties it comes up as Freeagent Drive, type desktop configuration file, size unknown, location computer:/// , Mime type application/x-desktop

Does this help at all?

Last edited by Richard Molton; 06-29-2009 at 03:37 PM. Reason: extra info
 
Old 06-29-2009, 04:09 PM   #10
Richard Molton
LQ Newbie
 
Registered: Nov 2004
Location: uk
Posts: 12

Original Poster
Rep: Reputation: 0
Some more info: just in case there might be a fault in the new drive, I plugged it (and also the older drive) into MY computer (the one I have been referring to so far is the property of SWMBO). Mine is also dual boot Debian lenny/winxp (Pro, hers is home) and it worked straight away. The problem now is, do I keep the new big drive for myself or keep trying to make it work on her box?

Incidentally, on my machine the new drive is described as: Freeagent Drive, 931.5 GB,media=hard disk, UUID=D4B4F760B4F74410, fs= ntfs-3g(3.1), mount point /media/FreeAgent Drive, filesystem=fuseblk, mount options rw nosuid nodev user_id=0 group_id=0 allow_other blksize=4096
 
Old 06-29-2009, 04:29 PM   #11
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
You could create an /etc/fstab entry using the info you've just posted? That would bypass the HAL thing.
 
1 members found this post helpful.
Old 06-29-2009, 06:36 PM   #12
Richard Molton
LQ Newbie
 
Registered: Nov 2004
Location: uk
Posts: 12

Original Poster
Rep: Reputation: 0
I'm not so sure that I know precisely what to include. Good job you left a question mark in your reply! In any case, I don't know if it is appropriate to use /etc/fstab (which I thought was for hard-wired devices like the fixed hdd in the computer) when trying to mount an unpluggable thing like an ext-usb-hdd

On my computer, with both ext-hdds up and running, /etc/fstab makes no reference to any devices other than the various partitions on the fixed hdd, or the CDrom.

If fstab is the thing to do, then what needs to be added?

PS with the new ext-hdd plugged in at boot time, the box in question never even gets as far as grub so I don't think it will read anything in /etc/fstab

Last edited by Richard Molton; 06-29-2009 at 06:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changed a Seagate 1TB external drive from ntfs to ext3 and dr. reverts to RO always bernieohare Linux - Hardware 10 03-04-2009 05:59 AM
can't boot from usb: how to boot linux from ext. hard drive? bernhardtjeff Linux - Newbie 5 07-07-2006 01:42 AM
ext. usb HDD mounts read only for non root accounts logname Linux - Hardware 14 02-27-2006 04:17 PM
Unable to edit fstab... problems with ext. usb hdd removal gardyloo Linux - Newbie 1 12-27-2003 06:35 PM
Toshiba boot problems - USB ext HDD - new install wtriver Linux - Newbie 5 11-02-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration