LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Yoper
User Name
Password
Yoper This forum is for the discussion of Yoper Linux.

Notices


Reply
  Search this Thread
Old 12-02-2004, 08:23 PM   #1
mac57
Member
 
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253

Rep: Reputation: 30
Where is My Zip Drive, and Midnight Commander Madness


Hi fellow Yoper'ers. I installed Yoper 2.1 a week or so ago, and now have had enough time to try out all of my physical devices. I have managed to get access to my USB memory stick and to my Firewire harddrive, but I cannot figure out where my Zip drive is. Physically, it is an internal IDE drive, and so I expected it to be /dev/hdb. No luck. Does anyone out there have an internal IDE Zip drive? What magic "/dev/name" entry do I need to use in fstab to get access to it? Thanks!

One other item. I have noted that Midnight Commander (a favorite old ncurses based dual pane file manager) creates very odd screen displays. Everywhere where it is trying to draw lines and boxes, I get very oddball characters showing up (on Konsole, xterm, aterm, all of them). It seems to me like I must be using the wrong default character set or some such, but this is WAY over my head. Has anyone else had this problem? ALL of my ncurses based programs behave this way, not just Midnight Commander. Any and all insights MUCH appreciated. Thanks again!
 
Old 12-03-2004, 01:49 AM   #2
michux
Member
 
Registered: Nov 2004
Location: Warsaw, Poland
Distribution: Ubuntu
Posts: 76

Rep: Reputation: 15
If you run MC from the Konsole, using a menu: New MC window (or similar) it should look fine.
They screwed up something with the encoding for MC in Yoper. I guess it uses Unicode, even if current
locales state different.
If you choose the right keymap, you should also see MC without junk on the screen in the system console.
I couldn't get it right in any terminal emulator just by using 'mc'. Dunno why, but it's a common problem.

Abiut the ZIP drive, can't help - never used it.
 
Old 12-03-2004, 04:11 AM   #3
kernowyon
Member
 
Registered: Nov 2004
Location: Cornwall, UK
Distribution: Yoper
Posts: 43

Rep: Reputation: 15
Re: Where is My Zip Drive, and Midnight Commander Madness

Quote:
Originally posted by mac57
Hi fellow Yoper'ers. I installed Yoper 2.1 a week or so ago, and now have had enough time to try out all of my physical devices. I have managed to get access to my USB memory stick and to my Firewire harddrive, but I cannot figure out where my Zip drive is. Physically, it is an internal IDE drive, and so I expected it to be /dev/hdb. No luck. Does anyone out there have an internal IDE Zip drive? What magic "/dev/name" entry do I need to use in fstab to get access to it? Thanks!

Plug the Zip drive in and then type in dmesg in a shell - that should give you a clue what the device is allocated as :-)
I would think it will be seen as a removeable device - so /dev/sd something rather than as a hard drive.
 
Old 12-03-2004, 11:48 AM   #4
mac57
Member
 
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253

Original Poster
Rep: Reputation: 30
Hi All, thanks for the advice. Midnight Commander works great if you use the Konsole "New Midnight Commander" selection. Any idea what this selection does, or where it is configured? Clearly it runs mc, but it must do something else to enable the right character support (perhaps unicode as suggested by one poster). Anyway, I would like to have a look, so that I can get my other ncurses based programs working.

On the Zip disk, thanks for the dmesg pointer. Duh! I should have thought of that myself. Only been doing linux for less than a year; I will excuse my stupidity on that grounds! :-) Anyway, sure enough, the Zip drive was well represented there. It is found as hdb, and listed as a Zip 100 ATAPI drive. Unfortunately, I still can't access it. /dev/hdb1 and /dev/hdb4 still say "not a valid block device" when I attempt to mount (with a zip disk in the drive, of course). After some more online research, I tried adding "hdb=ide-scsi" to the Grub line that boots Yoper, and then looking for the Zip drive as /dev/sda1 or /dev/sda4. Still no joy. Is there some kernel module that I need to insert to make this go? Anyone with any experience of an Internal ATAPI Zip 100? Thanks!
 
