Linux-Development-Sys Digest #555

2001-03-10 Thread Digestifier

Linux-Development-Sys Digest #555, Volume #8 Sat, 10 Mar 01 15:13:11 EST

Contents:
  linux kernel #, linux release #, ??? ("johng12")
  Re: Why is this process swapping? ([EMAIL PROTECTED])
  Re: Can linux be trusted? (Mark McIntyre)
  Is bootsect.s the code of MBR?? ("hushui")
  Re: Can linux be trusted? (Robert Redelmeier)
  Using old kernel modules under a new kernel ("thomas a. anderson")
  Re: linux kernel #, linux release #, ??? ("J. E. Garrott Sr")
  Re: Why is this process swapping? (Kaelin Colclasure)
  Re: Why is this process swapping? (Kaelin Colclasure)
  Re: Is bootsect.s the code of MBR?? (Kaz Kylheku)
  Re: Using old kernel modules under a new kernel ("tlin")
  Re: Can linux be trusted? (pete)
  Where are inw and outw? (Matt)
  Re: Can linux be trusted? (Erik Max Francis)



From: "johng12" [EMAIL PROTECTED]
Subject: linux kernel #, linux release #, ???
Date: Sat, 10 Mar 2001 09:38:43 GMT

i wanted to know more about
1  different linux distributions like red hat, suse, etc etc have their
versions of linux OS. what is the difference between them
2  how to find, or what are the differences between variuos linux kernels eg
kernel 2.0.34
  if linux is an open source software , then its kernel is code is free...
right ??

eg rehat calls its Linux release 5.1 as Manhattan. what are the differences
between each release.
Please point me to relevant docs.



--

From: [EMAIL PROTECTED]
Subject: Re: Why is this process swapping?
Date: Sat, 10 Mar 2001 10:58:00 -

| And finally, change your code so that instead of mapping every number
| to a bit (4B numbers = 0.5B bits) try mapping EVERY OTHER NUMBER to a
| bit (2B numbers = 0.25B).  Every 3rd bit is still the multiples of 3
| (but now represents 3,9,15,21, instead of 3,6,9,12,...) and every
| Nth bit (where N is not 2) is still multiples of N.  Your bit striking
| offsets do not change.  Your CPU and memory are each cut in half.

That should be 4B numbers = 4B bits = 0.5B bytes,
and 2B numbers = 2B bits = 0.25B bytes.

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

--

From: Mark McIntyre [EMAIL PROTECTED]
Crossposted-To: 
comp.lang.c,comp.os.linux.development.apps,comp.sys.be.programmer,comp.sys.mac.programmer.misc,comp.unix.bsd.freebsd.misc,comp.unix.bsd.misc,gnu.gcc
Subject: Re: Can linux be trusted?
Date: Sat, 10 Mar 2001 11:37:29 +

On Fri, 09 Mar 2001 23:37:29 -0500, Willam Hughes [EMAIL PROTECTED]
wrote:

Richard Tobin wrote:

 In article [EMAIL PROTECTED],  [EMAIL PROTECTED] wrote:

 Remember that 3.0 isn't the same as 3 and (depending on how your floats are 
encoded) might be
 2..

 If your floats are encoded in any way that is actually used, 3 will be
 represented exactly.

While it is true that the floating point constant 3.
will probably be represented exactly, 

How ? Is it an exact binary number ? 

there is no guarantee that a floating point expression
that has a nominal value of 3 will evaluate to
exactly 3.

absolutely. 


-- 
Mark McIntyre
CLC FAQ http://www.eskimo.com/~scs/C-faq/top.html

--

From: "hushui" [EMAIL PROTECTED]
Subject: Is bootsect.s the code of MBR??
Date: Sat, 10 Mar 2001 21:28:31 +0800

I have seen some part of the source code of Linux,that is bootsect.S .
The code shows "lilo" when booting .
When bios start the computer ,then read the code of mbr ,then execute it .
Now I want to know the code in mbr (besides the partion infomation) is in
the file bootsect.S ???
Setup.S is including what ??
When booting ,the code after 0x1 (real mode ) is head.S???
the code after 0x90200( which is 2k size ) is setup.S ??






--

Date: Sat, 10 Mar 2001 07:36:32 -0600
From: Robert Redelmeier [EMAIL PROTECTED]
Crossposted-To: 
comp.lang.c,comp.os.linux.development.apps,comp.sys.be.programmer,comp.sys.mac.programmer.misc,comp.unix.bsd.freebsd.misc,comp.unix.bsd.misc,gnu.gcc
Subject: Re: Can linux be trusted?

Mark McIntyre wrote:
 
 On Fri, 09 Mar 2001 23:37:29 -0500, Willam Hughes [EMAIL PROTECTED]
 While it is true that the floating point constant 3.
 will probably be represented exactly,
 
 How ? Is it an exact binary number ?

YES!  3d = 1.1b * 2^1b .

In general, all non-mantissa over[under?]flowing integers 
can be exactly representing by floats.

All fractions that are multiples of exact negative powers of 
two _can_ also be exactly represented.  0.25d = 1.0b * 2^-10b.

Unfortunately, multiples of other numbers to negative powers
[like the commonly use base 10] are repeaters.  

Worse, even when you try to de

Linux-Development-Sys Digest #555

1999-03-31 Thread Digestifier

Linux-Development-Sys Digest #555, Volume #6 Wed, 31 Mar 99 10:15:20 EST

