New Mandrake penguin of the order seeks assistance urgently.

The noble Order of the Knights of Jubal traces its origins back to the Year Two Thousand A.D., when a group of distinguished persons of good and true character, founded the order to promote chivalry and honour. The order takes its name from our leader, Alexander Jubal McRae, who on two (so far) occasions has been seriously injured, in one case fatally, defending an innocent woman from attackers.

Moderators: Jamie, Greg

Postby Josh the Aspie on Fri Jun 08, 2001 1:34 am

EEp. So the drive has to be listed as an SCSI to enable the writablility? *little smile* thanks, now at least I know to go back and reinstall my linux to enable SCSI support again and list the drive as an SCSI. I'll try to make sence of mounting the CDs avterwards. THANK YOU!!!<P>------------------
No one can escape themselves forever, not even death. - Me
Tiss a poore minde indeede that kin only finde one way to spelle a worde.
Josh the Aspie
Grand Poobah Keenspotter
 
Posts: 756
Joined: Thu Mar 22, 2001 12:00 am
Location: Omaha NE USA

Postby Josh the Aspie on Fri Jun 08, 2001 3:41 am

I can't even find the CD drives.<P>------------------
No one can escape themselves forever, not even death. - Me
Tiss a poore minde indeede that kin only finde one way to spelle a worde.
Josh the Aspie
Grand Poobah Keenspotter
 
Posts: 756
Joined: Thu Mar 22, 2001 12:00 am
Location: Omaha NE USA

Postby Vaughn on Fri Jun 08, 2001 4:11 am

Er... that's a problem?<P>If you have an IDE drive (and aren't using SCSI emulation, which is required to burn CDs), then you'll find it at /dev/hdx, where x is one of a, b, c or d, usually b or c. (A is pretty much guaranteed to be a HD, and the only way it can be D is if something else is using C. They correspond to Primary Master, Primary Slave, Secondary Master, Secondary Slave.)<P>Now, if you're using SCSI emulation or a real SCSI CD-drive, they will be mapped to /dev/scdN, where N is anything from 0 upwards. They're all CD-drives, starting at 0.<P>However, given your newbie status I assume you just want to get at the filesystem on the CDs, which these devices won't help you with - they're block devices, not directories, and are mostly great for getting ISO images.<P>Here's a useful command:<P>mount /dev/hdb /cdrom<P>This will mount the drive at /dev/hdb to the directory /cdrom (assuming /cdrom exists...), and usually has to be run as root.<P>/cdrom can be any existing directory, and if there's anything in it it will simply be obscured until you unmount it.<P>Most GUIs have systems for automating this, but I take it your version doesn't.<P>Please note that you will be *unable* to eject the CD until you unmount it or restart your computer, so unmount it with the command<P>umount /cdrom<P>when you're done.<P>That should be all - look at <A HREF="http://www.linuxdoc.org" TARGET=_blank>www.linuxdoc.org</A> for more knowledge.
<P>------------------

I had a .sig, but I lost it.
User avatar
Vaughn
Grand Poobah Keenspotter
 
Posts: 441
Joined: Sun Apr 01, 2001 12:00 am
Location: Lost in infinite time

Postby Vaughn on Fri Jun 08, 2001 4:17 am

No, wait a minute.<P>Just telling your computer it's an SCSI drive when it isn't won't do you any good; you need to enable SCSI *emulation* in the kernel, which will usually require a kernel compile.
Maybe there's a precompiled kernel with these settings in your distribution, but I doubt it.. recompiling will give you far better performance anyway.<P>One gotcha: You need to *dis*able the IDE ATAPI CD-ROM driver as well, or tell it not to load on the kernel command line.
The former is easier...
Also, you *can* build these drivers as modules, but compiling them directly into the kernel would be easiest.
And... now I'm assuming you know how to do any of this. Check <A HREF="http://www.linuxdoc.org." TARGET=_blank>www.linuxdoc.org.</A>
<P>------------------

I had a .sig, but I lost it.
User avatar
Vaughn
Grand Poobah Keenspotter
 
