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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
07-14-2007, 08:05 AM
#1
LQ Newbie
Registered: Apr 2006
Posts: 5
Rep:
Suse10.2 - Seagate external: mount problem
Hi!
I recently finished installing openSuse10.2 on my IBM T60 Thinkpad. As far I know everything is working fine except one thing: When I connect my 200GB external Seagate hard drive to the usb port then nothing happens. I have tried looking around for it but cannot find it. I have no problems connecting usb flash memory sticks however. My kernel is: Linux 2.6.18.8-0.5-default i686
From reading a similar thread at linuxquestions I have included the outputs of "dmesg"(last part) and "grep sd /var/log/messages" below, starting with "dmesg"
Thanks!!!
/Rafael
Output from dmesg
eth0: no IPv6 routers present
IA-32 Microcode Update Driver: v1.14a <tigran@veritas.com>
audit(1184404437.257:3): audit_pid=5232 old=0 by auid=4294967295
Non-volatile memory driver v1.2
input: /usr/sbin/thinkpad-keys as /class/input/input5
bootsplash: status on console 0 changed to on
usb 1-2: new high speed USB device using ehci_hcd and address 4
usb 1-2: new device found, idVendor=0bc2, idProduct=0500
usb 1-2: new device strings: Mfr=51, Product=85, SerialNumber=59
usb 1-2: Product: Seagate Mass Storage
usb 1-2: Manufacturer: Seagate
usb 1-2: SerialNumber: 000000000000
usb 1-2: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: ST320082 Model: 2A Rev: 0 0
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
sdb: Write Protect is off
sdb: Mode Sense: 33 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
sdb: Write Protect is off
sdb: Mode Sense: 33 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
sd 4:0:0:0: Attached scsi disk sdb
sd 4:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=195.135.221.130 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=58524 DF PROTO=TCP SPT=12993 DPT=80 WINDOW=533 RES=0x00 ACK FIN URGP=0 OPT (0101080A00069841170A1F25)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=194.71.11.69 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=49144 DF PROTO=TCP SPT=11102 DPT=80 WINDOW=499 RES=0x00 ACK FIN URGP=0 OPT (0101080A00069841470C41C0)
SFW2-INext-DROP-DEFLT-INV IN=eth0 OUT= MAC=00:15:58:7f:40:db:00:18:4d:33:91:07:08:00 SRC=195.135.221.130 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=48 ID=0 DF PROTO=TCP SPT=80 DPT=12993 WINDOW=0 RES=0x00 RST URGP=0
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=194.71.11.69 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=49145 DF PROTO=TCP SPT=11102 DPT=80 WINDOW=499 RES=0x00 ACK FIN URGP=0 OPT (0101080A00069876470C41C0)
SFW2-INext-DROP-DEFLT-INV IN=eth0 OUT= MAC=00:15:58:7f:40:db:00:18:4d:33:91:07:08:00 SRC=194.71.11.69 DST=192.168.1.2 LEN=52 TOS=0x00 PREC=0x00 TTL=60 ID=49145 DF PROTO=TCP SPT=80 DPT=11102 WINDOW=499 RES=0x00 ACK RST URGP=0 OPT (0101080A00069876470C41C0)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=195.135.221.130 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=58525 DF PROTO=TCP SPT=12993 DPT=80 WINDOW=533 RES=0x00 ACK FIN URGP=0 OPT (0101080A0006987E170A1F25)
SFW2-INext-DROP-DEFLT-INV IN=eth0 OUT= MAC=00:15:58:7f:40:db:00:18:4d:33:91:07:08:00 SRC=195.135.221.130 DST=192.168.1.2 LEN=52 TOS=0x00 PREC=0x00 TTL=60 ID=58525 DF PROTO=TCP SPT=80 DPT=12993 WINDOW=533 RES=0x00 ACK RST URGP=0 OPT (0101080A0006987E170A1F25)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=194.71.11.69 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=49146 DF PROTO=TCP SPT=11102 DPT=80 WINDOW=499 RES=0x00 ACK FIN URGP=0 OPT (0101080A000698E0470C41C0)
SFW2-INext-DROP-DEFLT-INV IN=eth0 OUT= MAC=00:15:58:7f:40:db:00:18:4d:33:91:07:08:00 SRC=194.71.11.69 DST=192.168.1.2 LEN=52 TOS=0x00 PREC=0x00 TTL=60 ID=49146 DF PROTO=TCP SPT=80 DPT=11102 WINDOW=499 RES=0x00 ACK RST URGP=0 OPT (0101080A000698E0470C41C0)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=194.71.11.69 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=49151 DF PROTO=TCP SPT=11102 DPT=80 WINDOW=499 RES=0x00 ACK FIN URGP=0 OPT (0101080A0006B28C470C41C0)
SFW2-INext-DROP-DEFLT-INV IN=eth0 OUT= MAC=00:15:58:7f:40:db:00:18:4d:33:91:07:08:00 SRC=194.71.11.69 DST=192.168.1.2 LEN=52 TOS=0x00 PREC=0x00 TTL=60 ID=49151 DF PROTO=TCP SPT=80 DPT=11102 WINDOW=499 RES=0x00 ACK RST URGP=0 OPT (0101080A0006B28C470C41C0)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=194.71.11.69 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=49152 DF PROTO=TCP SPT=11102 DPT=80 WINDOW=499 RES=0x00 ACK FIN URGP=0 OPT (0101080A0006CD0C470C41C0)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=195.135.221.130 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=58532 DF PROTO=TCP SPT=12993 DPT=80 WINDOW=533 RES=0x00 ACK FIN URGP=0 OPT (0101080A0006D504170A1F25)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=64.127.105.44 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=63341 DF PROTO=TCP SPT=17870 DPT=80 WINDOW=4446 RES=0x00 ACK FIN URGP=0 OPT (0101080A002DB8E29C02DE21)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=64.127.105.44 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=63342 DF PROTO=TCP SPT=17870 DPT=80 WINDOW=4446 RES=0x00 ACK FIN URGP=0 OPT (0101080A002DFAE29C02DE21)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=64.127.105.44 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=15585 DF PROTO=TCP SPT=17880 DPT=80 WINDOW=4275 RES=0x00 ACK FIN URGP=0 OPT (0101080A002E00DC9C03FE0E)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=64.127.105.44 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=272 DF PROTO=TCP SPT=22446 DPT=80 WINDOW=7353 RES=0x00 ACK FIN URGP=0 OPT (0101080A002E144B9C044BD1)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=64.127.105.44 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=15586 DF PROTO=TCP SPT=17880 DPT=80 WINDOW=4275 RES=0x00 ACK FIN URGP=0 OPT (0101080A002E42DC9C03FE0E)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=64.127.105.44 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=273 DF PROTO=TCP SPT=22446 DPT=80 WINDOW=7353 RES=0x00 ACK FIN URGP=0 OPT (0101080A002E564B9C044BD1)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=64.127.105.44 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=49904 DF PROTO=TCP SPT=22451 DPT=80 WINDOW=7181 RES=0x00 ACK FIN URGP=0 OPT (0101080A002E64509C058BE5)
SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.1.2 DST=64.127.105.44 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=49905 DF PROTO=TCP SPT=22451 DPT=80 WINDOW=7181 RES=0x00 ACK FIN URGP=0 OPT (0101080A002EA6509C058BE5)
Output from grep sd /var/log/messages
Jul 9 21:25:57 rafaelhost kernel: SCSI device sdb: 8011776 512-byte hdwr sectors (4102 MB)
Jul 9 21:25:57 rafaelhost kernel: sdb: Write Protect is off
Jul 9 21:25:57 rafaelhost kernel: sdb: Mode Sense: 00 26 00 00
Jul 9 21:25:57 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 9 21:25:57 rafaelhost kernel: SCSI device sdb: 8011776 512-byte hdwr sectors (4102 MB)
Jul 9 21:25:57 rafaelhost kernel: sdb: Write Protect is off
Jul 9 21:25:57 rafaelhost kernel: sdb: Mode Sense: 00 26 00 00
Jul 9 21:25:57 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 9 21:25:57 rafaelhost kernel: sdb: sdb1
Jul 9 21:25:57 rafaelhost kernel: sd 4:0:0:0: Attached scsi removable disk sdb
Jul 9 21:25:57 rafaelhost kernel: sd 4:0:0:0: Attached scsi generic sg1 type 0
Jul 9 21:25:57 rafaelhost hald: mounted /dev/sdb1 on behalf of uid 1000
Jul 9 21:45:52 rafaelhost hald: unmounted /dev/sdb1 from '/media/RAFAELWATER' on behalf of uid 1000
Jul 13 20:17:54 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 13 20:17:54 rafaelhost kernel: sdb: Write Protect is off
Jul 13 20:17:54 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 13 20:17:54 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 13 20:17:54 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 13 20:17:54 rafaelhost kernel: sdb: Write Protect is off
Jul 13 20:17:54 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 13 20:17:54 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 13 20:17:54 rafaelhost kernel: sdb: sdb1
Jul 13 20:17:54 rafaelhost kernel: sd 4:0:0:0: Attached scsi disk sdb
Jul 13 20:17:54 rafaelhost kernel: sd 4:0:0:0: Attached scsi generic sg1 type 0
Jul 13 20:20:48 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 13 20:20:48 rafaelhost kernel: sdb: Write Protect is off
Jul 13 20:20:48 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 13 20:20:48 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 13 20:20:48 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 13 20:20:48 rafaelhost kernel: sdb: Write Protect is off
Jul 13 20:20:48 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 13 20:20:48 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 13 20:20:48 rafaelhost kernel: sdb: sdb1
Jul 13 20:20:48 rafaelhost kernel: sd 5:0:0:0: Attached scsi disk sdb
Jul 13 20:20:48 rafaelhost kernel: sd 5:0:0:0: Attached scsi generic sg1 type 0
Jul 13 20:22:55 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 13 20:22:55 rafaelhost kernel: sdb: Write Protect is off
Jul 13 20:22:55 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 13 20:22:55 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 13 20:22:55 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 13 20:22:55 rafaelhost kernel: sdb: Write Protect is off
Jul 13 20:22:55 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 13 20:22:55 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 13 20:22:55 rafaelhost kernel: sdb: sdb1
Jul 13 20:22:55 rafaelhost kernel: sd 6:0:0:0: Attached scsi disk sdb
Jul 13 20:22:55 rafaelhost kernel: sd 6:0:0:0: Attached scsi generic sg1 type 0
Jul 13 20:23:55 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 13 20:23:55 rafaelhost kernel: sdb: Write Protect is off
Jul 13 20:23:55 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 13 20:23:55 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 13 20:23:55 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 13 20:23:55 rafaelhost kernel: sdb: Write Protect is off
Jul 13 20:23:55 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 13 20:23:55 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 13 20:23:55 rafaelhost kernel: sdb: sdb1
Jul 13 20:23:55 rafaelhost kernel: sd 7:0:0:0: Attached scsi disk sdb
Jul 13 20:23:55 rafaelhost kernel: sd 7:0:0:0: Attached scsi generic sg1 type 0
Jul 14 11:28:27 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 14 11:28:27 rafaelhost kernel: sdb: Write Protect is off
Jul 14 11:28:27 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 14 11:28:27 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 14 11:28:27 rafaelhost kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
Jul 14 11:28:27 rafaelhost kernel: sdb: Write Protect is off
Jul 14 11:28:27 rafaelhost kernel: sdb: Mode Sense: 33 00 00 00
Jul 14 11:28:27 rafaelhost kernel: sdb: assuming drive cache: write through
Jul 14 11:28:27 rafaelhost kernel: sdb: sdb1
Jul 14 11:28:27 rafaelhost kernel: sd 4:0:0:0: Attached scsi disk sdb
Jul 14 11:28:27 rafaelhost kernel: sd 4:0:0:0: Attached scsi generic sg1 type 0
07-14-2007, 09:23 AM
#2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
Try restarting the udev, hal and dbus daemons.
sudo /usr/sbin/rchal restart
sudo /usr/sbin/rcdbus restart
Open sysinfo:/ in konqueror. Is the drive listed? If so, can you right click and choose "mount"? Right click and select properties. If it is a vfat or ntfs drive, are the "Mount Automatically" and "Mount as user" boxes clicked. If is is an ext3 or xfs or similar Linux native filesystem, is "Mount Automatically" checked?
Does a entry exist for a /dev/sdb1 in /etc/fstab? If so, try commenting it out.
Run "sudo /usr/sbin/udevmonitor" before inserting the cable. You should see a flurry of messages as the event is handled.
The fact that inserting the drive results in a device node being created (/dev/sdb1) indicates that it was detected and a device node created by udev. You can examine the information that udev sees with the command:
udevinfo -q env -n /dev/sdb1. Keep in mind that the next time you insert the drive, /dev/sdc1 might be used instead. Especially if you had inserted a different drive since booting.
07-14-2007, 01:03 PM
#3
LQ Newbie
Registered: Apr 2006
Posts: 5
Original Poster
Rep:
Hi!
I performed the sudo commands, but when I afterwards opened sysinfo:/ the external hd drive still had not showed up.
I then tried looking in /etc/fstab and this is what I found:
dev/sda6 / ext3 acl,user_xattr 1 1
/dev/sda7 /home ext3 acl,user_xattr 1 2
/dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
So I didn't comment anything. I then turned the external of, ran sudo /usr/sbin/udevmonitor, and the turned the external on again. This is the information that was written:
UEVENT[1184435299.748097] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2
UEVENT[1184435299.748365] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/usbdev1.5_ep00
UEVENT[1184435299.748503] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0
UEVENT[1184435299.748612] add@/class/scsi_host/host5
UEVENT[1184435299.748710] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/usbdev1.5_ep02
UEVENT[1184435299.748834] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/usbdev1.5_ep88
UEVENT[1184435299.748957] add@/class/usb_device/usbdev1.5
UDEV [1184435299.913662] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2
UDEV [1184435299.913697] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/usbdev1.5_ep00
UDEV [1184435299.951976] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0
UDEV [1184435299.952012] add@/class/scsi_host/host5
UDEV [1184435299.952026] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/usbdev1.5_ep02
UDEV [1184435299.952039] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/usbdev1.5_ep88
UDEV [1184435299.956386] add@/class/usb_device/usbdev1.5
UEVENT[1184435300.750308] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host5/target5:0:0/5:0:0:0
UEVENT[1184435300.750344] add@/class/scsi_disk/5:0:0:0
UEVENT[1184435300.773809] add@/block/sdb
UEVENT[1184435300.773843] add@/block/sdb/sdb1
UEVENT[1184435300.773857] add@/class/scsi_device/5:0:0:0
UEVENT[1184435300.774924] add@/class/scsi_generic/sg1
UDEV [1184435300.776800] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host5/target5:0:0/5:0:0:0
UDEV [1184435300.778362] add@/class/scsi_disk/5:0:0:0
UDEV [1184435300.782243] add@/class/scsi_generic/sg1
UDEV [1184435301.033763] add@/class/scsi_device/5:0:0:0
UDEV [1184435301.073354] add@/block/sdb
UDEV [1184435301.119394] add@/block/sdb/sdb1
Then, the last thing I did was to run the udevinfo -q env -n /dev/sdb1. This is what was written:
ID_VENDOR=ST320082
ID_MODEL=2A
ID_REVISION=0000
ID_SERIAL=ST320082_2A_000000000000
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0
In the end I don't have any clue what to do with all this information, I hope you can help me?! I went into /dev and I found sdb1 written in yellow and black, which to a newbie like me says don't touch. But is there some type of command I can run to mount it from /dev? Just a wild guess..
/Rafael
07-14-2007, 09:27 PM
#4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
Quote:
Then, the last thing I did was to run the udevinfo -q env -n /dev/sdb1. This is what was written:
ID_VENDOR=ST320082
ID_MODEL=2A
ID_REVISION=0000
ID_SERIAL=ST320082_2A_000000000000
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0
Are you certain that you didn't enter "udevinfo -q env -n /dev/sdb". You don't have any filesystem information.
If you did enter /dev/sdb1, then I think that the filesystem is bad or missing.
Code:
udevinfo -q env -n /dev/sdc1
ID_VENDOR=SanDisk
ID_MODEL=Cruzer_Mini
ID_REVISION=0.2
ID_SERIAL=SanDisk_Cruzer_Mini_20043513301b2c90d482
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:00:02.2-usb-0:2:1.0-scsi-0:0:0:0
jschiwal@hpamd64:~> eject /dev/sdc1
jschiwal@hpamd64:~> udevinfo -q env -n /dev/sdc1
ID_VENDOR=SanDisk
ID_MODEL=Cruzer_Mini
ID_REVISION=0.2
ID_SERIAL=SanDisk_Cruzer_Mini_20051535630A02E2F57B
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:00:02.2-usb-0:2:1.0-scsi-0:0:0:0
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT16
ID_FS_UUID=3B69-1AFD
ID_FS_LABEL=CRUZER128
ID_FS_LABEL_SAFE=CRUZER128
Try running as root: fsck.vfat /dev/sdb1
Last edited by jschiwal; 07-14-2007 at 09:30 PM .
07-15-2007, 12:01 PM
#5
LQ Newbie
Registered: Apr 2006
Posts: 5
Original Poster
Rep:
Hi again and thank you soo much for taking your time in helping me with this problem of mine.
To be sure I again ran the command udevinfo -q env -n /dev/sdb1 and got the following:
rafaelhost:/home/rafael # udevinfo -q env -n /dev/sdb1
ID_VENDOR=ST320082
ID_MODEL=2A
ID_REVISION=0000
ID_SERIAL=ST320082_2A_000000000000
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0
I then tried fsck.vfat /dev/sdb1 and answered the questions put to me. This is what I got:
rafaelhost:/home/rafael # fsck.vfat /dev/sdb1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
No FSINFO sector
1) Create one
2) Do without FSINFO
? 1
Free cluster summary uninitialized (should be 2883833)
1) Set it
2) Leave it uninitialized
? 1
Leaving file system unchanged.
/dev/sdb1: 21745 files, 3219626/6103459 clusters
To see if something changed I ran the previous command again with the same result as before, and I also checked the sysinfo:/ but didn't find anything new...
rafaelhost:/home/rafael # udevinfo -q env -n /dev/sdb1
ID_VENDOR=ST320082
ID_MODEL=2A
ID_REVISION=0000
ID_SERIAL=ST320082_2A_000000000000
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0
Then, just to check, I ran fsck.vfat /dev/sdb1 again and answered differently. The result was a lot of action going on in my external hard drive, but in the end I could not see any difference.
rafaelhost:/home/rafael # fsck.vfat /dev/sdb1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
No FSINFO sector
1) Create one
2) Do without FSINFO
? 2
/dev/sdb1: 21745 files, 3219626/6103459 clusters
07-16-2007, 12:44 AM
#6
Member
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503
Rep:
Can you mount it manually as root with
mount /dev/sdb1 /mnt
and browse it as root?
Vendor: ST320082 Model: 2A Rev: 0 0
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
07-16-2007, 04:17 PM
#7
LQ Newbie
Registered: Apr 2006
Posts: 5
Original Poster
Rep:
Yes I can! But it still doesn't show up in sysinfo:/. Is there some way to make it more easily accessible for normal users?
All times are GMT -5. The time now is 08:13 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News