[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gNewSense-users] Trying to re-build fstab to read usb port drives
From: |
Adrian van Egmond |
Subject: |
[gNewSense-users] Trying to re-build fstab to read usb port drives |
Date: |
Fri, 12 Mar 2010 16:34:35 -0700 |
Recently, I wiped out my fstab using chmod 666 command on /dev and
/media while making a liveusb. Idiotic, I know! I can get the usb to
recognize but not much more. Perhaps someone can see the problem?
Here is some info:
>uname -a
Linux gnewsense 2.6.32.3-libre-lemote #1 PREEMPT Sat Jan 9 16:55:40
UTC 2010 mips64 GNU/Linux
>Fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 errors=remount-ro 0 1
/dev/hda9 /home ext3 defaults 0 2
/dev/hda8 /tmp ext3 defaults 0 2
/dev/hda5 /usr ext3 defaults 0 2
/dev/hda6 /var ext3 defaults 0 2
/dev/hda7 none swap sw 0 0
/dev/sdd1 /media/Sugar ext3 auto user,noauto 0 0
>(i added this line, the other lines self-corrected themselves in boot-up)
>sudo lsmod
Module Size Used by
nls_iso8859_1 4477 2
nls_cp437 6009 2
vfat 12857 2
fat 66438 1 vfat
snd_usb_audio 116353 0
snd_usb_lib 33145 1 snd_usb_audio
snd_hwdep 9011 1 snd_usb_audio
ext2 92021 23
ipv6 405279 14
fuse 89497 1
snd_cs5535audio 12456 2
snd_ac97_codec 179708 1 snd_cs5535audio
ac97_bus 1246 1 snd_ac97_codec
snd_pcm_oss 60637 0
snd_mixer_oss 23898 1 snd_pcm_oss
snd_pcm 112238 5
snd_usb_audio,snd_cs5535audio,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 2887 0
snd_seq_oss 47181 0
snd_seq_midi 6735 0
snd_rawmidi 29330 2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event 7124 2 snd_seq_oss,snd_seq_midi
snd_seq 94043 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 28411 2 snd_pcm,snd_seq
snd_seq_device 8872 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 86630 15
snd_usb_audio,snd_hwdep,snd_cs5535audio,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
rtl8187b 304465 0
soundcore 9205 1 snd
loongson2_cpufreq 2923 0
loongson2_clock 3352 1 loongson2_cpufreq
snd_page_alloc 7613 2 snd_cs5535audio,snd_pcm
yeeloong_laptop 18108 0
rfkill 23634 1 rtl8187b
sd_mod 44948 39
usb_storage 46306 25
scsi_mod 141536 2 sd_mod,usb_storage
>sudo dmesg | tail
[164908.860000] usb-storage: device scan complete
[164908.872000] sd 16:0:0:0: [sdo] 625142448 512-byte logical blocks:
(320 GB/298 GiB)
[164908.872000] sd 16:0:0:0: [sdo] Write Protect is off
[164908.872000] sd 16:0:0:0: [sdo] Mode Sense: 1c 00 00 00
[164908.872000] sd 16:0:0:0: [sdo] Assuming drive cache: write through
[164908.872000] sd 16:0:0:0: [sdo] Assuming drive cache: write through
[164908.872000] sdo: sdo1
[164908.920000] sd 16:0:0:0: [sdo] Assuming drive cache: write through
[164908.920000] sd 16:0:0:0: [sdo] Attached SCSI disk
[168665.296000] usb 2-2: USB disconnect, address 28
>unmounted
>tail -f /var/log/messages
Mar 11 04:00:17 gnewsense kernel: [164893.444000] usb 2-2: USB
disconnect, address 27
Mar 11 04:00:27 gnewsense kernel: [164903.704000] usb 2-2: new high
speed USB device using ehci_hcd and address 28
Mar 11 04:00:27 gnewsense kernel: [164903.844000] usb 2-2:
configuration #1 chosen from 1 choice
Mar 11 04:00:27 gnewsense kernel: [164903.852000] scsi16 : SCSI
emulation for USB Mass Storage devices
Mar 11 04:00:32 gnewsense kernel: [164908.856000] scsi 16:0:0:0:
Direct-Access Seagate FreeAgent Go 102F PQ: 0 ANSI: 4
Mar 11 04:00:32 gnewsense kernel: [164908.872000] sd 16:0:0:0: [sdo]
625142448 512-byte logical blocks: (320 GB/298 GiB)
Mar 11 04:00:32 gnewsense kernel: [164908.872000] sd 16:0:0:0: [sdo]
Write Protect is off
Mar 11 04:00:32 gnewsense kernel: [164908.872000] sdo: sdo1
Mar 11 04:00:32 gnewsense kernel: [164908.920000] sd 16:0:0:0: [sdo]
Attached SCSI disk
Mar 11 05:03:09 gnewsense kernel: [168665.296000] usb 2-2: USB
disconnect, address
>mounted (not really) write permissions error
>tail -f /var/log/messages
Mar 11 04:00:32 gnewsense kernel: [164908.920000] sd 16:0:0:0: [sdo]
Attached SCSI disk
Mar 11 05:03:09 gnewsense kernel: [168665.296000] usb 2-2: USB
disconnect, address 28
Mar 11 05:16:25 gnewsense kernel: [169461.108000] usb 2-2: new high
speed USB device using ehci_hcd and address 29
Mar 11 05:16:25 gnewsense kernel: [169461.240000] usb 2-2:
configuration #1 chosen from 1 choice
Mar 11 05:16:25 gnewsense kernel: [169461.264000] scsi17 : SCSI
emulation for USB Mass Storage devices
Mar 11 05:16:30 gnewsense kernel: [169466.264000] scsi 17:0:0:0:
Direct-Access Seagate FreeAgent Go 102F PQ: 0 ANSI: 4
Mar 11 05:16:30 gnewsense kernel: [169466.288000] sd 17:0:0:0: [sdp]
625142448 512-byte logical blocks: (320 GB/298 GiB)
Mar 11 05:16:30 gnewsense kernel: [169466.292000] sd 17:0:0:0: [sdp]
Write Protect is off
Mar 11 05:16:30 gnewsense kernel: [169466.292000] sdp: sdp1
Mar 11 05:16:30 gnewsense kernel: [169466.348000] sd 17:0:0:0: [sdp]
Attached SCSI disk
Any advice would be very much appreicated!
- [gNewSense-users] Trying to re-build fstab to read usb port drives,
Adrian van Egmond <=