Re: [uPATCH] Re: Questions about Kernel 2.4.0.*

2000-12-01 Thread Peter Samuelson


[Marc Mutz]
> > +TOPDIR := $(shell pwd -P)

> That is specific to the bash builtin 'pwd'. GNU sh-util's pwd does
> not know that option (at least not my version, which is: "pwd (GNU
> sh-utils) 1.16")

It passed my 5-second shell feature portability test (ash).  Checking
again, I see that the ash 'pwd' just ignores its arguments, but doesn't
need '-P' because it doesn't maintain an internal pwd  Oh well.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [uPATCH] Re: Questions about Kernel 2.4.0.*

2000-12-01 Thread Marc Mutz

Peter Samuelson wrote:
> 

> +TOPDIR := $(shell pwd -P)


That is specific to the bash builtin 'pwd'. GNU sh-util's pwd does not
know that option (at least not my version, which is: "pwd (GNU sh-utils)
1.16")

I just wanted to note that...

Marc

-- 
Marc Mutz <[EMAIL PROTECTED]> http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



[uPATCH] Re: Questions about Kernel 2.4.0.*

2000-12-01 Thread Peter Samuelson


[Marc Mutz <[EMAIL PROTECTED]>]
> Should that not be first converted to paths that contain no symlinks?

I agree.

--- Makefile~   Tue Nov 28 21:53:31 2000
+++ MakefileFri Dec  1 12:25:28 2000
@@ -10,7 +10,7 @@
 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
  else if [ -x /bin/bash ]; then echo /bin/bash; \
  else echo sh; fi ; fi)
-TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
+TOPDIR := $(shell pwd -P)
 
 HPATH  = $(TOPDIR)/include
 FINDHPATH  = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Questions about Kernel 2.4.0.*

2000-12-01 Thread Marc Mutz

Peter Samuelson wrote:
> 

> Many people limit their e-mail messages to 80 columns.  What for?
> 
CF'mon, linebreaks are bloat! Those extra characters all around :-)

> The 'build' symlink is to make it easier for external module
> installation scripts to find the build directory for a given kernel.
> This build directory, in turn, will yield the correct header files,
> correct .config, correct compiler flags, etc., all of which can be
> important for building a working module.
> 

I hope 2.4.0 then does that better than 2.2.17:

$ ls /lib/modules/2.2.17*/build -l
/lib/modules/2.2.17/build -> /usr/src/linux
/lib/modules/2.2.17i10-0001/build -> /usr/src/linux
/lib/modules/2.2.17i8-0001/build -> /usr/src/linux
/lib/modules/2.2.17i8-0002/build -> /usr/src/linux
/lib/modules/2.2.17i8p2/build -> /usr/src/linux

though in all cases /usr/src/linux was only a symlink to the
corresponding tree in /usr/src/Linux/2/2/17/...
Should that not be first converted to paths that contain no symlinks?

Marc

-- 
Marc Mutz <[EMAIL PROTECTED]> http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Questions about Kernel 2.4.0.*

2000-12-01 Thread Marc Mutz

Peter Samuelson wrote:
 
snip
 Many people limit their e-mail messages to 80 columns.  What for?
 
CF'mon, linebreaks are bloat! Those extra characters all around :-)

 The 'build' symlink is to make it easier for external module
 installation scripts to find the build directory for a given kernel.
 This build directory, in turn, will yield the correct header files,
 correct .config, correct compiler flags, etc., all of which can be
 important for building a working module.
 

I hope 2.4.0 then does that better than 2.2.17:

$ ls /lib/modules/2.2.17*/build -l
/lib/modules/2.2.17/build - /usr/src/linux
/lib/modules/2.2.17i10-0001/build - /usr/src/linux
/lib/modules/2.2.17i8-0001/build - /usr/src/linux
/lib/modules/2.2.17i8-0002/build - /usr/src/linux
/lib/modules/2.2.17i8p2/build - /usr/src/linux

though in all cases /usr/src/linux was only a symlink to the
corresponding tree in /usr/src/Linux/2/2/17/...
Should that not be first converted to paths that contain no symlinks?

Marc

