LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   /dev/sda1 not a valid device (https://www.linuxquestions.org/questions/linux-hardware-18/dev-sda1-not-a-valid-device-339610/)

tur third 07-03-2005 11:08 AM

/dev/sda1 not a valid device
 
I am having a problem getting my USB stick to work. It was working fine, but I have since configured my sound card and it no longer works, I wonder if I have a conflict?

I get the boot up error of:

'Mounting other filesystems :mount :none already mounted or /dev/pts busy'

If I then try to mount the usb, I get the message:

'mount: /dev/sda1 is not a valid device.

The output from lsdev:

[root@localhost proc]# lsdev
Device DMA IRQ I/O Ports
------------------------------------------------
0000:00:07.1 e000-e00f
0000:00:07.2 e400-e41f
0000:00:14.0 e800-e83f
0000:01:00.0 d000-d0ff
AudioPCI 10
cascade 4 2
dma 0080-008f
dma1 0000-001f
dma2 00c0-00df
Ensoniq e800-e83f
fpu 00f0-00ff
i8042 1 12
ide0 14 01f0-01f7 03f6-03f6 e000-e007
ide1 15 0170-0177 0376-0376 e008-e00f
keyboard 0060-006f
PCI 0cf8-0cff d000-dfff
pic1 0020-0021
pic2 00a0-00a1
r128@PCI:1:0:0 11
serial 02f8-02ff 03f8-03ff
timer 0 0040-005f
vga+ 03c0-03df
[root@localhost proc]# urpmq procinfo

Can anyone tell me whether I have a conflict, and what I should do about it?

/etc/fstab is:

/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/sda1 /mnt/removable auto umask=0,user,iocharset=iso8859-15,sync,kudzu,codepage=850,noauto,exec,users 0 0

Thanks

Matir 07-03-2005 11:13 AM

Is your USB stick being assigned the /dev/sda position? If you're using devfs, there's no guarantee it will always be /dev/sda. It could be /dev/sdb, etc.

Brian1 07-03-2005 11:16 AM

To see if it there and where type in a root terminal ' /sbin/fdisk -l '

Brian1

Matir 07-03-2005 11:27 AM

You can also do 'dmesg'.

tur third 07-03-2005 02:17 PM

Thanks, I get the following output, from /sbin/fdisk and dmesg.....

[root@localhost adam]# /sbin/fdisk -l

Disk /dev/hda: 30.7 GB, 30735581184 bytes
255 heads, 63 sectors/track, 3736 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 764 6136798+ 83 Linux
/dev/hda2 765 3736 23872590 5 Extended
/dev/hda5 765 827 506016 82 Linux swap
/dev/hda6 828 3736 23366511 83 Linux
[root@localhost adam]# dmesg
Linux version 2.6.8.1-10mdk (nplanel@n3.mandrakesoft.com) (gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)) #1 Wed Sep 8 17:00:52 CEST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
128MB LOWMEM available.
On node 0 totalpages: 32768
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 28672 pages, LIFO batch:7
HighMem zone: 0 pages, LIFO batch:1
DMI 2.0 present.
ACPI disabled because your bios is from 00 and too old
You can enable it with acpi=force
Built 1 zonelists
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Kernel command line: auto BOOT_IMAGE=linux ro root=301 devfs=nomount acpi=ht resume=/dev/hda5
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 501.159 MHz processor.
Using tsc for high-res timesource
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: 126052k/131072k available (1860k kernel code, 4444k reserved, 581k data, 200k init, 0k highmem, 0k BadRAM)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 987.13 BogoMIPS
Security Scaffold v1.0.0 initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium III (Katmai) stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
init init/main.c:689
init init/main.c:702
init init/main.c:707
do_pre_smp_initcalls init/main.c:653
do_pre_smp_initcalls init/main.c:659
init init/main.c:711
init init/main.c:714
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 501.0064 MHz.
..... host bus clock speed is 100.0212 MHz.
init init/main.c:716
init init/main.c:718
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
ACPI: Looking for DSDT in initrd ... not found!
Freeing initrd memory: 139k freed
init init/main.c:724
do_basic_setup init/main.c:634
do_basic_setup init/main.c:636
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb0d0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Disabled
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0596] at 0000:00:07.0
vesafb: probe of vesafb0 failed with error -6
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
audit: initializing netlink socket (disabled)
audit(1120397666.4294967160:0): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci0000:00:07.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: Maxtor 93073U6, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: 32X10, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 60030432 sectors (30735 MB) w/2048KiB Cache, CHS=59554/16/63, UDMA(33)
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 >
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
init init/main.c:726
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 200k freed
Generic RTC Driver v1.07
EXT3 FS on hda1, internal journal
Adding 506008k swap on /dev/hda5. Priority:-1 extents:1
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA Apollo Pro 133 chipset
agpgart: Maximum main memory to use for agp memory: 96M
agpgart: AGP aperture is 64M @ 0xe0000000
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
loop: loaded (max 8 devices)
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
inserting floppy driver for 2.6.8.1-10mdk
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET: Registered protocol family 17
PCI: Found IRQ 10 for device 0000:00:14.0
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0323b60(lo)
IPv6 over IPv4 tunneling driver
[drm] Initialized r128 2.5.0 20030725 on minor 0:
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
Intel536: no version magic, tainting kernel.
Intel536: module license 'Proprietary' taints kernel.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
PCI: Found IRQ 5 for device 0000:00:12.0
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PCI: Found IRQ 5 for device 0000:00:12.0
PPP BSD Compression module registered
PPP Deflate Compression module registered

Matir 07-03-2005 02:20 PM

It doesn't seem to be detecting your thumbdrive. Try removing it and plugging it back in to see if the output of 'dmesg' changes.

Brian1 07-03-2005 02:33 PM

What usb modules do you have? Use the command ' lsmod ' for that.

If you have a 2.0 usb system then you need the following modules
ehci-hcd
usb_storage
scsi_mod

If 1.0 1.1 usb then you need either ohci-hcd or uhci-hcd depending on then chipset plus usb_storage and scsi_mod.

Post the contents of lsmod and go from there.
Also what kernel you using?
What distro?
Brian

tur third 07-04-2005 07:17 AM

I have an idea (from another thread..) of what might be causing the problem.

During my attempts to get the alsa sound working, I deleted my /etc/modprobe.conf file ( I believe I made a copy first....)

Could this account for the USB no longer working?

Brian1 07-04-2005 10:15 AM

I would say that is the problem. This file contains most modules needed for the hardware. usually contain ethenet, sound, usb, firewire, and others.

Brian1

oneandoneis2 07-04-2005 10:22 AM

Unless you compiled USB into the kernel rather than as a module, yep, that'd be it! modprobe the modules and see how it goes then.

lsusb might be a useful command to try as well. . .

tur third 07-05-2005 03:00 AM

I restored my original /etc/modprobe.conf file and the usb now appears to mount and work as normal, thanks.

I do still get the 'FAILED' message at boot up regarding /dev/pts/. Thinking about it, I may have always had this error. Do you think this is this something I should be concerned about?


All times are GMT -5. The time now is 07:49 AM.