Contents:
  Re: 2.2.[2,3] cannot mount MO devices (Juergen Koslowski)
  Re: Some notes on glibc-2.1 and egcs-1.1.1 (Horst von Brand)
  Re: Struct Padding (Larry Blanchard)
  Re: CodeWarror for Linux (was: Re: Programming tools for ...) (Donal K. Fellows)
  Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. (Donal K. 
Fellows)
  Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. (Johan Kullstam)
  Re: Idea:  Make a seperate "i686" tree for Redhat Linux 6.0 (Joseph L. Wood, III)
  Re: [ANN] CodeWarrior for Red Hat Linux (Sid Boyce)
  problems removing linux from my Hard Disk ("David Bryan")
  EGCS and Stack? (Andreas Jusek)
  Re: x86 PC emulator for x86 PC??? ("Sascha Bohnenkamp")
  Re: how to load ram disk from LILO? (Villy Kruse)
  lex/flex grief (Tony Scholes)



From: [EMAIL PROTECTED] (Juergen Koslowski)
Subject: Re: 2.2.[2,3] cannot mount MO devices
Date: 31 Mar 1999 11:23:18 GMT

As indicated yesterday, it is indeed a software problem that prevents
my CD-ROM drive to find media.  It works under 2.2.3, but not under 
2.2.4 and 2.2.5.  Strangely enough, under 2.2.4, workman started 
alright, although data-cds were not recognized.  But under 2.2.5, 
workman also crashes with the message "no medium found".  Below is
the relevant syslogin file, maybe someone can guess which changes in the
latest kernels may be responsible?  My CD-writer is not affected at all.
It works under all three kernels, 2.2.3, 2.2.4 and 2.2.5.  Strange!

Cheers,

-- J"urgen

Mar 31 00:42:32 localhost kernel: Linux version 2.2.5 (root@joanne) (gcc version 
egcs-2.91.60 19981201 (egcs-1.1.1 release)) #47 Mon Mar 29 20:00:23 CEST 1999
Mar 31 00:42:32 localhost kernel: Detected 132634408 Hz processor.
Mar 31 00:42:32 localhost kernel: Console: colour VGA+ 80x25
Mar 31 00:42:32 localhost kernel: Calibrating delay loop... 52.84 BogoMIPS
Mar 31 00:42:32 localhost kernel: Memory: 63308k/65536k available (920k kernel code, 
408k reserved, 868k data, 32k init)
Mar 31 00:42:32 localhost kernel: CPU: Intel Pentium 75 - 200 stepping 0b
Mar 31 00:42:32 localhost kernel: POSIX conformance testing by UNIFIX
Mar 31 00:42:32 localhost kernel: PCI: PCI BIOS revision 2.10 entry at 0xfbd20
Mar 31 00:42:32 localhost kernel: PCI: Using configuration type 1
Mar 31 00:42:32 localhost kernel: PCI: Probing PCI hardware
Mar 31 00:42:32 localhost kernel: Starting kswapd v 1.5 
Mar 31 00:42:32 localhost kernel: Sound Blaster 16 (4.13) at 0x220 irq 5 dma 1,5
Mar 31 00:42:32 localhost kernel: Sound Blaster 16 at 0x330 irq 5 dma 0
Mar 31 00:42:32 localhost kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast 
SCSI) 5.1.10/3.2.4
Mar 31 00:42:32 localhost kernel:Adaptec AIC-7880 Ultra SCSI host adapter
Mar 31 00:42:32 localhost kernel: scsi : 1 host.
Mar 31 00:42:32 localhost kernel:   Vendor: FUJITSU   Model: M2934Q-512Rev: 
0138
Mar 31 00:42:32 localhost kernel:   Type:   Direct-Access  ANSI 
SCSI revision: 02
Mar 31 00:42:32 localhost kernel: Detected scsi disk sda at scsi0, channel 0, id 0, 
lun 0
Mar 31 00:42:32 localhost kernel:   Vendor: TOSHIBA   Model: CD-ROM XM-5401TA  Rev: 
3605
Mar 31 00:42:32 localhost kernel:   Type:   CD-ROM ANSI 
SCSI revision: 02
Mar 31 00:42:32 localhost kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, 
lun 0
Mar 31 00:42:32 localhost kernel:   Vendor: HPModel: HP35480A  Rev: 
T503
Mar 31 00:42:32 localhost kernel:   Type:   Sequential-Access  ANSI 
SCSI revision: 02
Mar 31 00:42:32 localhost kernel: Detected scsi tape st0 at scsi0, channel 0, id 5, 
lun 0
Mar 31 00:42:32 localhost kernel:   Vendor: TEAC  Model: CD-R55S   Rev: 
1.0K
Mar 31 00:42:32 localhost kernel:   Type:   CD-ROM ANSI 
SCSI revision: 02
Mar 31 00:42:32 localhost kernel: Detected scsi CD-ROM sr1 at scsi0, channel 0, id 6, 
lun 0
Mar 31 00:42:32 localhost kernel: scsi : detected 1 SCSI tape 2 SCSI cdroms 1 SCSI 
disk total.
Mar 31 00:42:32 localhost kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 
8506782 [4153 MB] [4.2 GB]
Mar 31 00:42:32 localhost kernel: Partition check:
Mar 31 00:42:32 localhost kernel:  sda: sda1  sda5 sda6 sda7 sda8 sda9 sda10 sda11 
sda12 
Mar 31 00:42:32 localhost kernel: VFS: Mounted root (ext2 filesystem) readonly.
Mar 31 00:42:32 localhost kernel: Freeing unused kernel memory: 32k freed
Mar 31 00:42:32 localhost kernel: sr0: CDROM (ioctl) error, command: 0x00 00 00 00 00 
00 
Mar 31 00:42:32 localhost kernel: extra data not valid Current error sr00:00: sns = 70 
 3
Mar 31 00:42:32 localhost kernel: ASC=57 ASCQ= 0
Mar 31 00:42:32 localhost kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 
0x0a 0x00 0x00 0x00 0x00 0x57 0x00 0x00 0x00