-- 
Marc Mutz [EMAIL PROTECTED] http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



[uPATCH] Re: Questions about Kernel 2.4.0.*

2000-12-01 Thread Peter Samuelson


[Marc Mutz [EMAIL PROTECTED]]
 Should that not be first converted to paths that contain no symlinks?

I agree.

--- Makefile~   Tue Nov 28 21:53:31 2000
+++ MakefileFri Dec  1 12:25:28 2000
@@ -10,7 +10,7 @@
 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
  else if [ -x /bin/bash ]; then echo /bin/bash; \
  else echo sh; fi ; fi)
-TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
+TOPDIR := $(shell pwd -P)
 
 HPATH  = $(TOPDIR)/include
 FINDHPATH  = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [uPATCH] Re: Questions about Kernel 2.4.0.*

2000-12-01 Thread Marc Mutz

Peter Samuelson wrote:
 
snip
 +TOPDIR := $(shell pwd -P)
snip

That is specific to the bash builtin 'pwd'. GNU sh-util's pwd does not
know that option (at least not my version, which is: "pwd (GNU sh-utils)
1.16")

I just wanted to note that...

Marc

-- 
Marc Mutz [EMAIL PROTECTED] http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [uPATCH] Re: Questions about Kernel 2.4.0.*

2000-12-01 Thread Peter Samuelson


[Marc Mutz]
  +TOPDIR := $(shell pwd -P)

 That is specific to the bash builtin 'pwd'. GNU sh-util's pwd does
 not know that option (at least not my version, which is: "pwd (GNU
 sh-utils) 1.16")

It passed my 5-second shell feature portability test (ash).  Checking
again, I see that the ash 'pwd' just ignores its arguments, but doesn't
need '-P' because it doesn't maintain an internal pwd  Oh well.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Questions about Kernel 2.4.0.*

2000-11-30 Thread Peter Samuelson

[Android]
> 1) There is a link in /lib/modules/2.4.0.11: build->/usr/src/linuxcreated by the 
>Makefile (make modules_install). What for?

Many people limit their e-mail messages to 80 columns.  What for?

The 'build' symlink is to make it easier for external module
installation scripts to find the build directory for a given kernel.
This build directory, in turn, will yield the correct header files,
correct .config, correct compiler flags, etc., all of which can be
important for building a working module.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Questions about Kernel 2.4.0.*

2000-11-30 Thread Peter Samuelson

[Android]
 1) There is a link in /lib/modules/2.4.0.11: build-/usr/src/linuxcreated by the 
Makefile (make modules_install). What for?

Many people limit their e-mail messages to 80 columns.  What for?

The 'build' symlink is to make it easier for external module
installation scripts to find the build directory for a given kernel.
This build directory, in turn, will yield the correct header files,
correct .config, correct compiler flags, etc., all of which can be
important for building a working module.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Questions about Kernel 2.4.0.*

2000-11-29 Thread Android




1) There is a link in /lib/modules/2.4.0.11: 
build->/usr/src/linuxcreated by the Makefile 
(make modules_install). What for?
 
2)  (Answered)
 
3)  (Answered)
 
4) Some of the device special files are missing 
when using devfs.
devfsd is running (loaded at the beginning of rc.S 
by init).
There was no /dev/lp0 on my system, even though 
module lp was loaded.
After creating this file explicitly with mknod, the 
printer worked.
 
5) This problem is probably the fault of X11 - it 
doesn't repaint the screen properly
after coming out of console mode. I have to switch 
back and forth several times
before I get a proper repaint. May be related to 
using framebuffer with X.
X crashes and locks completely when using sound. 
Anyone know why?
 
6) When going through the bash command history 
(using the arrow keys)
while in framebuffer mode, there will be a pause 
for about 3 seconds - during this time,
the system is totally frozen until this pause has 
expired. Any ideas on this?
I know this is a problem with bash - this problem doesn't occur when using 
tcsh.
 
7) How does one disable the display of the penguin 
logo when booting in framebuffer
mode so that all video lines are available for 
text? I know this can be removed with setfont
and possible fbset, but I would prefer the video 
display be "normal" from the start. Thanks.
 
 
-- Ted
 