Old 12-03-2004, 11:51 AM   #5
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
Yes, same here with MC. If i start it from Konsole's menu or from kDE's main menu it looks fine, but not from 'mc' command. I tried to follow instructions from MC's manual to fix it but with no luck. So i just leave Konsole opened with two tabs - root MC and user MC - in it and forget about this problem.
 
Old 12-03-2004, 12:34 PM   #6
kernowyon
Member
 
Registered: Nov 2004
Location: Cornwall, UK
Distribution: Yoper
Posts: 43

Rep: Reputation: 15
Quote:
Originally posted by mac57

On the Zip disk, thanks for the dmesg pointer. Duh! I should have thought of that myself. Only been doing linux for less than a year; I will excuse my stupidity on that grounds! :-) Anyway, sure enough, the Zip drive was well represented there. It is found as hdb, and listed as a Zip 100 ATAPI drive. Unfortunately, I still can't access it. /dev/hdb1 and /dev/hdb4 still say "not a valid block device" when I attempt to mount (with a zip disk in the drive, of course). After some more online research, I tried adding "hdb=ide-scsi" to the Grub line that boots Yoper, and then looking for the Zip drive as /dev/sda1 or /dev/sda4. Still no joy. Is there some kernel module that I need to insert to make this go? Anyone with any experience of an Internal ATAPI Zip 100? Thanks!
What command are you using to actually get the drive to mount?
E.g to mount a ext2 formatted drive ( called /dev/hdb1) to /mnt/drive, first create the mount point ( /mnt/drive in this case), then from a shell do -
mount -t ext2 /dev/hdb1 /mnt/drive

It may be worth adding the device to your fstab - that makes life a lot easier for you
 
Old 12-03-2004, 03:46 PM   #7
mac57
Member
 
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253

Original Poster
Rep: Reputation: 30
MC Solved - Now Just Zip Drive

Well, one mystery solved. I checked out the configuration of Konsole, and discovered the key difference with what it does with its "New Midnight Commander" selection and regular operation. Bottom line: set TERM to xterm, and all is well. For some reason, in Yoper, the default is TERM = linux. So, I put the following:

export TERM=xterm

into my .bashrc, and now Midnight Commander and all my other ncurses apps draw screens properly. Hope this helps a few folks out there!

For the Zip drive, yup, I have been putting it into fstab; didn't realize I could mount without it! I'll have to try that! In fstab, I have put:

/dev/hdb1 /mnt/zip vfat users,rw 0 0
/dev/hdb4 /mnt/zip vfat users,rw 0 0
/dev/sda1 /mnt/zip vfat users,rw 0 0
/dev/sda4 /mnt/zip vfat users,rw 0 0

and then tried commands "mount /dev/hdb1", "mount /dev/hdb4", "mount /dev/sda1" and "mount /dev/sda4". I even tried an sdb set of entries, just in case. No joy in every case.

I'm starting to suspect that Yoper is missing some key kernel module to allow all this to work. The device works just fine under SuSE Linux 9.0, which is the dual boot on my machine, being identified as /dev/hdb4.

Anyone with Yoper experience of internal ATAPI Zip 100s - I would love to hear from you! Thanks!
 
Old 12-04-2004, 08:18 PM   #8
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
Thank you very much, mac57, you helped me to solve an MC problem.
 
  


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
Midnight Commander matombo Fedora 3 11-30-2005 12:41 PM
midnight commander prevoo DamnSmallLinux 6 09-19-2004 04:26 PM
midnight commander archlyric Linux - Software 2 02-28-2004 02:04 AM
midnight commander enigma1 Linux - Software 6 12-10-2003 02:47 PM
Where's mc (Midnight Commander) Shadow Of Death Linux - Software 7 01-09-2003 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Yoper

All times are GMT -5. The time now is 08:57 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