Kernel-2.6.3 Compilation Errors on FC1
by Murali P
Hello friends
I have a CD Writer9Samsung make) and I was interested
in using it for writing with udf tools packages.After
installing the udf-tools 1)I downloaded the following
kernel patch :
packet-2.6.3.patch and applied it.
2)mknod /dev/pktcdvd0 b 97 0 (OK)
3)Next Step:
#pktsetup /dev/pktcdvd0 /dev/hdc
open packet device: No such device or address
====================================================
I executed bzimage and got error messages
#make bzImage
ERRORS:
------
CC drivers/block/pktcdvd.o
drivers/block/pktcdvd.c: In function `pkt_open_dev':
drivers/block/pktcdvd.c:1883: error: `BDEV_FILE'
undeclared (first use in this function)
drivers/block/pktcdvd.c:1883: error: (Each undeclared
identifier is reported only once
drivers/block/pktcdvd.c:1883: error: for each function
it appears in.)
drivers/block/pktcdvd.c:1883: error: too many
arguments to function `blkdev_get'
drivers/block/pktcdvd.c: In function
`pkt_release_dev':
drivers/block/pktcdvd.c:1966: error: `BDEV_FILE'
undeclared (first use in this function)
drivers/block/pktcdvd.c:1966: error: too many
arguments to function `blkdev_put'
drivers/block/pktcdvd.c: In function `pkt_open':
drivers/block/pktcdvd.c:2032: error: `BDEV_FILE'
undeclared (first use in this function)
drivers/block/pktcdvd.c:2032: error: too many
arguments to function `blkdev_put'
make[2]: *** [drivers/block/pktcdvd.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2
===========================================================
I request for help in this matter of enabling packet
writing on my FC1 system.
Murali
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
19 years, 11 months
Re: Taming the mailing lists
by Hugh Foster
> I think this lists is a valuable resource for Fedora users (beginner and
> advanced users). Not only for technical questions but also for general
> Linux issue's.
> It's amazing to see how many answers or ideas you get within 24 hrs. when
> posting a question.
>
> Martijn
This list has been an absolute lifesaver for me grappling with the
Penguin in a Microsoft-saturated company. Three times I've posted
questions - yes, dim-witted noob questions, but show-stoppers for me.
And every time I've had answers that worked quicker than looking it up
in Help.
Sorted by Thread at the mail client, I find it manageable.
28/04/2004 11:25:22 PM
19 years, 11 months
RE: disk problems or false alarm??
by Guolin Cheng
Hi, Alexander,
> Be aware, that idebus does not mean UDMA speed (like UDMA33 or
UDMA100)
> or the speed in MB/sec. On actual PC architecture the 32bit PCI bus is
> rated at 33 MHz as well the IDE bus. So setting idebus to anything
other
> than the default of 33 is nonsense.
Then that means for normal ia-32 machines, the PCI&IDE Bus speed is
mostly 33MHz/s, and so the sustainable IDE disk access speed is always
no more than about 33MB/s? I tried several types of Linux boxes, the
long-time disk access is about no more than 35MB/s.
And there are no other means to accelerate disk access speed? Manuauly
setting IDE disk's access mode (UDMA2/3/4/5/6) with hdparm has no big
difference, as far as from my own experience.
Any other ideas, besides buy ia-64 hosts? Thanks.
--Guolin Cheng
19 years, 11 months
RE: disk problems or false alarm??
by Guolin Cheng
Hi, Alexander,
Thanks for your reply.
But in fact, I'm using Maxtor disk diagnosis 4.06 diskette offline for long time. I use it for drive connection test, and quick (90seconds) test. Then I boot the Linux failed machines into netRepair mode, to run "badblocks" programs on all 4 hard disks (/dev/hda, /dev/hdb, /dev/hdc, /dev/hdd) one by one to detect sector errors.
My only concern is, I have been using "hdparm -d1 -c3 -m16 -a16 -A1 -u1 -W1 -k1 -K1" command on all 4 PATA hard drives, to speed up disk access speed, and improve machines' responsiveness. All other options seems OK except "-u1", which, according to manual, may bring "massive filesystem corruption" (Although for 3 years I have seen no file system corruptions because of that). But if I don't enable the options, the Linux boxes will response way slow to keyboard when high-speed data transfer happens.
Any suggestions or hints are greatly appreciated.
Thanks.
--Guolin Cheng
-----Original Message-----
From: Alexander Dalloz [mailto:alexander.dalloz@uni-bielefeld.de]
Sent: Friday, April 30, 2004 12:46 PM
To: For users of Fedora Core releases
Subject: RE: disk problems or false alarm??
Am Fr, den 30.04.2004 schrieb Guolin Cheng um 21:01:
> Hi, jludwig,
>
> Thanks for your helpful information.
>
> Because I'm running Linux, so I assume there are no viruses. Then comes
> several questions:
>
> 1, How can I know whether all the spare sectors are in use and the disk
> will lose data, or it is just the beginning of disk failure?
>
> 2, How I can identify that the hard drive becomes dying at the first
> minute?
Use the drive sanity check tool by the drive manufacturer. Hitachi/IBM,
Maxtor, WD, they all have such a tool.
> 3, How to identify the malfunctioning hard drives? Should I idle the
> machine and test hard drives one by one to figure it out? Mostly it is
> the faiure-reporting hard drive failed, but I remember for sure, in a
> few cases, other alternative hard drives failed instead.
hda = master on primary controller
hdb = slave on primary controller
hdc = master on secondary controller
...
> 4, Should I replace hard drives when I first see this kind of disk error
> messages in case data begin to lose?
First check its state with a tool and other facts like cables. Very old
hard drives can only have problems with DMA. You may use hdparm to check
drive's setup.
> Thanks a LOT...
>
> Guolin Cheng
Alexander
--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
Sirendipity 21:41:36 up 3 days, 20:30, load average: 0.45, 0.64, 0.66
[ Γνωθι σ'αυτον - gnothi seauton ]
my life is a planetarium - and you are the stars
19 years, 11 months
RE: disk problems or false alarm??
by Guolin Cheng
Hi, jludwig,
More than 95% hard drives are from Maxtor, they support UDMA5 (burst
speed at 100MB/s), or some even UDMA6 (133MB/s). The main PCI chipset is
Intel 82801BA, which can support PCI at 33MB/s, with "133MB/s Maximum
throughput".
Formerly I specify "idebux=66" parameter to kernel when system boot,
but it doesn't help. The sustainable PCI speed is still about 33MB/s.
So, I don't think "idebux=133" is quite helpful under this situation.
There should be some limitation somewhere, for my case, maybe the Intel
Chipset 82801BA is the bottleneck?
Thanks.
--Guolin Cheng
-----Original Message-----
From: jludwig [mailto:wralphie@comcast.net]
Sent: Friday, April 30, 2004 3:14 PM
To: For users of Fedora Core releases
Subject: Re: disk problems or false alarm??
On Fri, 2004-04-30 at 17:14, Alexander Dalloz wrote:
> Am Fr, den 30.04.2004 schrieb Guolin Cheng um 22:54:
>
>
> > My only concern is, I have been using "hdparm -d1 -c3 -m16 -a16 -A1
-u1 -W1 -k1 -K1
> > " command on all 4 PATA hard drives, to speed up disk access speed,
and improve
> > machines' responsiveness. All other options seems OK except "-u1",
which, according
> > to manual, may bring "massive filesystem corruption" (Although for 3
years I have seen
> > no file system corruptions because of that). But if I don't enable
the options, the Linux
> > boxes will response way slow to keyboard when high-speed data
transfer happens.
>
> > Guolin Cheng
>
> Well, forcing such agressive settings like you did is often cause for
> trouble. I don't wonder any more. You did not mention such
> non-selfdetected settings in your first mail. Communication between
the
> hard drive and the motherboard hardware using the chipset specific
> driver is critical. In most every case you should let the kernel
> autodetect the drives settings and not force things.
>
> Alexander
I might add that I see nothing about bus speed. The default for linux
has been 33Mhz for IDE systems (adding idebus=133 quadruples drive
speed).
I don't know about your system's maximum bus speed or your drives.
--
jludwig <wralphie(a)comcast.net>
--
fedora-list mailing list
fedora-list(a)redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
19 years, 11 months
RE: disk problems or false alarm??
by Guolin Cheng
Hi, jludwig,
Thanks.
Because all our Linux boxes are running at UDMA 5, 365 days a year, 24
hours a day. And also since most of the failed hard drives runs for
about 3 years, I assume they are dying at the first glance.
So my solution to the failed hard drives is, backup and restore the
data files to a same size new hard disk when the first disk error
messages appears, then return the failed hard drives to Maxtor.
Since we have thousands of hard drives, it seems impractical to run
low-level format for failed drives, because it seems that is the work of
Maxtor vendor instead of end users.
Thanks a lot again for your helpful analysis and suggestions!
--Guolin Cheng
-----Original Message-----
From: jludwig [mailto:wralphie@comcast.net]
Sent: Friday, April 30, 2004 2:40 PM
To: For users of Fedora Core releases
Subject: RE: disk problems or false alarm??
On Fri, 2004-04-30 at 15:01, Guolin Cheng wrote:
> Hi, jludwig,
>
> Thanks for your helpful information.
>
> Because I'm running Linux, so I assume there are no viruses. Then
comes
> several questions:
>
> 1, How can I know whether all the spare sectors are in use and the
disk
> will lose data, or it is just the beginning of disk failure?
>
There is no real way to know if you are using spare sectors (even new
drives use a few since perfect media is rare) since this is part of the
hard drive system's firmware and happens automatically.
> 2, How I can identify that the hard drive becomes dying at the first
> minute?
Run the smartd daemon < chkconfig smartd on >
> 3, How to identify the malfunctioning hard drives? Should I idle the
> machine and test hard drives one by one to figure it out? Mostly it is
> the faiure-reporting hard drive failed, but I remember for sure, in a
> few cases, other alternative hard drives failed instead.
The only way to really check a hard drive is a multiple 100% read/write
of
each sector. Needless to say the drive must be taken out of service and
all
data is removed.
>
> 4, Should I replace hard drives when I first see this kind of disk
error
> messages in case data begin to lose?
When you see this it usually indicates a drive has used up all the
spares.
When you do see this;
1) back up your data
2) watch for another R/W failure
3) Depending on the nature of the drive and system have a new drive
ready
4) Don't assume the drive has failed or lost sectors. I have had drives
that were "thrown out" when all that was really needed was a factory
"low level format" which rechecks all sectors. (This is not a true low
level format which can only be done at the factory or other facility
with the proper equipment).
> Thanks a LOT...
>
> --Guolin Cheng
>
Snip
--
jludwig <wralphie(a)comcast.net>
--
fedora-list mailing list
fedora-list(a)redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
19 years, 11 months
Re: MPlayer plug-in
by bb
> currently running FC1 and using Mozilla 1.6. I have the mplayerplug-in
> v2.11 installed. I tried upgrading the mplayer-plugin to 2.40, 2.45, 2.50
> and 2.60 but they all crash the browser. Has anyone else run into this
> problem??
I had the same problem with mplayer and MLB.TV but audio/video both work
fine with the Realplayer8 plug-in in Firefox.
19 years, 11 months
RE: disk problems or false alarm??
by Guolin Cheng
Hi, jludwig,
Thanks for your helpful information.
Because I'm running Linux, so I assume there are no viruses. Then comes
several questions:
1, How can I know whether all the spare sectors are in use and the disk
will lose data, or it is just the beginning of disk failure?
2, How I can identify that the hard drive becomes dying at the first
minute?
3, How to identify the malfunctioning hard drives? Should I idle the
machine and test hard drives one by one to figure it out? Mostly it is
the faiure-reporting hard drive failed, but I remember for sure, in a
few cases, other alternative hard drives failed instead.
4, Should I replace hard drives when I first see this kind of disk error
messages in case data begin to lose?
Thanks a LOT...
--Guolin Cheng
-----Original Message-----
From: jludwig [mailto:wralphie@comcast.net]
Sent: Friday, April 30, 2004 11:25 AM
To: For users of Fedora Core releases
Subject: Re: disk problems or false alarm??
On Fri, 2004-04-30 at 13:54, Guolin Cheng wrote:
> Hi,
Snip
ATA/IDE disks with DSP's have for several years have extra sectors that
are used when bad areas are found by the DSP. When found the DSP moves
the data to a spare sector and marks the bad sector (that is why you
don't see error tables as you did on older drives like RLL ans MFM
drives). If you see this it means that;
1) The disk is dying (is smartd running?) (A good chance)
2) There is a possibility of a virus. (Also a good chance since some
viruses will mark a sector bad to hide themselves)
3) All the spare sectors are in use. (See 1 above)
4) The system caught an error before the hard drive DSP. (highly
unlikely)
5) Bad cable or transfer speed (unlikely)
6) Some other ATAPI/IDE device malfunctioning. (possible)
--
jludwig <wralphie(a)comcast.net>
--
fedora-list mailing list
fedora-list(a)redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
19 years, 11 months
3Com 3c2000 NIC support? - FC3?
by David Niemi
On my Asus K8V motherboard is a 3-Com 3c2000 NIC. I have downloaded and compiled the Driver (as far as I can tell, new to this distro) but I am having problems getting it to load with the kernel and trying to configure it. The log file messages had some text relating to the startup of the driver but I cannot access the internet etc.
I followed the instructions to extract the tar, "make load" then "ifconfig eth0 up", but when I go to the network configuration utilities in FC1 I can't find the card or driver. Nor can I figure out how to load it on boot. The instructions talk about using "/etc/modules.conf file" or insmod . Also as I cannot select the NIC I cannot tell if it is set to use DHCP.
>From the readme file
+++++SNIP+++++++++
If your system is not configured for DHCP, you can assign an IP address
with the command:
ifconfig eth0 a.b.c.d
Where a.b.c.d is the IP address that you wish to use. Again, eth0 may
be different depending on your system configuration.
Configuring the Driver
------------------------
The 3C2000 driver supports various options, which can be supplied
as command line arguments to the 'insmod' command or in the
/etc/modules.conf file. You may specify more than one option.
Unless otherwise stated, all settings take the form of:
<Option-Name>=value [,value...]
If you use the modules.conf file to load the driver at boot time,
include the word "options" when configuring the driver.
For example:
options 3c2000 DupCap_A=Full
If you use command line 'insmod', do not include the word "option"
when configuring the driver.
For example:
insmod 3c2000.o DupCap_A=Full
The following options are supported:
OPTION: Speed_A
Selects the speed of Port A of the NIC.
"Auto" - Automatic Resolution
"10" - 10MBPS
"100" - 100MBPS
"1000" - 1GIG
OPTION: DupCap_A
Selects the duplex capabilities of Port A of the NIC.
"Full" - Full Duplex
"Half" - Half Duplex
"Both" - Both Half Duplex & Full Duplex
+++++++SNIP+++++++++++++++++++++++++
I use an old computer with Smoothwall on it which provides the DHCP.
Anyone have some suggestions as to how to I can ge the network running on FC1, or if their is support for this card in FC3?
Thanks
Dav
19 years, 11 months
DHCP reserve IPs
by Matthew Benjamin
Does anyone know how to reserve IPs in DHCP , or do you just not include
them? Maybe that's a dum question - hummmm???
mattB.
19 years, 11 months