LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-28-2003, 02:35 AM   #1
lado
Member
 
Registered: Apr 2003
Location: Greece
Distribution: Red Hat 8.0, SuSE 8.2
Posts: 36

Rep: Reputation: 15
Question Red Hat 8.0 flash


Hallo,
I have a USB removable flash memory card (diskonkey). I edited the fstab file and i can see it properly. The problem is that when i remove it, the entry in fstab for my cdr is removed! A copy of fstab follows:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdd3 swap swap defaults 0 0
/dev/hdb /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/windowsc vfat defaults 0 0
/dev/hda6 /mnt/windowsd vfat defaults 0 0
/dev/hda5 /mnt/windowse ntfs defaults 0 0
/dev/sda1 /mnt/diskonkey vfat noauto,owner,kudzu 0 0
/dev/scd0 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0


The line about sdc0 is gone after i remove the flash card, but the one about sda1 (which is the card) stays! Also the folder /mnt/cdrom1 is deleted as well, but not the folder /mnt/diskonkey.
Remember, desperate NEWBIE here!
 
Old 04-28-2003, 04:32 PM   #2
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
u r probably using scsi emulation for your cd. flash uses some of this also.
you might have to re-insmod some modules after removing flash
 
Old 04-29-2003, 04:40 AM   #3
lado
Member
 
Registered: Apr 2003
Location: Greece
Distribution: Red Hat 8.0, SuSE 8.2
Posts: 36

Original Poster
Rep: Reputation: 15
Actualy,
i do use SCSI emulation for my CDR, but i did not understand what exactly i have to do here. What do you mean by saying re-insmod some modules after removing flash???


 
Old 04-29-2003, 09:13 AM   #4
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
hmm, it might not be a module issue.
Since both are SCSI emulated, the 1st in (flash) might "capture" scd0 and the cd gets scd1
Try scd1 as the CD.

If this does not work, check the modules. Below are the modules added when I mount my CD. I have a scsi controller, so there may be additional modules
nls_iso8859-1
isofs
inflate_fs
ide-scsi
sr_mod
scsi_mod
cdrom
 
Old 04-29-2003, 09:23 AM   #5
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
with my scsi emulation, I must mount
/dev/scd0 /mnt/cd
you are mounting /dev/hdb. Have you always done this and been able to write audio cd's?

