View previous topic :: View next topic |
Author |
Message |
eclipsed n00b
Joined: 19 May 2002 Posts: 26
|
Posted: Fri May 31, 2002 8:39 am Post subject: /dev/sda and /dev/sda4 oddity |
|
|
When trying to mount my Zip drive (built for modular support through sd_mod) I get the error that sda4 is not a valid block device, but if I try to mount /dev/sda first this seems to create the /dev/sda4 entry thus allowing me to use my drive. I'm just curious what would be causing this, and if there is a way to 'fix' it. TIA.
-Adam |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Fri May 31, 2002 9:38 am Post subject: |
|
|
what do you have in /etc/fstab?
/dev/sda4 /mnt/zip100.0 auto noauto,rw,user 0 0
I have a scsi zip but the entry for all zips is the same. A friend of mine has a usb zip and his fstab entry is the same as mine listed above. _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
zen_guerrilla Guru
Joined: 18 Apr 2002 Posts: 343 Location: Greece
|
Posted: Fri May 31, 2002 11:44 am Post subject: |
|
|
I have the same prob with usb-zip100. If I insert a zip in the drive and modprobe usb-storage /dev/sda4 appears and I can mount it. After ejecting the zip, /dev/sda4 disappears again. I guess it has something to do with devfs but is there any way to have a permanent sda4 ? |
|
Back to top |
|
|
id10t Tux's lil' helper
Joined: 18 May 2002 Posts: 100
|
Posted: Fri May 31, 2002 1:23 pm Post subject: |
|
|
I have a parallel port zip, and I just modprobe ppa and then mount /dev/sda4, and it works.
Something funky in your devfs.conf perhaps? _________________ ---
this space for rent |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Fri May 31, 2002 1:37 pm Post subject: |
|
|
id10t wrote: | I have a parallel port zip, and I just modprobe ppa and then mount /dev/sda4, and it works.
Something funky in your devfs.conf perhaps? |
I also have a parallel port zip, what settings should I specify in my kernel config? I have parport.o as a module, is that enough?
TIA |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Fri May 31, 2002 1:59 pm Post subject: |
|
|
Zu` wrote: | I also have a parallel port zip, what settings should I specify in my kernel config? I have parport.o as a module, is that enough?
TIA |
I don't have one, but look in kernel tree (/usr/src/linux) in make menuconfig Quote: | SCSI SUPPORT -> SCSI-DISK support | . the help states that you need it for parallel zip-drive. The module is called sd_mod.o. (mentioned in the first post)
But maybe you need more.... _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Fri May 31, 2002 2:03 pm Post subject: |
|
|
Quote: | I also have a parallel port zip, what settings should I specify in my kernel config? I have parport.o as a module, is that enough?
TIA |
Make sure that you compile VFat support into your kernel. That one drove me nuts to get working right. But once it did voila, a working zip drive. _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Fri May 31, 2002 2:06 pm Post subject: |
|
|
lx wrote: | I don't have one, but look in kernel tree (/usr/src/linux) in make menuconfig Quote: | SCSI SUPPORT -> SCSI-DISK support | . the help states that you need it for parallel zip-drive. The module is called sd_mod.o. (mentioned in the first post)
But maybe you need more.... |
Alright I'll build that module. What about ppa, someone mentioned this here.. Do I need that module as well? |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Fri May 31, 2002 2:21 pm Post subject: |
|
|
Zu` wrote: | Alright I'll build that module. What about ppa, someone mentioned this here.. Do I need that module as well? |
Yes probably depending on your zip drive (old/new) you have to choose between ppa / imm module (check the help)
Quote: | SCSI SUPPORT->SCSI low-lever drivers -> (you will see, starts with IOMEGA) |
Think that's it, Cya lX _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
zen_guerrilla Guru
Joined: 18 Apr 2002 Posts: 343 Location: Greece
|
Posted: Tue Jun 04, 2002 2:58 pm Post subject: |
|
|
does anyone how i could make a /dev/sda4? |
|
Back to top |
|
|
eclipsed n00b
Joined: 19 May 2002 Posts: 26
|
Posted: Wed Jun 05, 2002 4:54 am Post subject: making sda4 |
|
|
Like stated above, my system would generate a sda4 after I tried to mount sda, but I didn't like doing that (kinda beat the point of using supermount) so I added this to my /etc/devfsd.conf:
Code: |
# Create /dev/sda4 for the Zip250 drive
LOOKUP ^sda4 CFUNCTION GLOBAL mksymlink scsi/host0/bus0/target0/lun0/part4 sda4
REGISTER ^scsi/host0/bus0/target0/lun0/part4 CFUNCTION GLOBAL mksymlink $devname sda4
UNREGISTER ^scsi/host0/bus0/target0/lun0/part4 CFUNCTION GLOBAL unlink sda4
|
You may need to chane the device (scsi/host0/bus0/target0/lun0/part4) depending on your setup. This works for me so I stick with it. However, my kernel bitches with an I/O error because of sda. This happened even before I added the aforementioned lines to my devfsd.conf though. Like I said though, it works so I just let it bitch.
-Adam |
|
Back to top |
|
|
|