Linux-Misc Digest #341, Volume #27               Mon, 12 Mar 01 07:13:01 EST

Contents:
  Re: (LESS HUGE) Re: Do I need Lilo to boot from a partition? ("Eric")
  Re: Help! partitioning woes with RH 6.1 ("Tauno Voipio")
  Re: Help! partitioning woes with RH 6.1 ("Eric")
  Unexpected behaviour on UDP ports ("Mad@Spammers")
  RH 7.0 sound card not working (Siva)
  Re: cross-posting (M. Buchenrieder)
  Re: wine desktop (Glitch)
  Re: QRPFF Source Code (Glitch)
  logging options in named.conf ("Darren Davison")
  Newbie: Video Modes ("Lee")
  Re: Newbie: Video Modes ([EMAIL PROTECTED])
  magicfilter vs apsfilter ("max barwell")
  Re: "Requires RedHat" other Linux distributions ([EMAIL PROTECTED])

----------------------------------------------------------------------------

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: (LESS HUGE) Re: Do I need Lilo to boot from a partition?
Date: Mon, 12 Mar 2001 11:29:24 +0100

Just one thing,
I checked one of your old posts,
lilo.conf had *no* entry for a 2.4 kernel.
You are aware of that?
(I know you said it is the default option, but please check again)
So: Are you sure the new kernel is at /vmlinuz

<c'n'p>
lilo.conf:

verbose=3
delay = 50
boot=/dev/sdb1
map=/boot/map
install=/boot/boot.b
root=/dev/sdb1
prompt
default=default

# the default kernel image to use
image=/vmlinuz
  label=default
  read-only

# the stable kernel image to use
image=/vmlinuz-2.2.14
  label=linux
  read-only

# A test kernel
image=/vmlinuz-2.2.14-new
  label=test
  read-only

# End lilo.conf



> >The entire chain must be correct.
> >If you link several bootloaders in a chain, it's hard to say where it
goes
> >wrong.
> >I have another idea for you, if you can, try to change the boot-order.
> >See if you can boot linux directly, without the intervention from
> >another OS's bootloader.
>
> How do I do that?

Change the boot order in the BIOS.
Set it to boot from the linux disk.

> >
> >You're sure that you're looking at the right LILO code (not the old
code)?
> >When you install the new kernel, you get "no setup signature found"
> >When exactly does this message appear?
>
> I've tried the latest lilos I could find and compiled them
> from source.   I've thinking about trying an RPM or something
> just to see if my compiler setup is wierd.  Most things I compile
> all work fine though, and the lilo compile and install goes fine.
> At least no compilation errors are reported.

Then I doubt that's the problem.
Any of the other linux-kernel images still are bootable, right

> The last lilo I've installed is 21.7.  I have had many lilo versions
> installed on that disk.  As I indicated in a previous post, this
> disk has had Linux on it for quite a while.
>
> What happens is I get OS/2 Bootmanager.  I pick the "LINUX" selection.
> At that point LILO starts up and I get the LILO "GUI" with the three
> kernel selections.  I pick the option for the 2.4.x kernel which is
> default.  Then I get something like this:
>
> LILO
> Loading default.........................
> ... no setup signature found.
> Then the system hangs.   I'm not sure of the exact number of dots.

You're done with LILO.
It looks like the kernel image itself has a problem.
It is odd though that it does boot at another system.
Does that system have the same physical setup?

Perhaps you should try to run `badblocks` on hdb.

I really don't know what the message means, but you I can
tell it comes from the kernel

/boot>strings vmlinuz |grep setup
No setup signature found ...

/usr/src/linux>find . -type f -exec grep -wi "setup signature" {}
\; -a -print
no_sig_mess:    .ascii  "No setup signature found ..."
! Setup signature -- must be last
./arch/i386/boot/setup.S
no_sig_mess:    .ascii  "No setup signature found ..."
! Setup signature -- must be last
./arch/i386/boot/bsetup.s
Binary file ./arch/i386/boot/bsetup.o matches
./arch/i386/boot/bsetup.o
Binary file ./arch/i386/boot/bsetup matches
./arch/i386/boot/bsetup
Binary file ./arch/i386/boot/bzImage matches
./arch/i386/boot/bzImage

(PS. this is for a 2.2.x kernel, maybe things changed for 2.4, but it
appears to be a check,
to verify that a correct kernel is loaded)

I don't know how to solve this, but i'd try the next thing:

run a `make mrproper`
**beware the .config file is removed! You will need to run the entire
configuration again**
then rebuild your kernel again, and try that new kernel.

Eric



------------------------------

From: "Tauno Voipio" <[EMAIL PROTECTED]>
Subject: Re: Help! partitioning woes with RH 6.1
Date: Mon, 12 Mar 2001 10:39:51 GMT


"Christoph Kukulies" <[EMAIL PROTECTED]> wrote in message
news:98i6ip$bu2$[EMAIL PROTECTED]...
> Eric <[EMAIL PROTECTED]> wrote:
> :> I'm seeing strange things:
> :>
> :> When I install from a 6.1 install/boot floppy containing a 2.2.14
kernel
> :> and partition after the following scheme:
> :>
> :> /boot /dev/hda1 16 MB
> :> /     /dev/hda7 3.2 GB
> :> swap  /dev/hda5 512 MB
> :> /data /dev/hda6 35.5 GB (or whatever the rest to 41 GB is - disk is an
> :> IBM-DTLA-304050 BIOS [Auto] 1024/255/63 CHS=8422 Max LBA 41174 MB
> :>
> :> and boot the first time after install my root disk
> :> jumps to /dev/hda8 and is corrupted. (fsck fails).
>
> Command (m for help): p
>
> Disk /dev/hda: 255 heads, 63 sectors, 5005 cylinders
> Units = cylinders of 16065 * 512 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1         3     24066   83  Linux
> /dev/hda2             4      5005  40178565    5  Extended
> /dev/hda5             4        69    530113+  82  Linux swap
> /dev/hda6            70       477   3277228+  83  Linux
>

The fdisk table shows that /dev/hda6 is only a part of what you want it to
be. Also, /dev/hda7 is missing.

The Disk Druid has done some weird things to me - currently I use fdisk
only.

The disk partitioning scheme is not the usual: if you have /data for the
most of your installation, you'll break the standard Red Hat directory
structure. It is not possible to mount one partition to several directories
(like /usr, /var etc).

If I were you and if a re-install is possible, I'd do:

1. Use fdisk to create the partitions. In Red Hat 6.1 you get it up from the
install CD by booting with 'text expert' and requiring custom installation.
The installer then asks if you would like to use fdisk.

2. First create the small primary ext2 partition for /boot.
3. Create a primary partition for swap (recommend twice the size of RAM)
4. Create an extended partition for the rest. As the disk is so big, it is
recommended to make it a FAT32 extended partition (type 0xf).
5. Create the other partitions as logical disks inside the extended
partition.
6. Write the partition table and proceed with the installation. If you do
not do a custom installation, the Red Hat installer seems to use the
partitions at its own will, so keep the control in your hands.

7. Good luck!

Tauno Voipio
tauno voipio @ iki fi




------------------------------

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Help! partitioning woes with RH 6.1
Date: Mon, 12 Mar 2001 11:40:55 +0100

> : What is hda8?
>
> I got that when I created an additional 35 GB partition. It showed as
> /dev/hda2, I believe, in disk druid but after the first boot the
> partition order got mangled and /dev/hda8 suddenly appeared.
>
> Anyway, here's the output of fdisk:
>
> Script started on Mon Mar 12 10:19:57 2001
> [root@myhost /root]# fdisk /dev/hda
>
> The number of cylinders for this disk is set to 5005.
> There is nothing wrong with that, but this is larger than 1024,
> and could in certain setups cause problems with:
> 1) software that runs at boot time (e.g., LILO)
> 2) booting and partitioning software from other OSs
>    (e.g., DOS FDISK, OS/2 FDISK)
>
> Command (m for help): p
>
> Disk /dev/hda: 255 heads, 63 sectors, 5005 cylinders
> Units = cylinders of 16065 * 512 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1         3     24066   83  Linux
> /dev/hda2             4      5005  40178565    5  Extended

Wrong ID, change it to type 85 (linux extended), or 0F (win95 LBA extended)

> /dev/hda5             4        69    530113+  82  Linux swap
> /dev/hda6            70       477   3277228+  83  Linux
>

The rest you leave unparitioned?
If it is going to shared with windows, then hda2's ID=0x0F
otherwise you can make it type 0x85.
But make sure to change it.

> Command (m for help): q
>
> [root@myhost /root]# exit
>
> Script done on Mon Mar 12 10:20:06 2001
>
>
> : Can you make that partitiontable, using fdisk?
>
>
>
> : Then install the new kernel, update lilo.conf, rerun `/sbin/lilo -v`
> : and reboot, from HDD now, using the new kernel you just installed.
> : Don't try to boot with the old kernel
>
> :> Help! I'm pulling my hairs now. I installed at least 10 times
> :> from the CD and get this partition table/FS weirdness.
>
> : What weirdness, show me the table (fdisk -l /dev/hda)
>
> See above.
>
> I have a 2.2.17-14 kernel now and fdisk v2.9w
> mke2fs 1.17, 26-Oct-1999 for EXT2 FS 0.5b, 95/08/09

So you can boot from the HDD now without problems?

> I now want to create the /data FS from the remaining space.
> I hope I can do it with the tools/kernel I have.

I'm not sure, but I suspect you can.
Try it if the table is correct, no other tool will fail.

Add the partition (hda7) with fdisk.
Then reboot (fdisk mentions this if needed, but do it anyway)

After reboot check the table once more (fdisk -l /dev/hda)
If you're unsure about it, post it back here.

Then run `mke2fs /dev/hda7` (No typo's allowed here)
(If you want to share with windows, run mkdosfs instead)

Eric




------------------------------

Date: Mon, 12 Mar 2001 07:39:23 -0300
From: "Mad@Spammers" <[EMAIL PROTECTED]>
Subject: Unexpected behaviour on UDP ports

Hi Folks.

I am using an ipchains based packet filter with a 2.2.18 kernel.

My filter was crafted from a gfcc example and changes local port range:

# Change ip local port range
# Allows for keeping ppp-in filtering rules simple
PORT_ST=61000
PORT_END=65095
echo $PORT_ST $PORT_END > /proc/sys/net/ipv4/ip_local_port_range

Filtering rules are adjusted accordingly. After I first installed Dan
Bernstein's dnscache (I was using my ISP's DNS before) name resolving
stopped working and I verified by the logs that, even though lo requests
were binding to ports in the right range, there were ppp0 requests
binding
to lower udp ports. For instance (after netstat -nau):

udp        0      0 200.177.198.239:46393   128.63.2.53:53         
ESTABELECIDA
udp        0      0 127.0.0.1:61015         127.0.0.1:53           
ESTABELECIDA
udp        0      0 0.0.0.0:631            
0.0.0.0:*                           
udp        0      0 127.0.0.1:53           
0.0.0.0:*                           

I have seen bindings to ports as low as 1063 sometimes. I had to change
filter's
udp rule to allow for binding from 1024: and it's working fine but I'd 
appreciate if somebody could explain why is that happening and how could
I
fix it.

I don't know if it makes any difference but my kernel is a patched
version
released by Conectiva, a brazilian distro. AFAIK their patching is very
similar to RedHat's stock kernels.

Thanks for your help.

Mad

------------------------------

From: Siva <[EMAIL PROTECTED]>
Subject: RH 7.0 sound card not working
Date: Mon, 12 Mar 2001 05:47:30 -0500

Hello,
Initially,the soundcard was working with opensound drivers. After i removed 
it
& reconfigured with sndconfig ,it does not work anymore. A test sample was 
not 
heard & in Xmms,changing output plugin to esound i only got regular beeps. I 
did have a look 
at Sound-Howto & these are the things i have.

[user@linuxmc user]$ cat  /dev/sndstat
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux linuxmc 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686
Config options: 0
 
Installed drivers:
 
Card config:
 
Audio devices:
0: YMF7xx Legacy Audio driver 0.1.1 (3.01)
 
Synth devices:
 
Midi devices:
0: Sound Blaster
 
Timers:
0: System clock
 
Mixers:
0: YAMAHA PCI   
Why is it still pointing to the OSS driver??When i do a
tail /var/log/messages
i  have
Mar 12 13:51:23 linuxmc kernel: Sound: DMA (output) timed out - IRQ/DRQ
config error?
Mar 12 13:51:54 linuxmc last message repeated 30 times
Mar 12 13:52:11 linuxmc last message repeated 16 times


my modules.conf
is
alias eth0 eepro100
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
alias sound-slot-0 ymfsb
options sb support=1

How do i set it correctly??

Any help would be appreciated
regards,
siva

============================================================
 Get your FREE web-based e-mail and newsgroup access at:
                http://MailAndNews.com

 Create a new mailbox, or access your existing IMAP4 or
 POP3 mailbox from anywhere with just a web browser.
============================================================


------------------------------

From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: cross-posting
Date: Mon, 12 Mar 2001 08:19:37 GMT

Floyd Davidson <[EMAIL PROTECTED]> writes:

>[EMAIL PROTECTED] (Drew Roedersheimer) wrote:
>>Lew Pitcher wrote:
>>>
>>>Rules of thumb
>>>
>>>1) don't multipost when crossposting will do
>>>2) don't crosspost when single posting will do
>>>3) set "followups to" on multiposts and crossposts

>I think that should be DO NOT set followups-to on crossposts

[...]

No. 

Do not crosspost _without_ setting a FollowUp-To:
header. Otherwise the thread will result in a multi-group
drivel that's off-topic in all of the groups the original
posting was crossposted into. 

Michael
 
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

------------------------------

Date: Mon, 12 Mar 2001 02:47:56 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: wine desktop

Esa Tikka wrote:

> On Sun, 11 Mar 2001 10:22:23 -0800, The Webbs <[EMAIL PROTECTED]> wrote:
> 
>> i have seen the wine desktop. It looks like windows 95 or 3.1. The problem
>> is I
>> don't get this desktop, went i run the wine command it says all the usage
>> info,
>> it doesn't show the desktop. Is there something I'm missing? If so, where is
> 
> 
> AFAIK Wine can only start programs, it's not the desktop environment 
> itself. So, you should give the name of some windows program for it as 
> parameter.


actually reading the Usage printed to the screen would hav given him the 
same info, he just didnt want to read it


------------------------------

Date: Mon, 12 Mar 2001 02:53:50 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: QRPFF Source Code

Steve Withers wrote:

> Apparently the PERL program below can decrypt DVDs a la DeCSS. 
> 
> Anyone tried it?  
> 
> It would be nice to know
> 
> Their "qrpff" program is a more compact cousin of the DeCSS utility
>    that eight movie studios successfully sued to remove from the website
>    of 2600 Magazine. But unlike DeCSS, qrpff is abbreviated enough for
>    critics of the Motion Picture Association of America to include in,
>    for example, e-mail signature files -- and many already have.
>    
>    "I think there's some value in demonstrating how simple these things
>    really are and how preposterous it is to try to restrict their
>    distribution," says Winstein, a 19-year-old MIT sophomore computer
>    science major.
>    
>    [...]
> 
> 
> Usage:
> qrpff 153 2 8 105 225 /mnt/dvd/VOB_FILE_NAME | extract_mpeg2 | mpeg2_dec
> -
> 
> 
> #!/usr/bin/perl -w
> # 531-byte qrpff-fast, Keith Winstein and Marc Horowitz
> <[EMAIL PROTECTED]>
> # MPEG 2 PS VOB file on stdin -> descrambled output on stdout
> # arguments: title key bytes in least to most-significant order
> $_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
> $m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72,@z=(64,72,$a^=12*($_%16
> -2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
> =5;$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
> d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d>>12^$d>>4^
> $d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^
> (($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval

it would probably work if i had a program that would handle the output 
and put it into mpeg2 format...the perl works but i dont have a way of 
putting the data into a displayable format


------------------------------

From: "Darren Davison" <[EMAIL PROTECTED]>
Subject: logging options in named.conf
Date: Mon, 12 Mar 2001 11:36:35 -0000

hi,

I have a caching-only name server on which I'm trying to modify the default
logging behaviour by amending named.conf

My current 'logging' section of the file is shown below.  No matter how I
enter this information I get an error when restarting named such as:

Mar 12 10:55:31 edefl named[7441]: /etc/named.conf:12: syntax error near
category

I've highlighted line 12 in the reproduced logging section below.  The
logging always defaults as if there was no logging section defined.  Can
anyone offer any guidance on this one?

(this happens using BIND 8 and BIND 9)

Many thanks,
DD


        logging {
                channel named_log {
                        file "/var/log/named";
                        severity notice;
                };
                category default { named_log; };     // this is line 12
                category statistics { named_log; };
                category panic { named_log; default_stderr; };
                category lame-servers { null; };
        };





------------------------------

From: "Lee" <[EMAIL PROTECTED]>
Subject: Newbie: Video Modes
Date: Mon, 12 Mar 2001 09:45:29 -0000

The machine we have installed RH7 on a machine wit an on board Intel 815
graphics set.  Anyway, the RH installation did not give me choice of
resolutions and has defaulted to 1280x1024 and the flickering gives me an
instant headache.

Could someone advise how I go about changing the res to 800x600.

Cheers,
TIA,

Lee



------------------------------

From: [EMAIL PROTECTED]
Subject: Re: Newbie: Video Modes
Date: 12 Mar 2001 11:52:52 GMT

Lee <[EMAIL PROTECTED]> wrote:
> Could someone advise how I go about changing the res to 800x600.

If you configuration support it, pressing CTRL/ALT/+ and CTRL/ALT/-
cycle trought all the resolutions. If this does not work, you have
to tinker with the configuration. See the XF86Config-HOWTO.

Davide

------------------------------

From: "max barwell" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: magicfilter vs apsfilter
Date: Tue, 13 Mar 2001 01:09:48 +1300

i have lprng/magicfilter installed to handle printing, this combo works
well for me but i have read alot of good stuff about apsfilter. i tried
apsfilter but it did not work, i didnt look to far into why not, and went
back to magicfilter. what are  the pros and cons of these filters, i only
print university assignments etc, nothing special. i have an hp deskjet
695c. cheers for any comments or recommendations.

regards max

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: "Requires RedHat" other Linux distributions
Date: Mon, 12 Mar 2001 12:08:37 -0000

On Sun, 11 Mar 2001 21:20:06 -0800 Matt O'Toole <[EMAIL PROTECTED]> wrote:

| "Grant Edwards" <[EMAIL PROTECTED]> wrote in message
| news:[EMAIL PROTECTED]...
|
|> In article <[EMAIL PROTECTED]>, Andre John Mas wrote:
|
|> > I have seen a number of products, such a CodeWarrior and Flash 5 that
|> > indicates that they require RedHat Linux <version>. Is this just a way
|> > of saying "it will run on other Linuxes, but we won't support you" or
|> > will these programs genuinly not run on other Linux distributions, for
|> > example on SuSE.
|>
|> It usually means that
|>
|>  1) You need glibc (or other library) versions >= what was shipped
|>     with that version of RH.
|>
|>  2) The app assumes certain things about the file-system layout.
|>
|> If you can satisfy those two constraints the program will almost certainly
|> run.
|
| You are correct, sir.  However, I think that in most cases, it's just easier
| to install the preferred kind of Linux; than, say, to wrestle with the inner
| workings of Oracle or something.

But why do companies centralize around particular distributions when
there are plenty of people willing to repackage for other distributions?
In almost all cases, distribution (as opposed to kernel or library)
dependencies are in the installation script, or the packaging they
used, as opposed to the actual program (which is often made for many
different UNIX systems, so is generally fairly portable in the core).

Is it because they made some deal with the people at Redhat to be able
to call them up if they get stuck on some issue?  I can see that at some
small software house that can't afford to hire a couple Linux experts.
But Oracle?  I guess Larry made his billions by being stingy.

Of course there are misperceptions all over the place.  I remember a
while back when Redhat 6.0 just came out.  I was at a computer store
which carried Caldera Linux on the shelf.  It was at version 2 something.
A customer came in and commented "Your Linux is way out of date since
version 6 just came out".  I'd like to think this is all an issue of
ignorance of the fact that Redhat != Linux.  But sometimes I wonder.

-- 
=================================================================
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/     |
=================================================================

------------------------------


** 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 by posting to comp.os.linux.misc.

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-Misc Digest
******************************

Reply via email to