Posts: 441
Joined: Sun Apr 01, 2001 12:00 am
Location: Lost in infinite time

Postby Jim Brockman on Fri Jun 08, 2001 5:22 am

Cool, it took me two weeks digging around in books to find out how to mount my cd-rom.<P>Next time I give Tux a try I know where to come for help. (Except one of the things I never figured out was how to get the modem to work. <IMG SRC="http://www.keenspot.com/KeenBoard/biggrin.gif"><P>------------------
Jim Brockman CI<p>[This message has been edited by Jim Brockman (edited 06-08-2001).]
Jim Brockman
Keenspotter Supreme
 
Posts: 139
Joined: Tue May 29, 2001 11:00 pm
Location: Oklahoma

Postby Aeenzawthi on Sun Jun 10, 2001 8:01 am

Goshness..... I love seeing so much Flipper talk, especially in an area formed from Ideals and Ideas older than technology.<P>(of course, the fact that I tend to think of myself as a Technopagan doesn't make any of it seem strange in the slightest!)<P>I too am more than happy to help (and seek help) in Linux related information services. I've currently Run RedHat 5.0, 5.1, 6.0 and 6.2, as well as Mandrake 7.0. I also have a Sun Sparc box running Solaris, but I don't know what version cause I got it for free and don't have an SGI monitor for it, so I'm in the process of making a hardware dongle to run the display to a PC-SVGA monitor. :-)<P>I also like helping in Windows related areas, device peripherals, registry, etc.
Aeenzawthi
Junior Keenspotter
 
Posts: 9
Joined: Sat Jun 09, 2001 11:00 pm
Location: Portland, OR USA

Postby BandMan2K on Sun Jun 10, 2001 10:03 am

this is where i would bow out gracefully and run like hell away. TOO MUCH INFO!!! NO WAY TO DECIFER IT!!!<P>Thank God for Sir Silver, he helps me anytime he can.<P><P>------------------
Sir Howard Seelye, KI:
Order of the Knights of Jubal (PIQE)<P>"Don't go getting me angry... not if you value your life!!"
Duo Maxwell, Gundam Wing<P>---begin CRFH!!! code---
F U+ IRC+ R RM--- H PSL++ FW S FR- WB- GN++ AI++ D&M BR- RPG- FDS-- BSL N P+++ W++ I+ E
---end CRFH!!! code---
User avatar
BandMan2K
Grand Poobah Keenspotter
 
Posts: 273
Joined: Fri Jan 26, 2001 12:00 am
Location: GGG Orbital Base

Postby Aeenzawthi on Mon Jun 11, 2001 1:54 am

Linux can actually burn to an IDE/ATAPI drive now, unless I've severely mis-read the doc's and man pages for Mandrake 7.0 and RedHat 7.2 <or is that the other way around...?>. It all depends on what your Kernel version is, and wether or not the proper library(ies) and module info is loaded. Note that in order to burn adequately, it must be done in an XWindows session, so possibly having load as a module as opposed to a kernel bash would be best IMOO <In My Opinion Only>. The best question to be asked to be able to answer yours is <and I'm pretty sure I missed it somewhere around here> What distribution of Linux are you running, and what's it's kernel version number?
Aeenzawthi
Junior Keenspotter
 
Posts: 9
Joined: Sat Jun 09, 2001 11:00 pm
Location: Portland, OR USA

Postby Silver Adept on Mon Jun 11, 2001 11:31 am

Hmm. Penguin novice I am, as well, but the SCSI thing intigues me. <P>First, where should one look to enable SCSI emulation... <P>and second, why can't Linux write to an IDE/ATAPI drive? <P>(Oh well, my burning will probably be M$ anyway, but I thought I'd ask.)
User avatar
Silver Adept
Keenspot Juggernaut
 
Posts: 3658
Joined: Tue Oct 10, 2000 11:00 pm
Location: The Lake of Grass in Michigan

Postby Vaughn on Tue Jun 12, 2001 3:14 am

No, it can't.
The problem is that when the CD-ROM drivers (ATAPI *and* SCSI) were designed, nobody thought that burning would happen anytime soon, so the interface simply isn't there.
Adding it would break most existing applications that use IOCTLs, therefore the solution being used is that of using the SG (SCSI Generic) driver instead, providing a direct interface to the drive.
In effect, CD burning is handled in user space instead of kernel space, where all reading is done.<P>Now, there is no such thing as an Generic IDE interface, and no need for it either - instead we use SCSI emulation.<P>Theoretically a patch could add writing ability by simply permitting write calls to the block device, but you'd lose a lot of control, and cdrecord is already there.
User avatar
Vaughn
Grand Poobah Keenspotter
 
Posts: 441
Joined: Sun Apr 01, 2001 12:00 am
Location: Lost in infinite time

Postby Josh the Aspie on Fri Jun 15, 2001 3:00 am

sooo.... what do I do?
Josh the Aspie
Grand Poobah Keenspotter
 
Posts: 756
Joined: Thu Mar 22, 2001 12:00 am
Location: Omaha NE USA

Postby Silver Adept on Sun Jun 17, 2001 11:31 am

All right, here's the sifted-down version. <P>Your kernel/GUI should detect that you have the CD drive there, correct? <P>(I'm running KDE, by the way...) <P>Then, from the console, you'll need to use the MOUNT command to access your drive and set a folder for it. <P>mount /dev/hd(X) (Where X is the letter of your CD drive, probably b) /cdrom<P>Then, you can acess the /cdrom directory. To change CD's or other things, you must <P>UNMOUNT /cdrom. <P>Then Mount again when the CD's are changed. <P>(K does this automatically, thank goodness...)
User avatar
Silver Adept
Keenspot Juggernaut
 
