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 09-03-2004, 05:49 PM   #1
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Rep: Reputation: 30
zip drive alternately mounts on /sda and /sdb


I have a zip drive that alternately mounts on /dev/sda and /dev/sdb each time I reboot. I'm not positive that it switches EVERY time, but it's pretty close to it. My system is the same each time I boot, so am confused as to why the alternation. It is somewhat of a pain because I'm trying to wean my wife from windoze and have a desktop icon set up for mounting and I really want some consistency.
 
Old 09-03-2004, 09:07 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
my zip (para port, 250 mb) always stays mounted to /dev/sda4
is yours external or internal?? is it para port or USB??
what do you have listed in /etc/fstab

???
 
Old 09-03-2004, 11:57 PM   #3
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
That's pretty strange. I thought the system allocated the devices sequentially, so if you had a /dev/sdb then /dev/sda must be in use for something else. Try also command

dmesg | grep /dev/sd

to see what else might be around when zip is at /dev/sdb.
 
Old 09-11-2004, 09:37 AM   #4
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Original Poster
Rep: Reputation: 30
Sorry to have taken so long to get back. Here is my output for "dmesg | grep sd"

UMSDOS: msdos_read_super failed, mount aborted.
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
sda: Unit Not Ready, sense:
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sns = 70 2
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: I/O error: dev 08:00, sector 0
Attached scsi removable disk sdb at scsi2, channel 0, id 6, lun 0
SCSI device sdb: 489532 512-byte hdwr sectors (251 MB)
sdb: Write Protect is off
sdb: sdb4
sda: Unit Not Ready, sense:
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
sda: Unit Not Ready, sense:
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0

Since "scsi" came up in the above, here's the result of "dmesg | grep scsi"

tim@sbc:~$ dmesg | grep scsi
Kernel command line: auto BOOT_IMAGE=SLACK ro root=2141 hdb=ide-scsi
ide_setup: hdb=ide-scsi
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
hdb: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
scsi1 : SCSI emulation for USB Mass Storage devices
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
scsi2 : Iomega VPI2 (imm) interface
Attached scsi removable disk sdb at scsi2, channel 0, id 6, lun 0


It is an external parallel port zip drive

here's fstab:

/dev/hdf1 / reiserfs defaults 1 1
/dev/hdf2 /home reiserfs defaults 1 2
/dev/hde1 /windows vfat gid=100,umask=002,noexec,nosuid 0 0
/dev/hde2 /w2 vfat defaults 1 0
/dev/hde3 /w3 vfat defaults 1 0
/dev/hde5 /w4 vfat defaults 1 0
/dev/hde6 /w5 vfat defaults 1 0
/dev/sdb1 /mnt/camera vfat noauto,users 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/sda4 /mnt/zip vfat noauto,user 0 0
#/dev/sdb4 /mnt/zip vfat noauto,user 0 0
proc /proc proc defaults 0 0
/dev/hdf6 /suse reiserfs defaults 0 0

I alternately comment/uncomment depending on the mood of my system. Today it likes sdb4, but when I tried sda4 as above, I get:

mount: /dev/sda4 is not a valid block device
 
Old 09-15-2004, 07:30 AM   #5
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The ref to /mnt/camera suggests you may sometimes have a USB device (like a camera) attached. That could certainly have an effect on device allocation.

I don't know how to interpret the error messages. There is file called parport.txt in the kernel source (in Documentation subdir) which has some relevant looking info.

What kernel version is this?
 
Old 09-26-2004, 09:12 AM   #6
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Original Poster
Rep: Reputation: 30
The camera usb cable is always plugged into the computer at boot, but the camera is never hooked up on boot, and it is rarely used anyway, so that is constant. I am using the current slack10 kernel, 2.4.26 I believe. I didn't see anything in parport.txt that looked useful to my situation.
 
Old 09-26-2004, 10:00 AM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The kernel messages seem to indicate a faulty USB mass storage device is detected, and this is occupying /dev/sda. It seems unlikely, but maybe the camera cable itself is generating some spurious feedback when the port is probed. Anyway, that is all I can think of.
 
  


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
forcing the order of /dev/sda /dev/sdb etc.. jdaniel Linux - Software 5 05-23-2006 07:41 AM
Firewire disc adds multiple devices to kernel 2.6 (sda, sdb, .. , sdh) mehlkelm Linux - Hardware 2 04-18-2005 08:54 AM
partitioning hard drive (sda) for instalation anubis26 Fedora - Installation 2 01-14-2005 10:20 PM
mount USB devices, sda, manually/statically assign sda? Oxyacetylene Debian 3 12-20-2004 02:45 PM
Cannot Install Bootloader, XP on hda, Linux on sdb (USB MASS STORAGE DRIVE) neo5064 Linux - Newbie 3 12-29-2003 04:57 PM

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

All times are GMT -5. The time now is 10:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration