problems compiling AS2.1 kernels for enterprise evaluation
by Max Pakhutkin
Greetings,
I'm compiling Advanced server 2.1 sources in an effort to create an
AS2.1 pilot installation so that management could evaluate it with the
possibility of later buying one of the support licenses from RedHat.
So far I've compiled sources on a RH7.2, created the installation CD's
and installed from CD, using the earliest available kernel package
(2.4.9-e.9). The installation went fine and I'm not having any problems
with the resulting system so far.
Now I'm compiling the sources again (this time on my initial install of
AS2.1 build) to make sure the result is as close to what would come in
an official AS2.1 distribution as possible. Naturally, I'm interested in
including the most recent kernel in the resulting CD set. However, none
of the kernel-2.4.18-* source RPMS from the updates compile. Each of
them includes at least half a dozen patches that seem to want to patch
files that don't exist in the sources. After removing references to the
problem patches from the spec file and recompiling, either the make
config stage complains about there not being defaults for some of the
configuration settings (easily fixed), or the "make" stage can't find a
target to make something. And since I'm not a kernel hacker, I'm not
sure how to fix that.
I'd really like to be able to evaluate the most recent kernels for AS
since they seem to include a lot of useful patches (especially the
Oracle-related ones and the new driver modules), otherwise we might as
well go with RH7.3 for deployment. So if anyone can point me in the
right direction for compiling the most recent kernel packages, I'd
greatly appreciate it.
My system is an i686 one, I use rpmbuild --rebuild kerne*.src.rpm
command, or rpmbuild -ba /pathtospecfile command. I'm compiling as a
non-root user with %top_dir set properly. Every single applicable AS2.1
package that I compiled on 7.2 (about 1200 of them in total) is installed.
Thanks in advanced.
Max Pakhutkin
20 years, 6 months
CDROM troubles with fedora beta 2 (0.94)
by Steve Rodgers
A 'mount /dev/cdrom /mnt/cdrom' hangs for a long time, then quits with an I/O
error. The system has a KS57A motherboard and a Aopen CDRW4048. the
/dev/cdrom entry is soft linked to /dev/scd0 as it should be. Here's the
output I get:
/dev/cdrom: Input/output error
mount: block device /dev/cdrom is write-protected, mounting read-only
/dev/cdrom: Input/output error
mount: you must specify the filesystem type
Here's the corresponding snippet from /var/log/messages:
Sep 27 19:54:05 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 00 00 00 02 00
Sep 27 19:54:05 steverod kernel: Info fld=0x0, Current sd0b:00: sense key
Medium Error
Sep 27 19:54:05 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:54:05 steverod kernel: I/O error: dev 0b:00, sector 0
Sep 27 19:54:11 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 01 00 00 01 00
Sep 27 19:54:11 steverod kernel: Info fld=0x1, Current sd0b:00: sense key
Medium Error
Sep 27 19:54:11 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:54:11 steverod kernel: I/O error: dev 0b:00, sector 4
Sep 27 19:54:18 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 10 00 00 04 00
Sep 27 19:54:18 steverod kernel: Info fld=0x10, Current sd0b:00: sense key
Medium Error
Sep 27 19:54:18 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:54:18 steverod kernel: I/O error: dev 0b:00, sector 64
Sep 27 19:54:24 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 11 00 00 03 00
Sep 27 19:54:40 steverod kernel: Info fld=0x11, Current sd0b:00: sense key
Medium Error
Sep 27 19:54:54 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:55:01 steverod kernel: I/O error: dev 0b:00, sector 68
Sep 27 19:55:16 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 12 00 00 02 00
Sep 27 19:55:16 steverod kernel: Info fld=0x12, Current sd0b:00: sense key
Medium Error
Sep 27 19:55:23 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:55:24 steverod kernel: I/O error: dev 0b:00, sector 72
Sep 27 19:55:24 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 13 00 00 01 00
Sep 27 19:55:30 steverod kernel: Info fld=0x13, Current sd0b:00: sense key
Medium Error
Sep 27 19:55:30 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:55:30 steverod kernel: I/O error: dev 0b:00, sector 76
Sep 27 19:55:30 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 00 00 00 02 00
Sep 27 19:55:31 steverod kernel: Info fld=0x0, Current sd0b:00: sense key
Medium Error
Sep 27 19:55:31 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:55:31 steverod kernel: I/O error: dev 0b:00, sector 0
Sep 27 19:55:31 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 01 00 00 01 00
Sep 27 19:55:31 steverod kernel: Info fld=0x1, Current sd0b:00: sense key
Medium Error
Sep 27 19:55:31 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:55:31 steverod kernel: I/O error: dev 0b:00, sector 4
Sep 27 19:55:31 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 10 00 00 04 00
Sep 27 19:55:31 steverod kernel: Info fld=0x10, Current sd0b:00: sense key
Medium Error
Sep 27 19:55:31 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:55:31 steverod kernel: I/O error: dev 0b:00, sector 64
Sep 27 19:55:31 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 11 00 00 03 00
Sep 27 19:55:31 steverod kernel: Info fld=0x11, Current sd0b:00: sense key
Medium Error
Sep 27 19:55:31 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:55:31 steverod kernel: I/O error: dev 0b:00, sector 68
Sep 27 19:55:31 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 12 00 00 02 00
Sep 27 19:55:31 steverod kernel: Info fld=0x12, Current sd0b:00: sense key
Medium Error
Sep 27 19:55:31 steverod kernel: Additional sense indicates Random positioning
error
Sep 27 19:55:31 steverod kernel: I/O error: dev 0b:00, sector 72
Sep 27 19:55:31 steverod kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB:
Read (10) 00 00 00 00 13 00 00 01 00
Any suggestions on how to resolve the issue?
Thanks,
Steve.
20 years, 6 months
1024x768 text console using GRUB?
by Lorenzo Prince
Hi. Can someone please tell me the GRUB equivalent for the lilo
"vga=791" line in lilo.conf? I really don't like that lilo was
completely removed cause I used to be able to add that line to get a
1024x768 text console, which is necessary on my laptop, which was just
upgraded to Fedora 0.94. If there is another way to do this, please let
me know.
Thanks,
Prince
20 years, 6 months
How can I update from Shrike to Fedora ?
by C Stefan
Hi I am new to RH and i have installed RH9 and managed to update it with
apt4rpm .So...
The obvious question is :
How can I manage to put some repositories to get a dist-upgrade from RH9
to Fedora ?
TIA
Cristian Stefan
20 years, 6 months
MP3 in Fedora Test2
by Kreg Steppe
Is there an easy way to add MP3 to rhythmbox?
...and this version of XMMS?
I have Fedora Test 2.
Thanks,
Kreg
20 years, 6 months
How would integrating RHL into Fedora affect ISVs?
by Richi Plana
Hi,
Currently, it's common to see third party software developers developing
for and recommending the usage of RedHat Linux. For instance, Rational
(now IBM) supports the latest version of RedHat Linux with its ClearCase
line of products. Now that RHL is Fedora, are there any guesses as to
how these ISVs will take it? Is Fedora guaranteeing these companies no
changes in the version of libraries in a system for a given release version?
I'm just worrying that whatever perceived attraction developing for a de
facto standard like RHL might not carry over to Fedora. My next email
for tonight will be to Rational to ask if they'll be making releases for
Fedora.
--
*Richard Plana, B.Sc., CCNA*
Linux Junkie
20 years, 6 months
RE: What price do you want?
by Jef Spaleta
Buck wrote:
> The way I see it, Red Hat distributes the GPL with the software, but
> they won't sell it unless the buyer signs a contract that contradicts it
> saying that they will lose all support if they distribute it or use it
> on more than one computer.
Ask your lawyer this question:
Does the GPL demand or guarantee anything in regards to under what
conditions BINARIES (object code or executable) are licensed for
redistribution?
I see a lot of jibber-jabber in the GPL about how you
must provide access to source code if you are distributing object or
executable forms of the code. I don't see much discussion on
guaranteeing the right to redistribute object code. But as soon as I can
afford a legal department (like the one Red Hat has) I'll make it a
point to have them scour the GPL to make sure that I have the right to
sell and distribute binary code under a license that restricts the
redistribution and use of that binary code in exchange for continued
support and maintains of the binary code...you know sort of like Red
Hat has done.
Red Hat provides the source code in the form of SRPMs for all GPL'd RHEL
code. Only thing I can possibly see wrong with that is you'd need rpm
or some other extraction tool to extract the source code....so providing
rpm as a srpm is a sort of catch 22. Then again...isn't offering the
source to tar, in a tarball the same sort of problem. I think the best
answer to this paradox is found at the bottom of a tequila shot glass,
which I will soon be searching.
-jef"soon...it will be time to sell my one unopened box of Mr. T cereal
on ebay, and buy that Croatian summer home I've always wanted"spaleta
20 years, 6 months