Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/sda and /dev/sda4 oddity
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eclipsed
n00b
n00b


Joined: 19 May 2002
Posts: 26

PostPosted: Fri May 31, 2002 8:39 am    Post subject: /dev/sda and /dev/sda4 oddity Reply with quote

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
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Fri May 31, 2002 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message
zen_guerrilla
Guru
Guru


Joined: 18 Apr 2002
Posts: 343
Location: Greece

PostPosted: Fri May 31, 2002 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
id10t
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2002
Posts: 100

PostPosted: Fri May 31, 2002 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Fri May 31, 2002 1:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Fri May 31, 2002 1:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Fri May 31, 2002 2:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Fri May 31, 2002 2:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Fri May 31, 2002 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
zen_guerrilla
Guru
Guru


Joined: 18 Apr 2002
Posts: 343
Location: Greece

PostPosted: Tue Jun 04, 2002 2:58 pm    Post subject: Reply with quote

does anyone how i could make a /dev/sda4?
Back to top
View user's profile Send private message
eclipsed
n00b
n00b


Joined: 19 May 2002
Posts: 26

PostPosted: Wed Jun 05, 2002 4:54 am    Post subject: making sda4 Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum