VectorLinux
April 19, 2014, 09:31:11 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: mount usb hdd?  (Read 2062 times)
nubcnubdo
Vectorian
****
Posts: 675


« on: November 16, 2007, 04:34:11 pm »

I just set up an 80-gig fujitsu 2.5" drive as a usb storage device. The jumpers were set for cable select, and it wasn't being seen. Now I have removed the jumper, which action is sposed to select device 0 as master. VL-HOT does not initialize, but when I run dmesg, the fujitsu hdd is seen. What must I do to access this drive?
Code:
user:$ dmesg
Linux version 2.6.20.3 (root@vector.linux.net) (gcc version 3.4.6) #1 SMP PREEMPT Sat May 12 21:38:17 MDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end: 000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end: 00000000000a0000 type: 2
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 000000000fefc000 end: 000000000fffc000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000fffc000 size: 0000000000003000 end: 000000000ffff000 type: 3
copy_e820_map() start: 000000000ffff000 size: 0000000000001000 end: 0000000010000000 type: 4
copy_e820_map() start: 00000000fec00000 size: 0000000000001000 end: 00000000fec01000 type: 2
copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end: 00000000fee01000 type: 2
copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end: 0000000100000000 type: 2
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fffc000 (usable)
 BIOS-e820: 000000000fffc000 - 000000000ffff000 (ACPI data)
 BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
Entering add_active_range(0, 0, 65532) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->    65532
  HighMem     65532 ->    65532
early_node_map[1] active PFN ranges
    0:        0 ->    65532
On node 0 totalpages: 65532
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 479 pages used for memmap
  Normal zone: 60957 pages, LIFO batch:15
  HighMem zone: 0 pages used for memmap