If you are emulating, cat /proc/scsi/ide-scsi/* should show:
"SCSI host adapter emulation for IDE ATAPI devices"
 
Old 04-30-2003, 01:26 AM   #6
lado
Member
 
Registered: Apr 2003
Location: Greece
Distribution: Red Hat 8.0, SuSE 8.2
Posts: 36

Original Poster
Rep: Reputation: 15
arnold,
/proc/scsi/ide-scsi/* does show "SCSI host adapter emulation for IDE ATAPI devices". How can i check the modules? Only my cdr is scsi emulated, not my dvd. I also tried scd1 as the cdr, but nothing. Thanks for your time arnold (if you think of anything else i can do, pleaseeeeee inform me)
 
Old 04-30-2003, 09:31 AM   #7
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
makewhatis
apropos module|grep 8


with my scsi emulation, I must mount
/dev/scd0 /mnt/cd
you are mounting /dev/hdb.

Have you always done this ???
 
Old 04-30-2003, 01:23 PM   #8
lado
Member
 
Registered: Apr 2003
Location: Greece
Distribution: Red Hat 8.0, SuSE 8.2
Posts: 36

Original Poster
Rep: Reputation: 15
apropos module|grep 8
The result is:
depmod (8) - handle dependency descriptions for loadable kernel modules
hisaxctrl (8) - configure HiSax-Module
insmod (8) - install loadable kernel module
Linux-PAM [pam] (8) - Pluggable Authentication Modules for Linux
lsmod (8) - list loaded modules
mkinitrd (8) - creates initial ramdisk images for preloading modules
modinfo (8) - display information about a kernel module
modprobe (8) - high level handling of loadable modules
module_upgrade (8) - changes obsolete modules.conf entries to current ones
rmmod (8) - unload loadable modules
rmt (8) - remote magtape protocol module
usbmodules (8) - List kernel driver modules available for a plugged in USB device

i am mounting /dev/hdb to /mnt/cdrom because /dev/hdb is my dvd
(what is wrong with that???). My dvd is not scsi emulated, but using only my cdr i can write audio cd`s
 
Old 04-30-2003, 02:13 PM   #9
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
my confusion- i did not note u have cdrom(dvd) and cdrom1.
/dev/hdb is OK.
you should man lsmod and the *mod* pages for info on modules.

if the modules are present, try cdrecord -scanbus. This should show the cd. If the cd is present, but not scd0 or scd1, i am running out of suggestions.

you can try commenting /dev/sda1 from fstab and rebooting to check if there is some sort of a conflict between the devices.
 
Old 05-01-2003, 01:38 AM   #10
lado
Member
 
Registered: Apr 2003
Location: Greece
Distribution: Red Hat 8.0, SuSE 8.2
Posts: 36

Original Poster
Rep: Reputation: 15
arnold,
a friend of mine uses SuSE 8.1 and he has no problem using the flash memory. Since i use the flash frequently (and costs rather a lot) i am thinking of changing to SuSE. Nevertheless, bash cannot find command lsmod, although there are manual entries for it and i installed everything. cdrecord -scanbus does show the cd not as scd1 or scd0, but as dev=0,0,0
 
Old 05-01-2003, 08:46 AM   #11
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
hmm- u originally said "when i remove it, the entry in fstab for my cdr is removed!" what was removed? r u saying there are "b4 and after" fstab's?

also what do you mean by "the folder /mnt/cdrom1 is deleted as well" - is the directory gone, or its contents?

does your cdr have a cd in it when this "problem" occurs?
is it digital or audio?

u have noauto for both cdrom and flash in fstab - are you manually mounting both devices?

b4 u remove the flash, what do /mnt/diskonkey and /mnt/cdrom1 contain?
after removal, what do they contain?

do you umount /dev/sda1 b4 removing the flash?

*mod* - add /sbin to your path - check the modules

0,0,0 is /dev/sda1 or /dev/scd0
 
Old 05-01-2003, 09:56 AM   #12
lado
Member
 
Registered: Apr 2003
Location: Greece
Distribution: Red Hat 8.0, SuSE 8.2
Posts: 36

Original Poster
Rep: Reputation: 15
yes, there are before and after fstab`s. The line /dev/scd0 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
is gone as well as the directory /mnt/cdrom1 where cdr is normally mounted. The problem is the same regardless of having a cd (any kind) in or not (i checked it). Now that you mention it, although i have noauto in my cdr and dvd entries they are both aytomatically mounted when i insert a cd!!! Before i remove the flash cdrom1 contains cdr files and diskonkey flash files (normal). I do umount the flash before i remove it. Maybe there was an instalation problem? What do you think of SuSE?
 
Old 05-01-2003, 09:59 AM   #13
lado
Member
 
Registered: Apr 2003
Location: Greece
Distribution: Red Hat 8.0, SuSE 8.2
Posts: 36

Original Poster
Rep: Reputation: 15
and 0,0,0 is /dev/scd0 (as i believe it should)
 
Old 05-01-2003, 01:13 PM   #14
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
my /etc/fstab is unchanged from Nov 7, 2002.

I finally noticed you have "kudzu" in your fstab entry. I am not familiar with this, but I think it changes your fstab and is causing the problem. You can try removing kudzu from this entry.

try google
kudzu fstab

and
man kudzu
 
Old 05-01-2003, 01:32 PM   #15
lado
Member
 
Registered: Apr 2003
Location: Greece
Distribution: Red Hat 8.0, SuSE 8.2
Posts: 36

Original Poster
Rep: Reputation: 15
arnold,
THAT WAS IT!!! I removed kudzu from fstab and everything works perfectly. Thanks a lot You helped me a lot indeed!
 
  


Reply



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
usin' a USB Flash memory on Red Hat 9.0 villajohn Red Hat 3 07-06-2005 07:19 PM
flash installation tutorial for suse 9 and red hat 9? santasballz Linux - Newbie 3 02-01-2004 08:46 PM
Compact flash reader in Red Hat 9.0 shankariyer Linux - Hardware 0 10-26-2003 06:51 PM
macromedia shockwave flash on red hat 9 ronss Linux - Software 2 09-18-2003 05:12 AM
red hat 8 macro-media shockwave flash ronss Linux - Software 2 12-04-2002 01:49 AM

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

All times are GMT -5. The time now is 05:30 AM.

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
Open Source Consulting | Domain Registration