**
Free web-based/POP3 mail from turbosport.com, turbomail.tv, mailplanet.net, and webmailcity.com
**
To report SPAM mail please send an e-mail to [EMAIL PROTECTED]



Questions about Kernel 2.4.0.*

2000-11-29 Thread Android




1) There is a link in /lib/modules/2.4.0.11: 
build->/usr/src/linuxcreated by the Makefile 
(make modules_install). What for?
 
2)  (Answered)
 
3)  (Answered)
 
4) Some of the device special files are missing 
when using devfs.
devfsd is running (loaded at the beginning of rc.S 
by init).
There was no /dev/lp0 on my system, even though 
module lp was loaded.
After creating this file explicitly with mknod, the 
printer worked.
 
5) This problem is probably the fault of X11 - it 
doesn't repaint the screen properly
after coming out of console mode. I have to switch 
back and forth several times
before I get a proper repaint. May be related to 
using framebuffer with X.
X crashes and locks completely when using sound. 
Anyone know why?
 
6) When going through the bash command history 
(using the arrow keys)
while in framebuffer mode, there will be a pause 
for about 3 seconds - during this time,
the system is totally frozen until this pause has 
expired. Any ideas on this?
I know this is a problem with bash - this problem doesn't occur when using 
tcsh.
 
7) How does one disable the display of the penguin 
logo when booting in framebuffer
mode so that all video lines are available for 
text? I know this can be removed with setfont
and possible fbset, but I would prefer the video 
display be "normal" from the start. Thanks.
 
 
-- Ted
 


Questions about Kernel 2.4.0.*

2000-11-29 Thread Android




1) There is a link in /lib/modules/2.4.0.11: 
build-/usr/src/linuxcreated by the Makefile 
(make modules_install). What for?

2) (Answered)

3) (Answered)

4) Some of the device special files are missing 
when using devfs.
devfsd is running (loaded at the beginning of rc.S 
by init).
There was no /dev/lp0 on my system, even though 
module lp was loaded.
After creating this file explicitly with mknod, the 
printer worked.

5) This problem is probably the fault of X11 - it 
doesn't repaint the screen properly
after coming out of console mode. I have to switch 
back and forth several times
before I get a proper repaint. May be related to 
using framebuffer with X.
X crashes and locks completely when using sound. 
Anyone know why?

6) When going through the bash command history 
(using the arrow keys)
while in framebuffer mode, there will be a pause 
for about 3 seconds - during this time,
the system is totally frozen until this pause has 
expired. Any ideas on this?
I know this is a problem with bash - this problem doesn't occur when using 
tcsh.

7) How does one disable the display of the penguin 
logo when booting in framebuffer
mode so that all video lines are available for 
text? I know this can be removed with setfont
and possible fbset, but I would prefer the video 
display be "normal" from the start. Thanks.

 
-- Ted



Questions about Kernel 2.4.0.*

2000-11-29 Thread Android




1) There is a link in /lib/modules/2.4.0.11: 
build-/usr/src/linuxcreated by the Makefile 
(make modules_install). What for?

2) (Answered)

3) (Answered)

4) Some of the device special files are missing 
when using devfs.
devfsd is running (loaded at the beginning of rc.S 
by init).
There was no /dev/lp0 on my system, even though 
module lp was loaded.
After creating this file explicitly with mknod, the 
printer worked.

5) This problem is probably the fault of X11 - it 
doesn't repaint the screen properly
after coming out of console mode. I have to switch 
back and forth several times
before I get a proper repaint. May be related to 
using framebuffer with X.
X crashes and locks completely when using sound. 
Anyone know why?

6) When going through the bash command history 
(using the arrow keys)
while in framebuffer mode, there will be a pause 
for about 3 seconds - during this time,
the system is totally frozen until this pause has 
expired. Any ideas on this?
I know this is a problem with bash - this problem doesn't occur when using 
tcsh.

7) How does one disable the display of the penguin 
logo when booting in framebuffer
mode so that all video lines are available for 
text? I know this can be removed with setfont
and possible fbset, but I would prefer the video 
display be "normal" from the start. Thanks.

 
-- Ted


**
Free web-based/POP3 mail from turbosport.com, turbomail.tv, mailplanet.net, and webmailcity.com
**
To report SPAM mail please send an e-mail to [EMAIL PROTECTED]



Re: Questions about Kernel 2.4.0.?

2000-11-27 Thread Android



- Original Message - 

  From: 
  Android 
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, November 25, 2000 2:20 
  PM
  Subject: Questions about Kernel 
  2.4.0.?
  
  1) There is a link in /lib/modules/2.4.0.11: 
  build->/usr/src/linux
  created by the Makefile (make modules_install). 
  What for?
   
  2) Lines missing from 
  /usr/src/linux/include/asm/uaccess.h:   #define 
  put_user_ret(x,ptr,ret) ({ if (put_user(x,ptr)) return ret; })   
  #define get_user_ret(x,ptr,ret) ({ if (get_user(x,ptr)) return ret; 
  })   #define __put_user_ret(x,ptr,ret) ({ if (__put_user(x,ptr)) 
  return ret; })   #define __get_user_ret(x,ptr,ret) ({ if 
  (__get_user(x,ptr)) return ret; })
  Some modules will not compile without these lines 
  included.
   
  3) Where are the drivers for bt878 (Video For 
  Linux)?
   
  4) Some of the device special files are missing 
  when using devfs.
  devfsd is running (loaded at the beginning of 
  rc.S by init).
  There was no /dev/lp0 on my system, even though 
  module lp was loaded.
  After creating this file explicitly with mknod, 
  the printer worked.
   
  5) This problem is probably the fault of X11 - it 
  doesn't repaint the screen properly
  after coming out of console mode. I have to 
  switch back and forth several times
  before I get a proper repaint. May be related to 
  using framebuffer with X.
  X crashes and locks completely when using sound. 
  Anyone know why?
   
  6) When going through the bash command history 
  (using the arrow keys)
  while in framebuffer mode, there will be a pause 
  for about 3 seconds - during this time,
  the system is totally frozen until this pause has 
  expired. Any ideas on this?
   
  7) How does one disable the display of the 
  penguin logo when booting in framebuffer
  mode so that all video lines are available for 
  text? I know this can be removed with setfont
  and possible fbset, but I would prefer the video 
  display be "normal" from the start. Thanks.
   
   
  -- Ted
   
  P.S. Ignore the ads that follow this line - this 
  is what happens when using free POP accounts.
   
   


Re: Questions about Kernel 2.4.0.?

2000-11-27 Thread Android



- Original Message - 

  From: 
  Android 
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, November 25, 2000 2:20 
  PM
  Subject: Questions about Kernel 
  2.4.0.?
  
  1) There is a link in /lib/modules/2.4.0.11: 
  build-/usr/src/linux
  created by the Makefile (make modules_install). 
  What for?
  
  2) Lines missing from 
  /usr/src/linux/include/asm/uaccess.h: #define 
  put_user_ret(x,ptr,ret) ({ if (put_user(x,ptr)) return ret; }) 
  #define get_user_ret(x,ptr,ret) ({ if (get_user(x,ptr)) return ret; 
  }) #define __put_user_ret(x,ptr,ret) ({ if (__put_user(x,ptr)) 
  return ret; }) #define __get_user_ret(x,ptr,ret) ({ if 
  (__get_user(x,ptr)) return ret; })
  Some modules will not compile without these lines 
  included.
  
  3) Where are the drivers for bt878 (Video For 
  Linux)?
  
  4) Some of the device special files are missing 
  when using devfs.
  devfsd is running (loaded at the beginning of 
  rc.S by init).
  There was no /dev/lp0 on my system, even though 
  module lp was loaded.
  After creating this file explicitly with mknod, 
  the printer worked.
  
  5) This problem is probably the fault of X11 - it 
  doesn't repaint the screen properly
  after coming out of console mode. I have to 
  switch back and forth several times
  before I get a proper repaint. May be related to 
  using framebuffer with X.
  X crashes and locks completely when using sound. 
  Anyone know why?
  
  6) When going through the bash command history 
  (using the arrow keys)
  while in framebuffer mode, there will be a pause 
  for about 3 seconds - during this time,
  the system is totally frozen until this pause has 
  expired. Any ideas on this?
  
  7) How does one disable the display of the 
  penguin logo when booting in framebuffer
  mode so that all video lines are available for 
  text? I know this can be removed with setfont
  and possible fbset, but I would prefer the video 
  display be "normal" from the start. Thanks.
  
   
  -- Ted
  
  P.S. Ignore the ads that follow this line - this 
  is what happens when using free POP accounts.
  
  