DMI 2.3 present.
ACPI: RSDP (v000 ASUS                                  ) @ 0x000f6730
ACPI: RSDT (v001 ASUS   P4SE     0x42302e31 MSFT 0x31313031) @ 0x0fffc000
ACPI: FADT (v001 ASUS   P4SE     0x42302e31 MSFT 0x31313031) @ 0x0fffc100
ACPI: BOOT (v001 ASUS   P4SE     0x42302e31 MSFT 0x31313031) @ 0x0fffc040
ACPI: MADT (v001 ASUS   P4SE     0x42302e31 MSFT 0x31313031) @ 0x0fffc080
ACPI: DSDT (v001   ASUS P4SE     0x00001000 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0xe408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 20 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 10000000:eec00000)
Detected 1816.217 MHz processor.
Built 1 zonelists.  Total pages: 65021
Kernel command line: auto BOOT_IMAGE=linux ro root=301
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 251128k/262128k available (5051k kernel code, 10492k reserved, 2346k data, 388k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff4e000 - 0xfffff000   ( 708 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xd0800000 - 0xff7fe000   ( 751 MB)
    lowmem  : 0xc0000000 - 0xcfffc000   ( 255 MB)
      .init : 0xc0841000 - 0xc08a2000   ( 388 kB)
      .data : 0xc05eed58 - 0xc0839694   (2346 kB)
      .text : 0xc0100000 - 0xc05eed58   (5051 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3634.37 BogoMIPS (lpj=1817185)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Hyper-Threading is disabled
CPU: After all inits, caps: 3febfbff 00000000 00000000 00003080 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 18k freed
ACPI: Core revision 20060707
CPU0: Intel(R) Pentium(R) 4 CPU 1.80GHz stepping 04
Total of 1 processors activated (3634.37 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
NET: Registered protocol family 16
No dock devices found.
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf1520, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *9
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *9
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Enabling SiS 96x SMBus.
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 17 devices
SCSI subsystem initialized
libata version 2.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:02: ioport range 0xe400-0xe47f could not be reserved
pnp: 00:02: ioport range 0xe480-0xe4ff has been reserved
pnp: 00:02: ioport range 0xe600-0xe61f has been reserved
pnp: 00:02: ioport range 0x480-0x48f has been reserved
pnp: 00:0f: ioport range 0x3f0-0x3f1 has been reserved
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: e7000000-e7ffffff
  PREFETCH window: ef700000-febfffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 98304 bytes)
TCP bind hash table entries: 4096 (order: 3, 49152 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
Simple Boot Flag at 0x3a set to 0x1
scx200: NatSemi SCx200 Driver
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NTFS driver 2.1.28 [Flags: R/W].
JFS: nTxBlock = 1963, nTxLock = 15704
SGI XFS with ACLs, security attributes, realtime, no debug enabled
SGI XFS Quota Management subsystem
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: Invalid PBLK length [5]
ibm_acpi: ec object not found
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0c: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
xd: Out of memory.
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 3.6.14)
input: Macintosh mouse button emulation as /class/input/input2
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:02.5
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS 961B MuTIOL IDE UDMA133 controller
    ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: WDC WD800BB-00CAA1, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: LITE-ON DVDRW LDW-411S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
 hda: hda1 hda2 < hda5 >
hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
Loading iSCSI transport class v2.0-724.
Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
Adaptec aacraid driver (1.1-5[2423]-mh3)
aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.2 loaded
scsi: <fdomain> Detection failed (no card)
NCR53c406a: no available ports found
sym53c416.c: Version 1.0.0-ac
qlogicfas: no cards were found, please specify I/O address and IRQ using iobase= and irq= options<6>QLogic Fibre Channel HBA Driver
iscsi: registered transport (qla4xxx)
QLogic iSCSI HBA Driver
Emulex LightPulse Fibre Channel SCSI driver 8.1.11
Copyright(c) 2004-2006 Emulex.  All rights reserved.
seagate: ST0x/TMC-8xx not detected.
Failed initialization of WD-7000 SCSI card!
DC390: clustering now enabled by default. If you get problems load
        with "disable_clustering=1" and report to maintainers
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.4.9 (Release Date: Sun Jul 16 12:27:22 EST 2006)
megasas: 00.00.03.05 Mon Oct 02 11:21:32 PDT 2006
GDT-HA: Storage RAID Controller Driver. Version: 3.05
GDT-HA: Found 0 PCI Storage RAID Controllers
3ware Storage Controller device driver for Linux v1.26.02.002.
3ware 9000 Storage Controller device driver for Linux v2.26.02.008.
nsp32: loading...
ipr: IBM Power RAID SCSI Device Driver version: 2.3.0 (November 8, 2006)
RocketRAID 3xxx SATA Controller driver v1.0 (060426)
stex: Promise SuperTrak EX Driver version: 3.1.0.1
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
usbmon: debugfs is not available
116x: driver isp116x-hcd, 03 Nov 2005
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt 0000:00:02.2[D] -> GSI 20 (level, low) -> IRQ 20
ohci_hcd 0000:00:02.2: OHCI Host Controller
ohci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.2: irq 20, io mem 0xe6800000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:02.3[A] -> GSI 23 (level, low) -> IRQ 16
ohci_hcd 0000:00:02.3: OHCI Host Controller
ohci_hcd 0000:00:02.3: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.3: irq 16, io mem 0xe6000000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
USB Universal Host Controller Interface driver v3.0
sl811: driver sl811-hcd, 19 May 2005
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input3
input: ImPS/2 Generic Wheel Mouse as /class/input/input4
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
raid6: int32x1    476 MB/s
raid6: int32x2    632 MB/s
raid6: int32x4    460 MB/s
raid6: int32x8    433 MB/s
raid6: mmxx1     1492 MB/s
raid6: mmxx2     1875 MB/s
raid6: sse1x1     878 MB/s
raid6: sse1x2    1656 MB/s
raid6: sse2x1    2023 MB/s
raid6: sse2x2    2054 MB/s
raid6: using algorithm sse2x2 (2054 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: automatically using best checksumming function: pIII_sse
   pIII_sse  :  2316.000 MB/sec
raid5: using function: pIII_sse (2316.000 MB/sec)
sdhci: Secure Digital Host Controller Interface driver, 0.12
sdhci: Copyright(c) Pierre Ossman
wbsd: Winbond W83L51xD SD/MMC card interface driver, 1.6
wbsd: Copyright(c) Pierre Ossman
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Time: tsc clocksource has been installed.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 388k freed
EXT3 FS on hda1, internal journal
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
input: PC Speaker as /class/input/input5
sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0xe600
ACPI: PCI Interrupt 0000:00:02.7[C] -> GSI 21 (level, low) -> IRQ 17
Linux Tulip driver version 1.1.14 (May 11, 2002)
intel8x0_measure_ac97_clock: measured 50884 usecs
intel8x0: clocking to 48000
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 18
tulip0:  MII transceiver #1 config 3000 status 786d advertising 01e1.
eth0: ADMtek Comet rev 17 at MMIO 0xe5000000, 00:04:5A:41:75:62, IRQ 18.
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected SiS 645 chipset
agpgart: AGP aperture is 64M @ 0xe8000000
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 19
NVRM: loading NVIDIA Linux x86 Kernel Module  1.0-7185  Mon Apr  2 18:29:54 PDT 2007
gameport: NS558 PnP Gameport is pnp00:10/gameport0, io 0x200, speed 710kHz
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Adding 537224k swap on /dev/hda5.  Priority:-1 extents:1 across:537224k
fuse init (API version 7.8)
powernow: This module only works with AMD K7 CPUs
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (2047 buckets, 16376 max)
0000:00:0a.0: tulip_stop_rxtx() failed
eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
usb 1-2: new full speed USB device using ohci_hcd and address 2
usb 1-2: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access     FUJITSU  MHT2080AT PL     0000 PQ: 0 ANSI: 0
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
 sda: unknown partition table
sd 2:0:0:0: Attached scsi disk sda
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
usb 1-2: USB disconnect, address 2
usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 3:0:0:0: Direct-Access     FUJITSU  MHT2080AT PL     0000 PQ: 0 ANSI: 0
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
 sda: unknown partition table
sd 3:0:0:0: Attached scsi disk sda
sd 3:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
usb 2-1: USB disconnect, address 2
usb 2-1: new full speed USB device using ohci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 4:0:0:0: Direct-Access     FUJITSU  MHT2080AT PL     0022 PQ: 0 ANSI: 0 CCS
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 00 14 00 00
sda: assuming drive cache: write through
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 00 14 00 00
sda: assuming drive cache: write through
 sda: unknown partition table
sd 4:0:0:0: Attached scsi disk sda
sd 4:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
Logged
bigpaws
Vectorian
****
Posts: 1831


« Reply #1 on: November 16, 2007, 04:53:40 pm »

How about mount /dev/sg0 to /mnt/usb or any other mount point.

Should be all you need.

Bigpaws
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2503



« Reply #2 on: November 16, 2007, 05:35:15 pm »

nubcnubdo,
Is there a filesystem on the HD?
Is it partitioned?
Logged
nubcnubdo
Vectorian
****
Posts: 675


« Reply #3 on: November 16, 2007, 05:42:25 pm »

AFAIK, the hdd has been formatted with Acronis software, so there should be no filesystem or partition. I dont know for sure.

According to dmesg, VL sees the hdd as SCSI device sda. I tried the command, "mount /dev/sda to /dev/usb", as root, but didnt work, says "mount point /dev/usb does not exist"

BTW, that 80 gig hdd was noisy and suspicious, so I have swapped it out for a 20 GB TravelStar hdd.

I began this project with the expectation that the usb hdd will hot-swap. Is that realistic here?

I could put the drive on a Windows box and wipe the drive, is that what you suggest?

« Last Edit: November 16, 2007, 05:46:58 pm by nubcnubdo » Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2503



« Reply #4 on: November 16, 2007, 05:47:18 pm »

you cant mount a partition without a filesystem.
you should never mount anything into the /dev/dir.
you can partition the drive with "cfdisk /dev/sda"
after you make partitions you can format them with vasm or"mkreiserfs /dev/sda1"

HTH,
Uelsk8s
Logged
nubcnubdo
Vectorian
****
Posts: 675


« Reply #5 on: November 16, 2007, 06:12:28 pm »

With cfdisk I made one partition, bootable, Linux filesystem. Not sure how to format it, or whether formatting is necessary.

I ran command, "mount /dev/sda to mnt/usb", got error that mnt/usb does not exist. Can you suggest a specific mount destination. Here's another try:
Code:
root:# mount /dev/sda to /mnt/usb
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .

I rebooted the computer, running VL SOHO 5.8, and VL-HOT didnt initialize. So I have to mount it, and I'm not succeeding at this. Am I gonna have to mount this drive to use it, or is VL-HOT gonna recognize it at some point? Why doesnt VL-HOT show the drive?
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2503



« Reply #6 on: November 16, 2007, 06:19:01 pm »

the new partition does not have a filesystem until you format it.
try mkreiserfs /dev/sda1
after that remove the and reinsert the drive and vl-hot should mount it.
Logged
nubcnubdo
Vectorian
****
Posts: 675


« Reply #7 on: November 16, 2007, 06:23:34 pm »

Okay, I formatted it to reiserfs with VASM, rebooted, but VL-Hot is still inactive. Removed and reinserted the hdd, still no VL-Hot.

During boot, there is a udevd-event [1981] something about symlink and fd(0). The usb hdd is checked (red light comes on) and after about 10 seconds, boot continues.

EDIT: That's odd, I tried to format the usb hdd again with VASM and the partition doesnt show up. [This happened because hot-plugging failed and the hdd wasnt detected again; the hdd doesnt show up after a hot-plug attempt.]
« Last Edit: November 16, 2007, 06:59:49 pm by nubcnubdo » Logged
nubcnubdo
Vectorian
****
Posts: 675


« Reply #8 on: November 16, 2007, 06:40:54 pm »

It's working now. But it doesnt hot-plug. Maybe it only does that with Windows. Can you suggest several examples of commands that might mount this drive manually from Terminal/Konsole. Now VASM shows the usb hdd as sda1.
« Last Edit: November 16, 2007, 06:47:02 pm by nubcnubdo » Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2503



« Reply #9 on: November 16, 2007, 07:09:08 pm »

all you should need is "mount /dev/sda1 /mnt/pendrive"
you do need to make sure /mnt/pendrive exists. you can do that with "ls /mnt/pendrive"
if it says cant access /mnt/pendrive then you will have to create the dir like this "mkdir /mnt/pendrive"
there are lots of options you can use with mount  "man mount" will show them
if you want to be able to mount and unmount as reg user add this line to /etc/fstab
"/dev/sda2 /mnt/pendrive reiserfs users"
after you add that line you just have to type "mount /dev/sda1" to mount and "umount /dev/sda1" to unmount

HTH,
Uelsk8s
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #10 on: November 17, 2007, 04:32:43 am »

Please post the output of: fdisk -l (that's a lowercase L) with drive inserted and removed.

Please open 2 terminals (or 2 konsole tabs) and leave the following commands running, then plug in the drive (post the output here too):

tail -f /var/log/messages
udevmonitor

Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
nubcnubdo
Vectorian
****
Posts: 675


« Reply #11 on: November 17, 2007, 09:25:23 pm »

Joe1962,
I'll get around to running those diagnostic on Monday at the earliest.

Meanwhile, I am having second thoughts on whether I really want to hot-plug a hdd that spins up and spins down. This activity might shorten the life of the drive. Is this a common practice, hot-plugging a usb hdd, or do I have unrealistic expectations?
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #12 on: November 18, 2007, 03:32:37 pm »

I've been using external USB HDDs for quite a few years now and never had a problem. None of them ever broke, rather I passed them on to someone else when I upgraded. My current one is a 160GB 7200 RPM Maxtor drive that I popped into a USB box about 3 years ago. It hasn't failed me yet and I use it almost as I would a pendrive. Of course, if you intend to use it (for example) once every 15 minutes over period of an hour or so, don't unplug after each copy operation, rather leave it on until you're done. You can follow a (relatively) similar logic as deciding when to switch off a PC, or leave it running for some near-future use, though the timespans involved would probably be smaller in the case of an external HDD.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!