Posts: 3658
Joined: Tue Oct 10, 2000 11:00 pm
Location: The Lake of Grass in Michigan

Postby Josh the Aspie on Sun Jun 24, 2001 5:42 am

Well, I'm running KDE, on my mandrake 8.0, and I still can't find the CDrom drive, so I might as well go back to running gnome and do the manual mounting, jou?
Josh the Aspie
Grand Poobah Keenspotter
 
Posts: 756
Joined: Thu Mar 22, 2001 12:00 am
Location: Omaha NE USA

Postby Josh the Aspie on Mon Jun 25, 2001 12:15 am

Well, I can now mount my CD. YEY!!! but I still have trouble running programs outside of the terminal mode
Josh the Aspie
Grand Poobah Keenspotter
 
Posts: 756
Joined: Thu Mar 22, 2001 12:00 am
Location: Omaha NE USA

Postby Josh the Aspie on Mon Jun 25, 2001 6:48 am

I have an exe file in linux that I just can not run. I double click in the nautalus file folder, it does nothing. I try to run it under terminal mode. still nothing. I enable every permision I can think of on the file..... still nothing.<P>------------------
No one can escape themselves forever, not even death. - Me
Tiss a poore minde indeede that kin only finde one way to spelle a worde.
Josh the Aspie
Grand Poobah Keenspotter
 
Posts: 756
Joined: Thu Mar 22, 2001 12:00 am
Location: Omaha NE USA

Postby Silver Adept on Tue Jun 26, 2001 10:46 am

Waitasec... .exe type file? <P>Is it a Windows format type of .exe? <P>Is it something that is not Linux-native, because if it is, you might need a program like WINE to run it. <P>.exe are Windows executables, usually. With the Win Emulator (WINE) you can run them... although not neceessarily as well as in Windows native environs...<P>Addendum: I'm running Mandrake 8.0, and I know there's a command somewhere in that kernel that will do mount/unmount. What is it, and how do I get to it?<p>[This message has been edited by Silver Adept (edited 06-27-2001).]
User avatar
Silver Adept
Keenspot Juggernaut
 
Posts: 3658
Joined: Tue Oct 10, 2000 11:00 pm
Location: The Lake of Grass in Michigan