Re: Questions about Kernel 2.4.0.?

2000-11-25 Thread Keith Owens

On Sat, 25 Nov 2000 14:20:39 -0800, 
"Android" <[EMAIL PROTECTED]> wrote:
>There is a link in /lib/modules/2.4.0.11: build->/usr/src/linux
>created by the Makefile (make modules_install).
>What for? depmod doesn't like this link. It gets confused.

grep modutils Documentation/Changes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Questions about Kernel 2.4.0.?

2000-11-25 Thread Android



There is a link in /lib/modules/2.4.0.11: 
build->/usr/src/linux
created by the Makefile (make 
modules_install).What for? depmod doesn't like this link. It gets 
confused.
 
Lines missing from 
/usr/src/linux/include/asm/uaccess.h:   #define 
put_user_ret(x,ptr,ret) ({ if (put_user(x,ptr)) return ret; })   
#define get_user_ret(x,ptr,ret) ({ if (get_user(x,ptr)) return ret; 
})   #define __put_user_ret(x,ptr,ret) ({ if (__put_user(x,ptr)) 
return ret; })   #define __get_user_ret(x,ptr,ret) ({ if 
(__get_user(x,ptr)) return ret; })
Some modules will not compile without these lines 
included.
 
Where are the drivers for bt878 (Video For 
Linux)?
 
Some of the device special files are missing when 
using devfs.
devfsd is running (loaded at the beginning of rc.S 
by init).
There was no /dev/lp0 on my system, even though 
module lp was loaded.
After creating this file explicitly with mknod, the 
printer worked.
 
This problem is probably the fault of X11 - it 
doesn't repaint the screen properly
after coming out of console mode. I have to switch 
back and forth several times
before I get a proper repaint. May be related to 
using framebuffer with X.
X crashes and locks completely when using sound. 
Anyone know why?
 
 
-- Ted
 


Questions about Kernel 2.4.0.?

2000-11-25 Thread Android



There is a link in /lib/modules/2.4.0.11: 
build-/usr/src/linux
created by the Makefile (make 
modules_install).What for? depmod doesn't like this link. It gets 
confused.

Lines missing from 
/usr/src/linux/include/asm/uaccess.h: #define 
put_user_ret(x,ptr,ret) ({ if (put_user(x,ptr)) return ret; }) 
#define get_user_ret(x,ptr,ret) ({ if (get_user(x,ptr)) return ret; 
}) #define __put_user_ret(x,ptr,ret) ({ if (__put_user(x,ptr)) 
return ret; }) #define __get_user_ret(x,ptr,ret) ({ if 
(__get_user(x,ptr)) return ret; })
Some modules will not compile without these lines 
included.

Where are the drivers for bt878 (Video For 
Linux)?

Some of the device special files are missing when 
using devfs.
devfsd is running (loaded at the beginning of rc.S 
by init).
There was no /dev/lp0 on my system, even though 
module lp was loaded.
After creating this file explicitly with mknod, the 
printer worked.

This problem is probably the fault of X11 - it 
doesn't repaint the screen properly
after coming out of console mode. I have to switch 
back and forth several times
before I get a proper repaint. May be related to 
using framebuffer with X.
X crashes and locks completely when using sound. 
Anyone know why?

 
-- Ted



Re: Questions about Kernel 2.4.0.?

2000-11-25 Thread Keith Owens

On Sat, 25 Nov 2000 14:20:39 -0800, 
"Android" [EMAIL PROTECTED] wrote:
There is a link in /lib/modules/2.4.0.11: build-/usr/src/linux
created by the Makefile (make modules_install).
What for? depmod doesn't like this link. It gets confused.

grep modutils Documentation/Changes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/