Linux-Setup Digest #635, Volume #19 Sat, 16 Sep 00 23:13:11 EDT
Contents:
ADSL Timeouts (Andrew Overholt)
Re: HELP - patching Debian 2.2.17 with IDE-patch ("Dajh101")
Re: Speed of loading large applications (Rich Birch)
Can no longer connect to X server ! (Bernard Debreil)
Re: Missing /usr/include/bits/linux/errno.h ("Trinity L. Bays")
startx from win98 EXCEED 6.2 ("Duane Fernandes")
PPP on mandrake 7.0 (Zhihui Zhang)
Mandrake & Fireport ("Eric Chun")
Re: Setup RedHat 6.2... error message... (:))
RH 6.1 & ATI Rage 128 ("Eric W. Goforth")
RH 6.1 Text mode install woes (partitioning) ("Eric W. Goforth")
Re: How to know whether JDK is installed? ("Dragan Colak")
Re: startx from win98 EXCEED 6.2 (E J)
Re: Installation Problem (Scott Nolde)
Re: newbee question (Scott Nolde)
Compiled Driver, now I'm screwed :) ([EMAIL PROTECTED])
Re: RH 6.1 Text mode install woes (partitioning) (Glitch)
Re: installing linux w/out floppy drive or cdrom (Scott Nolde)
Re: messed up /dev/fd0 , help! , solved (Glitch)
----------------------------------------------------------------------------
From: Andrew Overholt <[EMAIL PROTECTED]>
Subject: ADSL Timeouts
Date: Sat, 16 Sep 2000 23:13:32 GMT
Hi,
I recently installed my DSL connections on my Mandrake 7.0 system with
no problems whatsoever using David Skoll's client. My connection also
works on my windows machine without a hitch. The problems start when I
try to use my newly-installed Debian machine (486, 8MB, 2 3Com 3c503
NICs):
1. rp-pppoe installs fine and it even says that it's configured
properly
2. eth0 (192.168.42.42 ... just a fake) goes to DSL, eth1 (192.168.0.1)
to LAN
3. ppp installed (although I may be missing something I don't know of -
most likely situation...anything anyone can think of?)
4. adsl-start times out
Any and all help/ideas would be appreciated.
Andrew
------------------------------
Reply-To: "Dajh101" <[EMAIL PROTECTED]>
From: "Dajh101" <[EMAIL PROTECTED]>
Subject: Re: HELP - patching Debian 2.2.17 with IDE-patch
Date: Sun, 17 Sep 2000 00:21:56 +0100
See ***
Dajh101
"Carl Tan" <[EMAIL PROTECTED]> wrote in message
news:8pv01s$hd5$[EMAIL PROTECTED]...
> Hello everyone,
>
> I managed to successfully recompile a new kernel (2.2.17) on my Debian
> system recently.
>
> However, my system has the ALi15xx set of Chipset on the motherboard. I
> would like to get my kernel to recoginse this.
>
> I read on this newsgroup that a patch was required. I went to
> www.linux-ide.org to download the patch.
>
> I read then on the kernel HOWTO about patching, but the treatment was
> fairly brief for a newbie like me.
>
> If you could point me to further readings, or even tell me on this post, I
> would appreciate it very much. I have tried every relevant option in make
> xconfig, but I don't seem to get the Ali chipset recognised at all.
>
>
Okay, first things first. Make sure you install the patch correctly. This is
what
I have done to apply the HPT370 patch to my kernel in order to enable
UDMA100
support (on my ABIT KT7-100)
Firstly, d/l the patch. Which you have done :-)
Unzip/tar the source kernel into /usr/src (which I assume you've done also)
Copy the patch file to /usr/src
Unzip/Unbzip the patch in the /usr/src directory
Cd to the /usr/src/linux directory (or in my case I cd'ed to
/usr/src/linux-2.2.17)
For me to apply the HPT370 patch, I did this:-
patch -p1 < /usr/src/ide/thepatchfile
You should see some scrolling of text telling you it's applying the patch.
Now you can recompile the kernel after choosing the controller from the
block
devices (I had to choose HPT366 in order to get the HPT370 patch to be
compiled
into the kernel)
Hope that helps
If you have futher questions, reply here
Dajh101
------------------------------
Date: Sun, 17 Sep 2000 00:27:59 +0100
From: Rich Birch <[EMAIL PROTECTED]>
Subject: Re: Speed of loading large applications
Thanks for your views but I really must point out that I don't assume a
correlation between the time taken to load a program into memory and
it's quality or usability. I was merely observing the comparitively long
time taken to load by some large programs and wondering if/how it could
be possible to reduce it. I have recently started to look at how to
streamline my system after having become comfortable with purely using
linux.
You say that StarOffice took around 20 secs to load on your 133MMX, so
surely if my system was optimally set up it wouldn't take 20 secs
considering that I have a PIII 500 with 128Mb, and presumably a
harddrive that is slightly quicker. Looking at my swap file right now,
with a couple of Netscape 6 windows open, none of it is being used, and
there is 2Mb RAM free. So yes I should perhaps look at fine-tuning my
harddrive further. The whole point of my posting the message in the
first place was to receive some guidance as to how to accomplish this.
------------------------------
From: Bernard Debreil <[EMAIL PROTECTED]>
Subject: Can no longer connect to X server !
Date: Sun, 17 Sep 2000 01:37:16 +0200
Hi !
I am no specialist, and my knowledge of Linux is rather weak. However,
I have managed to have my system running for several months, without
any problem so far. Now, for no reason, I can no longer connect to X.
I have a RedHat 6.0 config (kernel 2.2.5-15), on a Fujitsu (Cyrix 6x86
P200+, 32 Mb RAM). My X server is fvwm.
As I was having a printing job on process (54 pages of a StarCalc file
(StarOffice 5.1), this said job stopped before the end. It ended right
to the end of page 29, and nothing seemed to be left in the buffer (a
'lprm -Plp1' command did not result in any dequeued job). I had often
printed a lot of pages with StarOffice, without any problem. This
time, however, I was unable to re-start that printing job, or any
other printing job for that matter. I started to suspect that
something had gone wrong with my printer, so, I shutdown my linux
system and booted Windows 95 : there, the printer did work. Back to
Linux, I was in for a surprise : no way to boot on the X server !
However, a 'lpr -Plp1 filename' test, seemed to indicate that there
was nothing wrong with my printer (HP Deskjet 1120c). I tried several
times to boot X, starting from either my usual account, or the root
account, to no avail. I could try to re-install a X server using
Xconfig, but I think it is probably better to find out what happened
and try to correct the problem.
I don't know where to find the file (if any) where error messages for
X server can be found. Here is what I can read on last screen, after
each attempt to launch X :
_FontTransSocketUNIXConnect : Can't Connect : errno = 111
Failed to set default FontPath 'UNIX/: -1
Fatal Server Error
Could Not open default font 'fixed'
Giving up
X init : connexion refused (errno = 111)
unable to connect to X server
Xinit : no process of this type (errno = 3)
server error
Thanks for any help
------------------------------
From: "Trinity L. Bays" <[EMAIL PROTECTED]>
Subject: Re: Missing /usr/include/bits/linux/errno.h
Date: Sat, 16 Sep 2000 13:43:22 -0500
sound like you need to install the linux headers rpm in a redhat distro
In article <[EMAIL PROTECTED]>, "Bill A."
<[EMAIL PROTECTED]> wrote:
> Here is the error message:
>
>> [root@firewall linux]# make bzImage
>> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
> scripts/split-include scripts/split-include.c
>> In file included from /usr/include/errno.h:36,
>> from scripts/split-include.c:26:
>> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
>> make: *** [scripts/split-include] Error 1
>
> I have errno.h in the following places
> /usr/include/
> /usr/include/bits/
> /usr/lib/bcc/include/
> /usr/lib/bcc/include/linux/
> /usr/lib/bcc/include/arch/
> /usr/lib/bcc/include/bsd/
> /usr/lib/bcc/include/sys/
> /usr/lib/bcc/include/linuxmt/
> /usr/lib/bcc/include/msdos/
>
> Bill
>
>
------------------------------
From: "Duane Fernandes" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.redhat
Subject: startx from win98 EXCEED 6.2
Date: Sun, 17 Sep 2000 00:12:19 GMT
When i run xterm -display ipaddress:0.0& from my win98 to the linux host it
works fine but when i try to do startx -display ipaddress:0.0& it displays
on the hosts system.Is there an authorization required to override its
default display?I've tried it using telnet but the same thing happens!!
thanx for your time.
[EMAIL PROTECTED]
------------------------------
Date: Sat, 16 Sep 2000 20:15:34 -0400
From: Zhihui Zhang <[EMAIL PROTECTED]>
Subject: PPP on mandrake 7.0
I try to configure PPP on Mandrake 7.0 on Dell Inspiron 5000 portable. It
gives me the following information:
Sep 16 19:38:14 localhost ifup-ppp: pppd started for ppp0 on /dev/modem at
115200
Sep 16 19:38:14 localhost modprobe: can't locate module char-major-108
Sep 16 19:38:14 localhost pppd[981]: pppd 2.3.10 started by root, uid 0
Sep 16 19:38:14 localhost pppd[981]: Terminating on signal 15.
Sep 16 19:38:14 localhost chat[991]: Can't get terminal parameters:
Input/output error
Sep 16 19:38:14 localhost pppd[981]: Connect script failed
Sep 16 19:38:15 localhost pppd[981]: Exit.
I use the exact the same procedure on Red Hat 6.2 on the same machine and
it works. I wonder whether mandrake 7.0 support PPP on this portable. The
portable has a XirCOM card.
Thanks for your help.
-Zhihui
------------------------------
From: "Eric Chun" <[EMAIL PROTECTED]>
Subject: Mandrake & Fireport
Date: Sat, 16 Sep 2000 19:55:17 -0500
Is there a way to install Mandrake 7.1 even though I have a fireport 40?
Mandrake told me that fireport isn't supported so I can't install linux.
Can someone help me find another way?
------------------------------
From: [EMAIL PROTECTED] (:))
Subject: Re: Setup RedHat 6.2... error message...
Date: 17 Sep 2000 01:12:19 GMT
�� �ޭz�[EMAIL PROTECTED] (Cannon Fodder)�n���ʨ��G
> On 16 Sep 2000, : wrote:
> > And if i choose Text
> > the following message will be found..
> > RAMDISK: Compressed image found at block 0
> > crc errorVFS: Cannot open root device 08:34
> > Kernel panic: VFS: Unable to mount root fs on 08:34
> How much RAM do you have? RH 6.2 may require a minimum of 16 Mb
> of RAM.
> HTH,
> C.F.
AMD k6-2 300
Phlips cd-ROM
RAM 64Mb
Q fireball 6.4GB
and when i take my HDD to another Computer...and setup again....
everything is ok....
It`s so strange...
P2-300 , Teac CD-ROM , RAM 64MB..
Holy...
--
--
[1;32m�� Origin: [33m�Ӹ۸�T [37m<bbs.cynix.com.tw> [m
[1;31m�� From: [36m140.113.126.150[m
--
[1;33m�� Modify: [35m00/09/17 9:12:19 [37m<140.113.126.150> [m
------------------------------
From: "Eric W. Goforth" <[EMAIL PROTECTED]>
Subject: RH 6.1 & ATI Rage 128
Date: Sun, 17 Sep 2000 01:16:37 GMT
Hello all,
I've been using Linux a little over two years, I guess, since RH 5.0 was
the latest version. I'm unable to install RH 6.1 on my new machine in
graphical mode, the X Server crashes. Apparently it can't handle my new
computer's ATI Rage 128 video card. I got a Maximum Linux magazine that
comes with Xfree86 version 4.0 and was planning on doing the
installation in text mode (you can see my other posting for the problems
that I'm having installing in plain text mode) and then upgrading to
Xfree86 4.0, does this sound like it would work? I've never upgraded my
XServer without doing a complete system upgrae. What issues would I
face?
Thanks,
Eric
------------------------------
From: "Eric W. Goforth" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install
Subject: RH 6.1 Text mode install woes (partitioning)
Date: Sun, 17 Sep 2000 01:38:44 GMT
Hello all,
I've been using Linux for a couple of years, and I'm trying to install
RH 6.1 Linux on my new computer. I used Partition Magic to create a 250
Meg area of free space at the beginning of my hard drive. I then
split/resize my Windows partitions so that I have a 6 Gig C: drive and a
3 Gig D: drive.
I created the 250 Meg area of free space to put my /boot partition into,
since, if I recall correctly, it has to go into the first 1024
cylinders, or something like that. I read the large disk howto a year
or so ago when I had problems installing a large HDD on Linux, and
remember this technique from there. I was planning on splitting the
remaining 10 Gig or so, into my / and /home partitions, my HDD is 20
Gigs.
My problem is that the XServer that comes with RH 6.1 apparently isn't
compatible with my video card (you can see my other post about that
one), so I'm having to use the text mode installation mode. I get to
the partitions screen and it shows me my existing Windows partitions
/hda1 and /hda5, I believe that I'm remembering correctly. At any rate
I choose ADD to create a 250 Meg /boot partition, but I don't see any
clue from this screen as to where, physically, on the HDD it would put
this partition. If it's not in the first however many cylinders this
isn't going to work. A couple weeks ago I replaced the HDD on my old
system and just installed RH 6.1 on it (no Windows). My old computer's
BIOS won't handle HDD's bigger than 8 Gigs, so I had to use this
technique there. At least not installing Windows allowed me to get
around using EZ-BIOS. The graphical partition tool allowed my to create
my 250 Meg partiton at the beginning of the HDD and then use the
remaining 12.75 Gig for my / and /home partitions.
Previous versions of RH would allow you to use Disk Druid or fdisk to
create your partitions, RH 6.1 doesn't appear to give you a choice.
Will going into Expert mode (I don't pretend to be a Linux Expert) allow
me to to use fdisk? Also, it's been a while since I used fdisk, will it
allow me to place my partitions on the hdd where I want them?
Thanks,
Eric
------------------------------
From: "Dragan Colak" <[EMAIL PROTECTED]>
Subject: Re: How to know whether JDK is installed?
Date: Sun, 17 Sep 2000 03:53:19 +0200
type "javac" or "java"
it is installed if you get a help screen
with the possible options
if you get something like "command not found"
then it is not installed
Dragan
"Cheng Huang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I'm using redhat 6.2. How can I get to know whether the JDK is installed
> in the machine(as a root and as a common user)?
> Thanks.
>
> --Cheng
>
------------------------------
From: E J <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.redhat
Subject: Re: startx from win98 EXCEED 6.2
Date: Sat, 16 Sep 2000 18:57:18 -0700
On your linux box:
$ xhost + window_box_name_or_ip_address
On your xwindows on your windoze 98
$ DISPLAY=window_box_name_or_ip_address:0.0
$ export DISPLAY
Duane Fernandes wrote:
> When i run xterm -display ipaddress:0.0& from my win98 to the linux host it
> works fine but when i try to do startx -display ipaddress:0.0& it displays
> on the hosts system.Is there an authorization required to override its
> default display?I've tried it using telnet but the same thing happens!!
> thanx for your time.
> [EMAIL PROTECTED]
------------------------------
From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: Installation Problem
Date: Sun, 17 Sep 2000 02:27:30 GMT
During the text install process, you can switch tty's by pressing
Alt-F2, -F3, -F4, etc... to see what's going on in the background.
Formatting may take a while.
- Scott
"Teck Meng, Liaw" wrote:
>
> Hi!
>
> I am new in Linux, I have a Red Hat 6.2, A Pentium III 733 PC, 128M RAM,
> 20G HDD, 48x CD ROM, S3 Trio 3D/2X graphic card, no network card (will
> install later). I have no problem to start the installation and I have
> select the standard installation configuration (just to learn to install),
> everything is fine until Linux try to formats my hard disk, 2 minutes or so
> later, the whole thing hanged. I tried other options in several attempts,
> and they all failed at the same place, can anyone of you any suggestions.
>
> I suspected my hard disk have something to do with it. Any help is
> appreciate.
>
> Teck Meng, Liaw
--
Never do Windows again with | Scott M. Nolde
Linux! No streaks, haze or | [EMAIL PROTECTED]
glaze! |
10:20pm up 1 day, 23:43, 3 users, load average: 1.06, 1.04, 1.04
------------------------------
From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: newbee question
Date: Sun, 17 Sep 2000 02:32:34 GMT
Dale Ryon Wilhelm wrote:
>
> I am having trouble setting up a networked redhat box...
>
> whenever I telnet to the box I get connection refused. Is there something
> that I am missing????
Get OpenSSH or the equivalent SSH product. Telnet (and ftp) transmit
usernames and passwords in plain text over the network. If you're doing
this on a public network, someone may sniff your passwords and
eventually get access to your machine.
- Scott
--
Never do Windows again with | Scott M. Nolde
Linux! No streaks, haze or | [EMAIL PROTECTED]
glaze! |
10:25pm up 1 day, 23:48, 3 users, load average: 1.18, 1.06, 1.03
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking
Subject: Compiled Driver, now I'm screwed :)
Date: 17 Sep 2000 02:30:49 GMT
Okay, I jsut compiled a new device driver for my Intel Pro Ethernet Card
(PCI).
I followed all the driections at scyld.com where I got the driver.
I dowloadeD:
pci-scan.c
pci-scan.h
eepro100.c <-- my device driver
kernal_compat.h
I compiled using:
gcc -DMODULE -D__KERNEL__ -o6 -c eepro100.c
then:
gcc -DMODULE -D__KERNEL__ -o6 -c pci-scan.c
I then installed with:
install -m 644 pci-scan.o eepro100.o /lib/modules/`uname-r`/net/
When I either do a "modprobe eepro100" or "insmod eepro100", I get the
following errors:
unresolved symbol acpi_set_pwr_state
unresolved symbol pci_drv_unregister
unresolved symbol pci_drv_register
Anyone have any ideas what to do? i'm complete lost and a complete newbie.
--
-T.
------------------------------
Date: Sat, 16 Sep 2000 22:55:25 -0400
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: RH 6.1 Text mode install woes (partitioning)
"Eric W. Goforth" wrote:
>
> Hello all,
>
> I've been using Linux for a couple of years, and I'm trying to install
> RH 6.1 Linux on my new computer. I used Partition Magic to create a 250
> Meg area of free space at the beginning of my hard drive. I then
> split/resize my Windows partitions so that I have a 6 Gig C: drive and a
> 3 Gig D: drive.
>
> I created the 250 Meg area of free space to put my /boot partition into,
> since, if I recall correctly, it has to go into the first 1024
> cylinders, or something like that. I read the large disk howto a year
> or so ago when I had problems installing a large HDD on Linux, and
> remember this technique from there. I was planning on splitting the
> remaining 10 Gig or so, into my / and /home partitions, my HDD is 20
> Gigs.
first, u aren't going to want a 250 meg /boot partition. As the only
files that go in this directory have to do with booting the kernel and
telling the kernel where your modules are the files shouldn't take up
more than 10 megs and that would still be a large /boot partition. So
as you can see reduce your /boot partition by a large percentage so u
don't want space. Everything else can go in / so 240 megs of your /boot
partition can be 'moved' to your / partition so u can get more use out
of that space.
>
> My problem is that the XServer that comes with RH 6.1 apparently isn't
> compatible with my video card (you can see my other post about that
> one), so I'm having to use the text mode installation mode. I get to
> the partitions screen and it shows me my existing Windows partitions
> /hda1 and /hda5, I believe that I'm remembering correctly. At any rate
> I choose ADD to create a 250 Meg /boot partition, but I don't see any
> clue from this screen as to where, physically, on the HDD it would put
> this partition.
whatever tool u used to create your partitions it shoudl tell you when u
make your first partition if u want to use the whole disk or only part
and if u choose only part of the disk it should ask u what cylinder you
want to end with. Obviously if this is your first partition then the
first cylinder will be 1 and u can then choose what cylinder u want to
the last one to be. On my 12 gig drive i made the /boot partition begin
at cylinder 1 and end at cylinder 2 and that give me a 16 meg partition
I believe; more than enough. After you create that first partition u go
and make the partition for /. On my 12 gig drive I made cylinders
3-whatever number, the / partition and i made the last 10 cylinders or
whatever the swap partition. So as you can see the first partition u
make will always begin at the beginning of the drive, whether u use only
part of the drive or the whole thing. I'd think that since the partition
u make is labeled hda1 and since I just said that the first partition
always starts at the beginning of the drive, this should imply that hda1
is teh first partition on the drive (starting at cylinder 1) and
therefore should be used to mount your /boot partition. You won't see
physically where any partitions begins during the installation unless u
are using whatever partitioning utility they provided to you. Only that
utility will physically show u where the partitions begin and end, by
using the cylinder numbers of the drive.
However since there are already windows partitions on this drive hda1
won't be *your* first linux partition. Unless you can see a new screen
where the partitions *you* added are listed you won't know which
partition can be used for /boot safely. I'd erase the windows
partitions if u dont wnat them and repartition the whole drive again. If
u cant do that then use fdisk or whatever and see what cylinder hda1
ends on and see if its below 1024. If it is then you will still need to
either delete hda5 or resize it using Partition Magic as you will need
to make a /boot partition for Linux between hda1 and hda5 as most likely
hda5 *will* be past the 1024th cylinder.
> If it's not in the first however many cylinders this
> isn't going to work.
You will need to use fdisk to see where those 2 parititons begin and end
and go from there.
>A couple weeks ago I replaced the HDD on my old
> system and just installed RH 6.1 on it (no Windows). My old computer's
> BIOS won't handle HDD's bigger than 8 Gigs, so I had to use this
> technique there. At least not installing Windows allowed me to get
> around using EZ-BIOS. The graphical partition tool allowed my to create
> my 250 Meg partiton at the beginning of the HDD and then use the
> remaining 12.75 Gig for my / and /home partitions.
>
> Previous versions of RH would allow you to use Disk Druid or fdisk to
> create your partitions, RH 6.1 doesn't appear to give you a choice.
> Will going into Expert mode (I don't pretend to be a Linux Expert) allow
> me to to use fdisk? Also, it's been a while since I used fdisk, will it
> allow me to place my partitions on the hdd where I want them?
>
so what exactly is the problem? are u having trouble making partitions
or having trouble accessing fdisk in order to make the partitions in the
first place?? No, u cant put the partitions where u want them. The
first partition is made starting at cylinder 1 and going to whatever
cylinder u choose to make it extend to. The next part. starts where the
last one left off. No utility will put the first partition at an
arbitrary place on the drive. That would be stupid. It will if u tell it
to but they are made to make efficient use of the drive and not skip
cylinders. And although I never had a reason to try I fdisk will allow
you to skip cylinders I believe even though I dont know why u would want
to.
I hope all this made sense.
------------------------------
From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: installing linux w/out floppy drive or cdrom
Date: Sun, 17 Sep 2000 02:53:52 GMT
Hal Sadofsky wrote:
>
> We have several intel boxes that I want to install a recent linux
> distribution on. They have hard disks, and ethernet cards, but no
> floppy drives or cd drives.
>
> Does anyone have any advice? Here's what I've tried:
>
> 1) The BIOS will try to boot from the net, so I succesfully configured
> another machine to give it an ip address, and a boot file (I used
> the bootnet.img from RH 6.2). But it turns out that the machine
> is allowed at most 512K for a boot file, and of course the bootnet.img
> is larger than that.
>
> 2) I put bootnet.img on the machine's hard drive (it is already linux)
> and tried to convince lilo to boot it. Of course that didn't work
> either since bootnet.img is really not a kernel image.
>
> thanks in advance,
> Hal Sadofsky
Install a target hard drive in a machine with the necessary equipment
and install it there. You could conceivably use kickstart, or 'ghost'
the hard drives with dd(?) perhaps.
- Scott
--
Never do Windows again with | Scott M. Nolde
Linux! No streaks, haze or | [EMAIL PROTECTED]
glaze! |
10:45pm up 2 days, 8 min, 3 users, load average: 1.14, 1.06, 1.05
------------------------------
Date: Sat, 16 Sep 2000 23:10:03 -0400
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: messed up /dev/fd0 , help! , solved
do a 'ls -la' on fd0 while in the /dev direcotry
u should see:
rw-rw-rw- and a bunch of stuff here and then fd0 here
r=4
w=2
x=1 in this case u see - for x as the file doesn't have x permissions
r=read
w=write
x=execute
if u had the r and w up u get 6, and if u have 3 sets of them u have
666......which is what u said u set the fd0 to when u created it....by
adding up different combinations of permissions u get different
numbers. 777 for all permissions for 3 sets. Oh, and the first 3
permissions are for the owner i believe, and then the group, and then
the last 3 are for everyone else I believe.
HTH
Brandon
Douglas Cole wrote:
>
> Douglas Cole wrote:
> >
> > Ok ,so I am fairly sure that it is an operator induced error , but what made me
> > find this out is , I tried to mount a floppy disk ( a rare occurrance these days
> > ) and I got an error "/dev/fd0 is not a block device (maybe try '-0 loop'?)"
> > which of course had me confused so I looked in the /dev directory and looked for
> > fd0 and lo and behold it didn't list as a block device , instead it showed up as
> > an actual file , so I think somehow I screwed this up , so my question is , how
> > do I get back my /dev/fd0 block device so I can mount my floppies ?
> > Or better said , how does one "creat" a block device and put it into the /dev
> > directory where it can be found by things like "mount" ?
> >
> > Sheesh , how I did this I don't know , is it possible that I did a fdformat
> > command incorrectly , as it seems to me this all started happening after I tried
> > to format a floppy ..........
> >
>
> Ok , so after looking in "running linux" by oreilly I found out how to create a
> device file for my fd0 , it is called "mknod" the only trouble is I am not sure
> about the permissions as I am no security wiz , so anyway this is what I typed
> in and it worked ! " mknod -m 666 /dev/fd0 b 2 0 " , now of course I have no
> idea what permissions the 666 does for me but I am going to read and figure it
> out , as I have always fallen back on the "running linux
> " book , I highly reccomend it for newbies and hobbyists like me ;^)
>
> Hope this may help other fumble fingers like me , I still don't know how I made
> the /dev/fd0 into a binary file , but I did , and I can't find it in my bash
> history either so anyway , on we go .........
>
> --
> Douglas Cole
> N7BFS
> AMSAT#26182 , K2 # 544
> http://www.users.uswest.net/~cdoug3
> [EMAIL PROTECTED]
> Registered Linux user # 188922
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.setup) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************