Postby Josh the Aspie on Wed Jun 27, 2001 9:06 am

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Silver Adept:
<B>Waitasec... .exe type file? <P>Is it a Windows format type of .exe? <P>Is it something that is not Linux-native, because if it is, you might need a program like WINE to run it. <P>.exe are Windows executables, usually. With the Win Emulator (WINE) you can run them... although not neceessarily as well as in Windows native environs...<P>Addendum: I'm running Mandrake 8.0, and I know there's a command somewhere in that kernel that will do mount/unmount. What is it, and how do I get to it?<P>[This message has been edited by Silver Adept (edited 06-27-2001).]</B><HR></BLOCKQUOTE><P>well I got it as a linux self extracting exicutable off of download.com. *shrugs*<P>And the command is supermount. After you've mounted your drives, type in supermount enable, that'll edit the /ect/fstab file to automaticaly mount and unmount your removable medium when you change disks. It wa Kewl Desu, ne?
Josh the Aspie
Grand Poobah Keenspotter
 
Posts: 756
Joined: Thu Mar 22, 2001 12:00 am
Location: Omaha NE USA

Postby Vaughn on Tue Jul 03, 2001 5:56 am

What you should be aware of, though, is that while this works for CDs, doing it to a floppy is bad mojo, as floppy drives don't report a ejection request. (How can they? The ejection is manual, the best they could do is report the floppy *has been* ejected, which is a bit late to write your data)<P>Therefore, floppys must either
A: Be mounted/unmounted manually, or
B: Be used on a synced basis, usually by using the floppy:// KDE ioslave.<P>One funny thing though, Linux won't let you unmount a drive that is in use, where "in use" may just mean having $((pwd))=$mountpoint, however, it *will* let you do rm -rf .
Huh.<P><P>------------------

I had a .sig, but I lost it.
User avatar
Vaughn
Grand Poobah Keenspotter
 
Posts: 441
Joined: Sun Apr 01, 2001 12:00 am
Location: Lost in infinite time

Postby Silver Adept on Wed Jul 11, 2001 11:17 am

Oh, well. We never claimed that this was a perfect OS... just working very hard at making it good. <P>Which reminds me... one other question. <P>How does one do a kernel compile? (or any other compiling for that matter, considering that a lot of Linux programs need a compile before they'll work.)
User avatar
Silver Adept
Keenspot Juggernaut
 
Posts: 3658
Joined: Tue Oct 10, 2000 11:00 pm
Location: The Lake of Grass in Michigan

Postby Aeenzawthi on Sun Aug 05, 2001 12:30 am

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Vaughn:
<B>No, it can't.
The problem is that when the CD-ROM drivers (ATAPI *and* SCSI) were designed, nobody thought that burning would happen anytime soon, so the interface simply isn't there.
Adding it would break most existing applications that use IOCTLs, therefore the solution being used is that of using the SG (SCSI Generic) driver instead, providing a direct interface to the drive.
In effect, CD burning is handled in user space instead of kernel space, where all reading is done.<P>Now, there is no such thing as an Generic IDE interface, and no need for it either - instead we use SCSI emulation.<P>Theoretically a patch could add writing ability by simply permitting write calls to the block device, but you'd lose a lot of control, and cdrecord is already there.</B><HR></BLOCKQUOTE><P>>Reply Here:
Looking under the user menu of Gnome installed by RedHat 7.1, I see under Applications sonmething called X-CD-Roast. Which does burn to IDE-ATAPI drives, like the Iomega one I have. So, I don't know what's changed, but my original statement of linux now being capable of burning to IDE drives is correct. Granted, the X-CD-Roast will need to run a SCSI "Emulator" to be able to burn, this is no different than what Windows does to accomplish the task.
Aeenzawthi
Junior Keenspotter
 
Posts: 9
Joined: Sat Jun 09, 2001 11:00 pm
Location: Portland, OR USA

 

Return to Eqvites Ivbalis, Order of the Knights of Jubal

Who is online

Users browsing this forum: No registered users and 1 guest

cron