linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux 2.4.22-pre4
@ 2003-07-09 22:24 Marcelo Tosatti
  2003-07-09 22:48 ` J.A. Magallon
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Marcelo Tosatti @ 2003-07-09 22:24 UTC (permalink / raw)
  To: lkml


Hi,

Here goes -pre4. It contains a lot of updates and fixes.

We decided to include this new code quota code which allows usage of
quotas with 32bit UID/GIDs.

Most Toshibas should work now due to an important ACPI fix.

Please help and test.


Summary of changes from v2.4.22-pre3 to v2.4.22-pre4
============================================

<dtor_core@ameritech.net>:
  o [NET] Attach inner qdiscs to TBF

<lethal@linux-sh.org>:
  o sh64: Add FIOQSIZE definition
  o sh64: Fixup Cayman IRQ reporting
  o sh64: SH-5 PCI updates
  o sh64: Fix privileged insn handling
  o sh64: IDE support

<lode_leroy@hotmail.com>:
  o [IPV4] display bootserver in /proc/net/pnp

<lunz@falooley.org>:
  o [NET] Fix refcounting of dev->promiscuity for af_packet

<m.c.p@wolk-project.de>:
  o [RESEND 5th] Fix oom killer braindamage

<stelian@popies.net>:
  o Export 'acpi_disabled' symbol to modules

Alan Cox <alan@lxorguk.ukuu.org.uk>:
  o Make ACPI work on lots more boxes
  o config for new Nvidia AGP
  o parisc sync up (resend of resend of resend ... 8))
  o AGP update - new intel, add nvidia
  o ebda check in ibm hotplug is insufficient
  o update mpt fusion driver
  o fix the eexpress
  o move sdla to mod_timer
  o add code for missing c7000 driver
  o resend - fix security bits in binfmt_exec/som
  o re-fix printk level for buffer cachehash
  o exec part of security fix
  o fix inverted dnotify
  o fix definition of boot_DT
  o add the new agp modes to the headers
  o kernel/fork helper for exec security fix
  o S/390 CLAW bits
  o fix up z85230 queue wake logic

Benjamin Herrenschmidt <benh@kernel.crashing.org>:
  o ppc32: Fix races in low level adb drivers

Christoph Hellwig <hch@infradead.org>:
  o quota patch breaks kernel build

Christoph Hellwig <hch@lst.de>:
  o new quota code
  o fix Q_SYNC for dev == 0

David S. Miller <davem@nuts.ninka.net>:
  o [SPARC64]: sys_sparc32.c needs linux/quotacompat.h
  o [FS]: Provide unshare_files() declaration and export to modules
  o [SPARC]: SEMTIMEDOP for both Sparc ports

Marcelo Tosatti <marcelo@freak.distro.conectiva>:
  o Cset exclude: rusty@rustcorp.com.au|ChangeSet|20030707182325|08049
  o Remove bogus diff from drivers/char/Config.in
  o Changed EXTRAVERSION to -pre4
  o Cset exclude: hannal@us.ibm.com|ChangeSet|20030707180059|08076
  o Fixes ext3 quota/truncate oops
  o CRIS architecture update
  o Cset exclude: Remove NFS direct IO patches Cset exclude: trond.myklebust@fys.uio.no|ChangeSet|20030708095239|55752
  o Cset exclude: remove NFS direct IO patches Cset exclude: trond.myklebust@fys.uio.no|ChangeSet|20030706143259|16957
  o Add missing fs/quota_v2.c file
  o Comment out VIA_APOLLO_P4X400 handling in drm_agpsupport.h: Alan will fix that up later

Matthew Wilcox <willy@debian.org>:
  o pci_name()

Mikael Pettersson <mikpe@csd.uu.se>:
  o i386 cpufeature.h cleanup + comment

Paul Mackerras <paulus@samba.org>:
  o PPC32: Minor updates to comments and processor register definitions
  o PPC32: Minor boot wrapper cleanups
  o PPC32: Define screen_info if CONFIG_FB is set for the sake of vesafb
  o PPC32: Make __kernel_ino_t be unsigned long like on other architectures

Randy Dunlap <rddunlap@osdl.org>:
  o make profile= doc. clearer

Rusty Russell <rusty@rustcorp.com.au>:
  o Configure.help Polish translation location update
  o unreachable code in drivers_media_video_cpia_pp.c
  o 2.4 drivers_char_random.c fix sample shellscripts
  o trivial patch
  o fix sound doc typos
  o fs_bfs_dir.c unused variables
  o Decision PCCOM4_PCCOM8 serial support for 2.4.19
  o Re: setrlimit incorrectly allows hard limits to exceed
  o fix linewrap in Documentation_ia64_efirtc.txt
  o fix linewrap in Documentation_arm_SA1100_CERF
  o fix linewrap in Documentation_filesystems_befs.txt
  o [2.5 patch] two small MTD fixes
  o 2.4 patch for more debug safety
  o esssolo1.c doesn't free resources correctly

Trond Myklebust <trond.myklebust@fys.uio.no>:
  o Back out some congestion control changes that were causing trouble among other things for the "soft" mount option.


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Linux 2.4.22-pre4
  2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
@ 2003-07-09 22:48 ` J.A. Magallon
  2003-07-09 22:56   ` Herbert Pötzl
  2003-07-09 22:51 ` Alex Romosan
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 21+ messages in thread
From: J.A. Magallon @ 2003-07-09 22:48 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml


On 07.10, Marcelo Tosatti wrote:
> 
> Hi,
> 
> Here goes -pre4. It contains a lot of updates and fixes.
> 

Uh ? What the h**l have you diffed ?

Ahhhh, is it reversed ???

;)

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-pre2-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-2mdk))

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Linux 2.4.22-pre4
  2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
  2003-07-09 22:48 ` J.A. Magallon
@ 2003-07-09 22:51 ` Alex Romosan
  2003-07-10  0:02   ` -pre4 fixed on ftp.kernel.org " Marcelo Tosatti
  2003-07-09 23:04 ` Onur Kucuk
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 21+ messages in thread
From: Alex Romosan @ 2003-07-09 22:51 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml

Marcelo Tosatti <marcelo@conectiva.com.br> writes:

> Here goes -pre4. It contains a lot of updates and fixes.

patch-2.4.22-pre4.bz2 is reversed (it applies with -R). please upload
a correct one.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Linux 2.4.22-pre4
  2003-07-09 22:48 ` J.A. Magallon
@ 2003-07-09 22:56   ` Herbert Pötzl
  0 siblings, 0 replies; 21+ messages in thread
From: Herbert Pötzl @ 2003-07-09 22:56 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: lkml

On Thu, Jul 10, 2003 at 12:48:56AM +0200, J.A. Magallon wrote:
> 
> On 07.10, Marcelo Tosatti wrote:
> > 
> > Hi,
> > 
> > Here goes -pre4. It contains a lot of updates and fixes.
> > 
> 
> Uh ? What the h**l have you diffed ?
> 
> Ahhhh, is it reversed ???

nice touch ... I like it! ;)

> ;)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Linux 2.4.22-pre4
  2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
  2003-07-09 22:48 ` J.A. Magallon
  2003-07-09 22:51 ` Alex Romosan
@ 2003-07-09 23:04 ` Onur Kucuk
  2003-07-09 23:13 ` [PATCH] do_generic_direct_write: bad flag check J.A. Magallon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 21+ messages in thread
From: Onur Kucuk @ 2003-07-09 23:04 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel



patching file CREDITS
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file CREDITS.rej
patching file Documentation/Configure.help
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
20 out of 20 hunks ignored -- saving rejects to file 
Documentation/Configure.help.rej
patching file Documentation/arm/SA1100/CERF
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file 
Documentation/arm/SA1100/CERF.rej
patching file Documentation/cciss.txt
Reversed (or previously applied) patch detected!  Assume -R? [n]
.
.
.
.


and goes on


  Regards,
  Onur Kucuk




^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH] do_generic_direct_write: bad flag check
  2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
                   ` (2 preceding siblings ...)
  2003-07-09 23:04 ` Onur Kucuk
@ 2003-07-09 23:13 ` J.A. Magallon
  2003-07-10  3:29   ` Marcelo Tosatti
  2003-07-10  0:03 ` Linux 2.4.22-pre4 J.A. Magallon
                   ` (4 subsequent siblings)
  8 siblings, 1 reply; 21+ messages in thread
From: J.A. Magallon @ 2003-07-09 23:13 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml


On 07.10, Marcelo Tosatti wrote:
> 
> Hi,
> 
> Here goes -pre4. It contains a lot of updates and fixes.
> 

--- linux-2.4.22-pre2-jam1/mm/filemap.c.orig	2003-06-28 01:55:36.000000000 +0200
+++ linux-2.4.22-pre2-jam1/mm/filemap.c	2003-06-28 01:55:45.000000000 +0200
@@ -3223,7 +3223,7 @@
 	if (err != 0 || count == 0)
 		goto out;
 
-	if (!file->f_flags & O_DIRECT)
+	if (!(file->f_flags & O_DIRECT))
 		BUG();
 
 	remove_suid(inode);

...but sure the fix in -ac is better.

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-pre2-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-2mdk))

^ permalink raw reply	[flat|nested] 21+ messages in thread

* -pre4 fixed on ftp.kernel.org Re: Linux 2.4.22-pre4
  2003-07-09 22:51 ` Alex Romosan
@ 2003-07-10  0:02   ` Marcelo Tosatti
  0 siblings, 0 replies; 21+ messages in thread
From: Marcelo Tosatti @ 2003-07-10  0:02 UTC (permalink / raw)
  To: Alex Romosan; +Cc: lkml



On Wed, 9 Jul 2003, Alex Romosan wrote:

> Marcelo Tosatti <marcelo@conectiva.com.br> writes:
>
> > Here goes -pre4. It contains a lot of updates and fixes.
>
> patch-2.4.22-pre4.bz2 is reversed (it applies with -R). please upload
> a correct one.

The correct one is already at ftp.kernel.org.

Sorry for the silly mistake.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Linux 2.4.22-pre4
  2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
                   ` (3 preceding siblings ...)
  2003-07-09 23:13 ` [PATCH] do_generic_direct_write: bad flag check J.A. Magallon
@ 2003-07-10  0:03 ` J.A. Magallon
  2003-07-10  0:29 ` [PATCH] hfsplus: group Apple FS's and help text J.A. Magallon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 21+ messages in thread
From: J.A. Magallon @ 2003-07-10  0:03 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml


On 07.10, Marcelo Tosatti wrote:
> 
> Hi,
> 
> Here goes -pre4. It contains a lot of updates and fixes.
> 

Looks like the directory drivers/scsi/aic79xx/aicasm is still there...

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-pre2-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-2mdk))

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH] hfsplus: group Apple FS's and help text
  2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
                   ` (4 preceding siblings ...)
  2003-07-10  0:03 ` Linux 2.4.22-pre4 J.A. Magallon
@ 2003-07-10  0:29 ` J.A. Magallon
  2003-07-10  0:36   ` J.A. Magallon
  2003-07-10  5:23 ` Linux 2.4.22-pre4 Aschwin Marsman
                   ` (2 subsequent siblings)
  8 siblings, 1 reply; 21+ messages in thread
From: J.A. Magallon @ 2003-07-10  0:29 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml


On 07.10, Marcelo Tosatti wrote:
> 
> Hi,
> 
> Here goes -pre4. It contains a lot of updates and fixes.
> 

Agreed with maintainer some time ago...


-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-pre2-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-2mdk))

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH] hfsplus: group Apple FS's and help text
  2003-07-10  0:29 ` [PATCH] hfsplus: group Apple FS's and help text J.A. Magallon
@ 2003-07-10  0:36   ` J.A. Magallon
  0 siblings, 0 replies; 21+ messages in thread
From: J.A. Magallon @ 2003-07-10  0:36 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: Marcelo Tosatti, lkml


On 07.10, J.A. Magallon wrote:
> 
> On 07.10, Marcelo Tosatti wrote:
> > 
> > Hi,
> > 
> > Here goes -pre4. It contains a lot of updates and fixes.
> > 
> 
> Agreed with maintainer some time ago...
> 

I should learn to write with hands instead of feet...

diff -ruN linux-2.4.21-rc1/Documentation/Configure.help linux-2.4.21-rc1-hfs/Documentation/Configure.help
--- linux-2.4.21-rc1/Documentation/Configure.help	2003-04-21 23:34:34.000000000 +0200
+++ linux-2.4.21-rc1-hfs/Documentation/Configure.help	2003-05-08 01:50:55.000000000 +0200
@@ -16094,7 +16094,7 @@
   say M here and read <file:Documentation/modules.txt>.  If unsure,
   say N.
 
-Apple Macintosh file system support
+Apple HFS file system support
 CONFIG_HFS_FS
   If you say Y here, you will be able to mount Macintosh-formatted
   floppy disks and hard drive partitions with full read-write access.
@@ -16107,6 +16107,21 @@
   compile it as a module, say M here and read
   <file:Documentation/modules.txt>.
 
+Apple HFS+ (Extended HFS) file system support
+CONFIG_HFSPLUS_FS
+  If you say Y here, you will be able to mount extended format
+  Macintosh-formatted hard drive partitions with full read-write access.
+
+  This file system is often called HFS+ and was introduced with
+  MacOS 8. It includes all Mac specific filesystem data such as
+  data forks and creator codes, but it also has several UNIX
+  style features such as file ownership and permissions.
+
+  This file system is also available as a module ( = code which can
+  be inserted in and removed from the running kernel whenever you
+  want). The module is called hfsplus.o. If you want to compile it
+  as a module, say M here and read Documentation/modules.txt.
+
 ROM file system support
 CONFIG_ROMFS_FS
   This is a very small read-only file system mainly intended for
diff -ruN linux-2.4.21-rc1/fs/Config.in linux-2.4.21-rc1-hfs/fs/Config.in
--- linux-2.4.21-rc1/fs/Config.in	2002-11-29 00:53:15.000000000 +0100
+++ linux-2.4.21-rc1-hfs/fs/Config.in	2003-05-08 01:44:35.000000000 +0200
@@ -19,13 +19,13 @@
 
 dep_tristate 'Amiga FFS file system support (EXPERIMENTAL)' CONFIG_AFFS_FS $CONFIG_EXPERIMENTAL
 
-dep_tristate 'Apple Macintosh file system support (EXPERIMENTAL)' CONFIG_HFS_FS $CONFIG_EXPERIMENTAL
+dep_tristate 'Apple HFS file system support (EXPERIMENTAL)' CONFIG_HFS_FS $CONFIG_EXPERIMENTAL
+
+dep_tristate 'Apple HFS+ (Extended HFS) file system support (EXPERIMENTAL)' CONFIG_HFSPLUS_FS $CONFIG_EXPERIMENTAL
 
 dep_tristate 'BeOS file systemv(BeFS) support (read only) (EXPERIMENTAL)' CONFIG_BEFS_FS $CONFIG_EXPERIMENTAL
 dep_mbool '  Debug Befs' CONFIG_BEFS_DEBUG $CONFIG_BEFS_FS
 
-dep_tristate 'Apple Extended HFS file system support (EXPERIMENTAL)' CONFIG_HFSPLUS_FS $CONFIG_EXPERIMENTAL
-
 dep_tristate 'BFS file system support (EXPERIMENTAL)' CONFIG_BFS_FS $CONFIG_EXPERIMENTAL
 
 tristate 'Ext3 journalling file system support' CONFIG_EXT3_FS


-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-pre2-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-2mdk))

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH] do_generic_direct_write: bad flag check
  2003-07-09 23:13 ` [PATCH] do_generic_direct_write: bad flag check J.A. Magallon
@ 2003-07-10  3:29   ` Marcelo Tosatti
  2003-07-10  3:48     ` Daniel
  0 siblings, 1 reply; 21+ messages in thread
From: Marcelo Tosatti @ 2003-07-10  3:29 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: lkml



On Thu, 10 Jul 2003, J.A. Magallon wrote:

>
> On 07.10, Marcelo Tosatti wrote:
> >
> > Hi,
> >
> > Here goes -pre4. It contains a lot of updates and fixes.
> >
>
> --- linux-2.4.22-pre2-jam1/mm/filemap.c.orig	2003-06-28 01:55:36.000000000 +0200
> +++ linux-2.4.22-pre2-jam1/mm/filemap.c	2003-06-28 01:55:45.000000000 +0200
> @@ -3223,7 +3223,7 @@
>  	if (err != 0 || count == 0)
>  		goto out;
>
> -	if (!file->f_flags & O_DIRECT)
> +	if (!(file->f_flags & O_DIRECT))
>  		BUG();
>
>  	remove_suid(inode);
>
> ...but sure the fix in -ac is better.

What is the difference between the fix in -ac and yours?

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH] do_generic_direct_write: bad flag check
  2003-07-10  3:29   ` Marcelo Tosatti
@ 2003-07-10  3:48     ` Daniel
  0 siblings, 0 replies; 21+ messages in thread
From: Daniel @ 2003-07-10  3:48 UTC (permalink / raw)
  To: linux-kernel



Marcelo Tosatti wrote:

> 
> On Thu, 10 Jul 2003, J.A. Magallon wrote:
> 
> 
>>On 07.10, Marcelo Tosatti wrote:
>>
>>>Hi,
>>>
>>>Here goes -pre4. It contains a lot of updates and fixes.
>>>
>>
>>--- linux-2.4.22-pre2-jam1/mm/filemap.c.orig	2003-06-28 01:55:36.000000000 +0200
>>+++ linux-2.4.22-pre2-jam1/mm/filemap.c	2003-06-28 01:55:45.000000000 +0200
>>@@ -3223,7 +3223,7 @@
>> 	if (err != 0 || count == 0)
>> 		goto out;
>>
>>-	if (!file->f_flags & O_DIRECT)
>>+	if (!(file->f_flags & O_DIRECT))
>> 		BUG();
>>
>> 	remove_suid(inode);
>>
>>...but sure the fix in -ac is better.
> 
> 
> What is the difference between the fix in -ac and yours?

There's a difference??  Looks the same to me.  Unless there is part of 
the patch we don't see.


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Linux 2.4.22-pre4
  2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
                   ` (5 preceding siblings ...)
  2003-07-10  0:29 ` [PATCH] hfsplus: group Apple FS's and help text J.A. Magallon
@ 2003-07-10  5:23 ` Aschwin Marsman
  2003-07-10  7:58   ` Willy Tarreau
  2003-07-10 15:51 ` compile warnings Rafał 'rmrmg' Roszak
  2003-07-29 14:08 ` 2.4.22-pre4: devfs on initrd stays busy after pivot_root Andreas Haumer
  8 siblings, 1 reply; 21+ messages in thread
From: Aschwin Marsman @ 2003-07-10  5:23 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml

On Wed, 9 Jul 2003, Marcelo Tosatti wrote:

> Hi,
> 
> Here goes -pre4. It contains a lot of updates and fixes.
> 
> We decided to include this new code quota code which allows usage of
> quotas with 32bit UID/GIDs.
> 
> Most Toshibas should work now due to an important ACPI fix.
> 
> Please help and test.

I use -pre3 with succes, only power down is currently not working
(only the discs shutdown, no real poweroff). That's why I disabled
apm and enabled apm in the kernel with -pre4, but that gives:

cd /lib/modules/2.4.21; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.21; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/ac_adapter/ospm_ac_adapter.o
depmod:         bm_osl_generate_event_R7dc74281
depmod:         acpi_os_free_R43b9bbb4
depmod:         acpi_get_name_R739160a5
depmod:         acpi_ut_status_exit_R0b687984
depmod:         acpi_ut_trace_R8d457864
depmod:         bm_get_device_info_Rfaeb2303
depmod:         bm_register_driver_R53392fa7
depmod:         acpi_os_callocate_R112250e2
depmod:         bm_evaluate_simple_integer_R24e881a5
depmod:         acpi_ut_debug_print_raw_Re9aabc61
depmod:         acpi_ut_debug_print_Rac38b5ca
depmod:         bm_unregister_driver_R40fde1ec
depmod:         acpi_get_object_info_R1f1c0bf5
depmod:         bm_proc_root_R4cd2bdc3
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/battery/ospm_battery.o
depmod:         bm_osl_generate_event_R7dc74281
depmod:         bm_evaluate_object_Rba8b2406
depmod:         bm_extract_package_data_R4f1d6ef7
depmod:         acpi_os_free_R43b9bbb4
depmod:         acpi_get_name_R739160a5
depmod:         acpi_ut_status_exit_R0b687984
depmod:         acpi_ut_trace_R8d457864
depmod:         bm_get_device_info_Rfaeb2303
depmod:         bm_get_device_status_R336289aa
depmod:         bm_register_driver_R53392fa7
depmod:         acpi_os_callocate_R112250e2
depmod:         acpi_ut_debug_print_raw_Re9aabc61
depmod:         acpi_ut_debug_print_Rac38b5ca
depmod:         bm_unregister_driver_R40fde1ec
depmod:         bm_cast_buffer_Rb5d8e04e
depmod:         bm_proc_root_R4cd2bdc3
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/button/ospm_button.o
depmod:         bm_osl_generate_event_R7dc74281
depmod:         acpi_os_free_R43b9bbb4
depmod:         acpi_remove_fixed_event_handler_R2005e68a
depmod:         acpi_get_name_R739160a5
depmod:         acpi_ut_status_exit_R0b687984
depmod:         acpi_ut_trace_R8d457864
depmod:         bm_get_device_info_Rfaeb2303
depmod:         bm_register_driver_R53392fa7
depmod:         acpi_os_callocate_R112250e2
depmod:         acpi_ut_debug_print_raw_Re9aabc61
depmod:         acpi_ut_debug_print_Rac38b5ca
depmod:         bm_unregister_driver_R40fde1ec
depmod:         acpi_install_fixed_event_handler_R5ac376a5
depmod:         bm_proc_root_R4cd2bdc3
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/ec/ospm_ec.o
depmod:         acpi_os_create_semaphore_R9f8733e2
depmod:         bm_evaluate_object_Rba8b2406
depmod:         acpi_ut_exit_R4403d3ee
depmod:         acpi_os_write_port_R09b33830
depmod:         acpi_os_printf_R3f6e4e15
depmod:         acpi_remove_gpe_handler_Rb73b58d2
depmod:         acpi_os_free_R43b9bbb4
depmod:         acpi_get_name_R739160a5
depmod:         acpi_ut_status_exit_R0b687984
depmod:         acpi_acquire_global_lock_R4c66e50f
depmod:         acpi_ut_trace_R8d457864
depmod:         acpi_os_delete_semaphore_Re65a005c
depmod:         bm_get_device_info_Rfaeb2303
depmod:         bm_register_driver_R53392fa7
depmod:         acpi_remove_address_space_handler_Re1d5f864
depmod:         acpi_os_read_port_Rba23b567
depmod:         acpi_install_address_space_handler_Re37edf75
depmod:         acpi_os_callocate_R112250e2
depmod:         acpi_os_stall_R69005013
depmod:         bm_evaluate_simple_integer_R24e881a5
depmod:         acpi_os_wait_semaphore_R21625bfa
depmod:         acpi_release_global_lock_Rfe5dad1b
depmod:         acpi_install_gpe_handler_Raca91f91
depmod:         acpi_ut_debug_print_raw_Re9aabc61
depmod:         acpi_os_signal_semaphore_R8cdbc08d
depmod:         acpi_os_queue_for_execution_R173029e0
depmod:         acpi_ut_debug_print_Rac38b5ca
depmod:         bm_unregister_driver_R40fde1ec
depmod:         acpi_get_current_resources_R2cd1ca5d
depmod:         bm_cast_buffer_Rb5d8e04e
depmod:         bm_proc_root_R4cd2bdc3
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/processor/ospm_processor.o
depmod:         acpi_get_timer_duration_Rf0e32829
depmod:         acpi_get_timer_Rc632950f
depmod:         bm_osl_generate_event_R7dc74281
depmod:         bm_copy_to_buffer_R7c44a383
depmod:         acpi_os_write_port_R09b33830
depmod:         acpi_os_free_R43b9bbb4
depmod:         acpi_get_name_R739160a5
depmod:         acpi_ut_status_exit_R0b687984
depmod:         acpi_hw_register_bit_access_R5477a41e
depmod:         acpi_ut_trace_R8d457864
depmod:         bm_get_device_info_Rfaeb2303
depmod:         bm_register_driver_R53392fa7
depmod:         acpi_os_read_port_Rba23b567
depmod:         acpi_evaluate_object_Red2bc50a
depmod:         acpi_os_callocate_R112250e2
depmod:         acpi_ut_debug_print_raw_Re9aabc61
depmod:         acpi_ut_debug_print_Rac38b5ca
depmod:         bm_unregister_driver_R40fde1ec
depmod:         acpi_fadt_Re06d275f
depmod:         bm_cast_buffer_Rb5d8e04e
depmod:         bm_proc_root_R4cd2bdc3
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/system/ospm_system.o
depmod:         acpi_get_system_info_R10162128
depmod:         acpi_set_firmware_waking_vector_Rd611232e
depmod:         acpi_os_free_R43b9bbb4
depmod:         acpi_get_name_R739160a5
depmod:         acpi_ut_status_exit_R0b687984
depmod:         acpi_hw_register_bit_access_R5477a41e
depmod:         acpi_ut_trace_R8d457864
depmod:         bm_get_device_info_Rfaeb2303
depmod:         bm_register_driver_R53392fa7
depmod:         acpi_os_callocate_R112250e2
depmod:         acpi_get_table_R8b39872c
depmod:         acpi_gbl_FADT_R25e8cc23
depmod:         acpi_ut_debug_print_raw_Re9aabc61
depmod:         acpi_ut_debug_print_Rac38b5ca
depmod:         bm_unregister_driver_R40fde1ec
depmod:         acpi_leave_sleep_state_Rce4904a4
depmod:         acpi_enter_sleep_state_Rfe047ce6
depmod:         bm_proc_root_R4cd2bdc3
depmod:         acpi_hw_register_read_Rfb3ac6f4
depmod:         acpi_hw_obtain_sleep_type_register_data_Rb6158f6c
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/thermal/ospm_thermal.o
depmod:         bm_osl_generate_event_R7dc74281
depmod:         acpi_ut_exit_R4403d3ee
depmod:         bm_evaluate_reference_list_R40476eee
depmod:         acpi_os_free_R43b9bbb4
depmod:         bm_set_device_power_state_R0ecbe631
depmod:         acpi_get_name_R739160a5
depmod:         bm_request_R93dcc82b
depmod:         acpi_ut_status_exit_R0b687984
depmod:         acpi_ut_trace_R8d457864
depmod:         bm_get_device_info_Rfaeb2303
depmod:         bm_register_driver_R53392fa7
depmod:         acpi_evaluate_object_Red2bc50a
depmod:         acpi_os_callocate_R112250e2
depmod:         bm_evaluate_simple_integer_R24e881a5
depmod:         acpi_ut_debug_print_raw_Re9aabc61
depmod:         acpi_os_queue_for_execution_R173029e0
depmod:         acpi_ut_debug_print_Rac38b5ca
depmod:         bm_unregister_driver_R40fde1ec
depmod:         bm_proc_root_R4cd2bdc3

Relevant part of .config:
CONFIG_PM=y
CONFIG_ACPI=y
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_BUSMGR=y
CONFIG_ACPI_SYS=m
CONFIG_ACPI_CPU=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_AC=m
CONFIG_ACPI_EC=m
CONFIG_ACPI_CMBATT=m
CONFIG_ACPI_THERMAL=m
# CONFIG_APM is not set
 
Have fun,
 
Aschwin Marsman
 
--
aYniK Software Solutions         all You need is Knowledge
P.O. box 134                     NL-7600 AC Almelo - the Netherlands
a.marsman@aYniK.com              http://www.aYniK.com


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Linux 2.4.22-pre4
  2003-07-10  5:23 ` Linux 2.4.22-pre4 Aschwin Marsman
@ 2003-07-10  7:58   ` Willy Tarreau
  0 siblings, 0 replies; 21+ messages in thread
From: Willy Tarreau @ 2003-07-10  7:58 UTC (permalink / raw)
  To: Aschwin Marsman; +Cc: Marcelo Tosatti, lkml

Hi !

On Thu, Jul 10, 2003 at 07:23:32AM +0200, Aschwin Marsman wrote:
> On Wed, 9 Jul 2003, Marcelo Tosatti wrote:
> 
> > Hi,
> > 
> > Here goes -pre4. It contains a lot of updates and fixes.
> > 
> > We decided to include this new code quota code which allows usage of
> > quotas with 32bit UID/GIDs.
> > 
> > Most Toshibas should work now due to an important ACPI fix.
> > 
> > Please help and test.
> 
> I use -pre3 with succes, only power down is currently not working
> (only the discs shutdown, no real poweroff). That's why I disabled
> apm and enabled apm in the kernel with -pre4, but that gives:

I remember having had problems with ACPI because my power off didn't work.
After reading through the code, I noticed that due to erroneous comparisons,
some code path would never be executed, and/or some preparatory work before
entering S5 would be done twice, or could not recover from error, I don't
recall exactly. So I sent the two patches below to the acpi-devel list twice,
but never got any reply.

I don't even know if they still apply, but you can try them anyway, they're
simple.

If I recall correctly, the first one should be enough to poweroff with a simple
"echo 5 > /proc/acpi/sleep", while the second one allows the system to use this
for poweroff.

Cheers,
Willy


--- ./drivers/acpi/system.c-orig	Tue Apr 29 17:39:34 2003
+++ ./drivers/acpi/system.c	Tue Apr 29 19:08:09 2003
@@ -180,7 +180,7 @@
 			return AE_ERROR;
 	}
 
-	if (state < ACPI_STATE_S5) {
+	if (state <= ACPI_STATE_S5) {
 		/* Tell devices to stop I/O and actually save their state.
 		 * It is theoretically possible that something could fail,
 		 * so handle that gracefully..
@@ -277,6 +277,7 @@
 
 	switch (state) {
 	case ACPI_STATE_S1:
+	case ACPI_STATE_S5:
 		barrier();
 		status = acpi_enter_sleep_state(state);
 		break;



--- ./drivers/acpi/system.c-orig	Tue Apr 29 19:09:19 2003
+++ ./drivers/acpi/system.c	Tue Apr 29 19:36:08 2003
@@ -90,9 +90,7 @@
 static void
 acpi_power_off (void)
 {
-	acpi_enter_sleep_state_prep(ACPI_STATE_S5);
-	ACPI_DISABLE_IRQS();
-	acpi_enter_sleep_state(ACPI_STATE_S5);
+	acpi_suspend(ACPI_STATE_S5);
 }
 
 #endif /*CONFIG_PM*/




^ permalink raw reply	[flat|nested] 21+ messages in thread

* compile warnings
  2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
                   ` (6 preceding siblings ...)
  2003-07-10  5:23 ` Linux 2.4.22-pre4 Aschwin Marsman
@ 2003-07-10 15:51 ` Rafał 'rmrmg' Roszak
  2003-07-10 22:26   ` Diego Calleja García
  2003-07-29 14:08 ` 2.4.22-pre4: devfs on initrd stays busy after pivot_root Andreas Haumer
  8 siblings, 1 reply; 21+ messages in thread
From: Rafał 'rmrmg' Roszak @ 2003-07-10 15:51 UTC (permalink / raw)
  To: linux-kernel

Hi

"Nie ma takiego pliku ani katalogu"  mean " no such file or directory"
and "UWAGA: 1 z 13 wyliczonych sum kontrolnych się NIE zgadza"  mean 
"1of 13 checked  checksums is NOT correct."

#v+
[root@slack:/usr/src/linux-2.4.22-pre4#] make dep > /dev/null
acsi.c:74:25: asm/atarihw.h: Nie ma takiego pliku ani katalogu
acsi.c:75:27: asm/atariints.h: Nie ma takiego pliku ani katalogu
acsi.c:76:28: asm/atari_acsi.h: Nie ma takiego pliku ani katalogu
acsi.c:77:29: asm/atari_stdma.h: Nie ma takiego pliku ani katalogu
acsi.c:78:29: asm/atari_stram.h: Nie ma takiego pliku ani katalogu
au1000_gpio.c:41:24: asm/au1000.h: Nie ma takiego pliku ani katalogu
au1000_gpio.c:42:29: asm/au1000_gpio.h: Nie ma takiego pliku ani
katalogu hp_psaux.c:41:26: asm/hardware.h: Nie ma takiego pliku ani
katalogu hp_psaux.c:43:21: asm/gsc.h: Nie ma takiego pliku ani katalogu
In file included from
hp_sdc.c:64:/usr/src/linux-2.4.22-pre4/include/linux/hp_sdc.h:45:26:
asm/hardware.h: Nie ma takiego pliku ani katalogu
/usr/src/linux-2.4.22-pre4/include/linux/hp_sdc.h:288:2: #error No
support for device registration on this arch yet. 
hp_sdc.c:76:21:asm/gsc.h: Nie ma takiego pliku ani katalogu 
In file included from i2c-algo-ite.c:50:
 i2c-ite.h:36:31: asm/it8172/it8172.h: Nie ma takiego pliku ani katalogu
md5sum: UWAGA: 1 z 13 wyliczonych sum kontrolnych się NIE zgadza
rtc.c:27:25: asm/machdep.h: Nie ma takiego pliku ani katalogu
rtc.c:29:22: asm/time.h: Nie ma takiego pliku ani katalogu
via-pmu.c:36:22: asm/prom.h: Nie ma takiego pliku ani katalogu
via-pmu.c:37:25: asm/machdep.h: Nie ma takiego pliku ani katalogu
via-pmu.c:41:26: asm/sections.h: Nie ma takiego pliku ani katalogu
via-pmu.c:44:30: asm/pmac_feature.h: Nie ma takiego pliku ani katalogu
via-pmu.c:47:26: asm/sections.h: Nie ma takiego pliku ani katalogu
via-pmu.c:48:26: asm/cputable.h: Nie ma takiego pliku ani katalogu
via-pmu.c:49:22: asm/time.h: Nie ma takiego pliku ani katalogu
i2o_pci.c:393:1: warning: no newline at end of file 
In file included from nubus_syms.c:8:
/usr/src/linux-2.4.22-pre4/include/linux/nubus.h:16:23: asm/nubus.h: 
Nie ma takiego pliku ani katalogu 
audio.c:41:25: asm/audioio.h: Nie ma takiego pliku ani katalogu
amd7930.c:95:26: asm/openprom.h: Nie ma takiego pliku ani katalogu
amd7930.c:96:23: asm/oplib.h: Nie ma takiego pliku ani katalogu
amd7930.c:100:22: asm/sbus.h: Nie ma takiego pliku ani katalogu
amd7930.c:102:25: asm/audioio.h: Nie ma takiego pliku ani katalogu
dbri.c:54:26: asm/openprom.h: Nie ma takiego pliku ani katalogu
dbri.c:55:23: asm/oplib.h: Nie ma takiego pliku ani katalogu
dbri.c:59:22: asm/sbus.h: Nie ma takiego pliku ani katalogu
dbri.c:62:25: asm/audioio.h: Nie ma takiego pliku ani katalogu
su.c:78:23: asm/oplib.h: Nie ma takiego pliku ani katalogu 
su.c:80:22: asm/ebus.h: Nie ma takiego pliku ani katalogu
bbc_i2c.c: 16:23: asm/oplib.h: Nie ma takiego pliku ani katalogu
bbc_i2c.c: 17:22: asm/ebus.h: Nie ma takiego pliku ani katalogu
bbc_i2c.c: 18:26: asm/spitfire.h: Nie ma takiego pliku ani katalogu
bbc_i2c.c: 19:21: asm/bbc.h: Nie ma takiego pliku ani katalogu 
In file included from bbc_i2c.c:21:
 bbc_i2c.h:5:22: asm/ebus.h: Nie ma takiego pliku ani katalogu 
In file included from 53c700.c:142:
53c700.h:40:2: #error "Config.in must define either
CONFIG_53C700_IO_MAPPED or CONFIG_53C700_MEM_MAPPED to use this scsi
core." 53c700.c:163:22: 53c700_d.h: Nie ma takiego pliku ani katalogu
fas216.c:52:23: asm/ecard.h: Nie ma takiego pliku ani katalogu
newport.c:11:21: asm/gfx.h: Nie ma takiego pliku ani katalogu
newport.c:12:21: asm/ng1.h: Nie ma takiego pliku ani katalogu
rrm.c:15:21: asm/rrm.h: Nie ma takiego pliku ani katalogu
shmiq.c:57:23: asm/shmiq.h: Nie ma takiego pliku ani katalogu
shmiq.c:58:21: asm/gfx.h: Nie ma takiego pliku ani katalogu
usema.c:38:25: asm/usioctl.h: Nie ma takiego pliku ani katalogu
tc.c:19:27: asm/addrspace.h: Nie ma takiego pliku ani katalogu
tc.c:21:30: asm/dec/machtype.h: Nie ma takiego pliku ani katalogu
tc.c:22:28: asm/dec/tcinfo.h: Nie ma takiego pliku ani katalogu
tc.c:23:30: asm/dec/tcmodule.h: Nie ma takiego pliku ani katalogu
tc.c:24:32: asm/dec/interrupts.h: Nie ma takiego pliku ani katalogu
tc.c:25:25: asm/paccess.h: Nie ma takiego pliku ani katalogu
sa1100fb.c:164:27: linux/cpufreq.h: Nie ma takiego pliku ani katalogu
sa1100fb.c:166:26: asm/hardware.h: Nie ma takiego pliku ani katalogu
sa1100fb.c:169:28: asm/mach-types.h: Nie ma takiego pliku ani katalogu
sa1100fb.c:171:30: asm/arch/assabet.h: Nie ma takiego pliku ani katalogu
sticore.c:27:26: asm/hardware.h: Nie ma takiego pliku ani katalogu
stifb.c:76:62: asm/grfioctl.h: Nie ma takiego pliku ani katalogu
In file included from zorro.c:17:
/usr/src/linux-2.4.22-pre4/include/linux/zorro.h:158:23: asm/zorro.h:
Nie ma takiego pliku ani katalogu 
zorro.c:20:25: asm/amigahw.h: Nie ma takiego pliku ani katalogu
crc32.c:34:24: crc32table.h: Nie ma takiego pliku ani katalogu
#v-

[root@slack:/usr/src/linux-2.4.22-pre4#] make bzImage > /dev/null
md5sum: UWAGA: 1 z 13 wyliczonych sum kontrolnych się NIE zgadza
md5sum: UWAGA: 1 z 13 wyliczonych sum kontrolnych się NIE zgadza

Is it normal?

-- 
registered Linux user 261525 | Wszystko jest trudne przy
gg 2311504________rmrmg@wp.pl|    odpowiednim stopniu
RMRMG signature version 0.0.2|        abstrakcji

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: compile warnings
  2003-07-10 15:51 ` compile warnings Rafał 'rmrmg' Roszak
@ 2003-07-10 22:26   ` Diego Calleja García
  2003-07-11  0:18     ` Rafał 'rmrmg' Roszak
  0 siblings, 1 reply; 21+ messages in thread
From: Diego Calleja García @ 2003-07-10 22:26 UTC (permalink / raw)
  To: Rafa³ 'rmrmg' Roszak; +Cc: linux-kernel

El Thu, 10 Jul 2003 17:51:35 +0200 Rafa³ 'rmrmg' Roszak <rmrmg@wp.pl> escribió:

> Hi
> 
> "Nie ma takiego pliku ani katalogu"  mean " no such file or directory"
> and "UWAGA: 1 z 13 wyliczonych sum kontrolnych siê NIE zgadza"  mean 
> "1of 13 checked  checksums is NOT correct."


could you recompile with "LC_ALL='C' make whatever" ?


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: compile warnings
  2003-07-10 22:26   ` Diego Calleja García
@ 2003-07-11  0:18     ` Rafał 'rmrmg' Roszak
  0 siblings, 0 replies; 21+ messages in thread
From: Rafał 'rmrmg' Roszak @ 2003-07-11  0:18 UTC (permalink / raw)
  To: Diego Calleja García; +Cc: linux-kernel

begin  Diego Calleja García <diegocg@teleline.es> quote:

>could you recompile with "LC_ALL='C' make whatever" ?


#v+
 [root@slack:/usr/src/linux-2.4.22-pre4#]LC_ALL='C' make dep > /dev/null
acsi.c:74:25: asm/atarihw.h: No such file or directory
acsi.c:75:27: asm/atariints.h: No such file or directory
acsi.c:76:28: asm/atari_acsi.h: No such file or directory
acsi.c:77:29: asm/atari_stdma.h: No such file or directory
acsi.c:78:29: asm/atari_stram.h: No such file or directory
au1000_gpio.c:41:24: asm/au1000.h: No such file or directory
au1000_gpio.c:42:29: asm/au1000_gpio.h: No such file or directory
hp_psaux.c:41:26: asm/hardware.h: No such file or directory
hp_psaux.c:43:21: asm/gsc.h: No such file or directory
In file included from hp_sdc.c:64:
/usr/src/linux-2.4.21/include/linux/hp_sdc.h:45:26: asm/hardware.h: No
such file or
directory/usr/src/linux-2.4.21/include/linux/hp_sdc.h:288:2: #error No
support for device registration on this arch yet. hp_sdc.c:76:21:
asm/gsc.h: No such file or directory In file included from
i2c-algo-ite.c:50: i2c-ite.h:36:31: asm/it8172/it8172.h: No such file or
directory 
md5sum: WARNING: 1 of 13 computed checksums did NOT match
rtc.c:27:25: asm/machdep.h: No such file or directory
rtc.c:29:22: asm/time.h: No such file or directory
via-pmu.c:36:22: asm/prom.h: No such file or directory
via-pmu.c:37:25: asm/machdep.h: No such file or directory
via-pmu.c:41:26: asm/sections.h: No such file or directory
via-pmu.c:44:30: asm/pmac_feature.h: No such file or directory
via-pmu.c:47:26: asm/sections.h: No such file or directory
via-pmu.c:48:26: asm/cputable.h: No such file or directory
via-pmu.c:49:22: asm/time.h: No such file or directory
i2o_pci.c:393:1: warning: no newline at end of file
In file included from nubus_syms.c:8:
/usr/src/linux-2.4.21/include/linux/nubus.h:16:23: asm/nubus.h: No such
file or directory audio.c:41:25: asm/audioio.h: No such file or
directory amd7930.c:95:26: asm/openprom.h: No such file or directory
amd7930.c:96:23: asm/oplib.h: No such file or directory
amd7930.c:100:22: asm/sbus.h: No such file or directory
amd7930.c:102:25: asm/audioio.h: No such file or directory
dbri.c:54:26: asm/openprom.h: No such file or directory
dbri.c:55:23: asm/oplib.h: No such file or directory
dbri.c:59:22: asm/sbus.h: No such file or directory
dbri.c:62:25: asm/audioio.h: No such file or directory
su.c:78:23: asm/oplib.h: No such file or directory
su.c:80:22: asm/ebus.h: No such file or directory
bbc_i2c.c:16:23: asm/oplib.h: No such file or directory
bbc_i2c.c:17:22: asm/ebus.h: No such file or directory
bbc_i2c.c:18:26: asm/spitfire.h: No such file or directory
bbc_i2c.c:19:21: asm/bbc.h: No such file or directory
In file included from bbc_i2c.c:21:
bbc_i2c.h:5:22: asm/ebus.h: No such file or directory
In file included from 53c700.c:142:
53c700.h:40:2: #error "Config.in must define either
CONFIG_53C700_IO_MAPPED or CONFIG_53C700_MEM_MAPPED to use this scsi
core." 
53c700.c:163:22: 53c700_d.h: No such file or directory
fas216.c:52:23: asm/ecard.h: No such file or directory
newport.c:11:21: asm/gfx.h: No such file or directory
newport.c:12:21: asm/ng1.h: No such file or directory
rrm.c:15:21: asm/rrm.h: No such file or directory
shmiq.c:57:23: asm/shmiq.h: No such file or directory
shmiq.c:58:21: asm/gfx.h: No such file or directory
usema.c:38:25: asm/usioctl.h: No such file or directory
tc.c:19:27: asm/addrspace.h: No such file or directory
tc.c:21:30: asm/dec/machtype.h: No such file or directory
tc.c:22:28: asm/dec/tcinfo.h: No such file or directory
tc.c:23:30: asm/dec/tcmodule.h: No such file or directory
tc.c:24:32: asm/dec/interrupts.h: No such file or directory
tc.c:25:25: asm/paccess.h: No such file or directory
sa1100fb.c:164:27: linux/cpufreq.h: No such file or directory
sa1100fb.c:166:26: asm/hardware.h: No such file or directory
sa1100fb.c:169:28: asm/mach-types.h: No such file or directory
sa1100fb.c:171:30: asm/arch/assabet.h: No such file or directory
sticore.c:27:26: asm/hardware.h: No such file or directory
stifb.c:76:62: asm/grfioctl.h: No such file or directory
In file included from zorro.c:17:
/usr/src/linux-2.4.21/include/linux/zorro.h:158:23: asm/zorro.h: 
No such file or directory 
zorro.c:20:25: asm/amigahw.h: 
No such file or directory 
crc32.c:34:24: crc32table.h: No such file or directory
#v-

[root@slack:/usr/src/linux-2.4.22-pre4#] LC_ALL='C' make bzImage >
/dev/null
md5sum: WARNING: 1 of 13 computed checksums did NOT match
md5sum: WARNING: 1 of 13 computed checksums did NOT match

--  
registered Linux user 261525 | Wszystko jest trudne przy
gg 2311504________rmrmg@wp.pl|    odpowiednim stopniu
RMRMG signature version 0.0.2|        abstrakcji

^ permalink raw reply	[flat|nested] 21+ messages in thread

* 2.4.22-pre4: devfs on initrd stays busy after pivot_root
  2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
                   ` (7 preceding siblings ...)
  2003-07-10 15:51 ` compile warnings Rafał 'rmrmg' Roszak
@ 2003-07-29 14:08 ` Andreas Haumer
  2003-07-29 14:16   ` Alan Cox
  2003-07-29 14:54   ` Herbert Pötzl
  8 siblings, 2 replies; 21+ messages in thread
From: Andreas Haumer @ 2003-07-29 14:08 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml, alan

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Marcelo Tosatti wrote:
> Hi,
>
> Here goes -pre4. It contains a lot of updates and fixes.
>
> We decided to include this new code quota code which allows usage of
> quotas with 32bit UID/GIDs.
>
> Most Toshibas should work now due to an important ACPI fix.
>
> Please help and test.
>
Beginning with 2.4.22-pre4 I can't unmount devfs on my
initial ramdisk anymore because of EBUSY

I use initrd and let the kernel mount devfs on /dev on boot.
I then set up all the drivers needed to mount the real root
device, do a "pivot_root" and continue with /sbin/init,
just like it is described in Documentation/initrd.txt

When the boot process is finished, filesystems are mounted as
follows:

root@install:~ {520} $ mount
rootfs on / type rootfs (rw)
/dev/root on /initrd type romfs (ro)
none on /initrd/dev type devfs (rw)
/dev/ide/host0/bus0/target0/lun0/part3 on / type ext2 (rw)
devfs on /dev type devfs (rw)
proc on /proc type proc (rw)

I then want to get rid of everything mounted under /initrd

root@install:~ {521} $ umount /initrd/dev
umount: /initrd/dev: device is busy

This used to work just fine with 2.4.21 and 2.4.22-pre[123]

It does not work with 2.4.22-pre4 and 2.4.22-pre8
Also, with linux-2.4.21-ac4 unmounting /initrd/dev
does not work.

I made a diff between pre3 and pre4 and some changes in
fs/exec.c, fs/binfmt_elf.c and kernel/fork.c (around new
function "unshare_files()") look suspicious to me. I find
these changes in both 2.4.21-ac4 and 2.4.22-pre4 patchset
(but I'm not a kernel hacker, so I might be wrong)

Any idea anyone?

- - andreas

- --
Andreas Haumer                     | mailto:andreas@xss.co.at
*x Software + Systeme              | http://www.xss.co.at/
Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/Jn/MxJmyeGcXPhERApunAKCIUOiZh8kSaeJEXHwj06yBlvMnhQCfe9M3
hfmnS3VtpDx5sCMq5nlJLmU=
=1Tnh
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.22-pre4: devfs on initrd stays busy after pivot_root
  2003-07-29 14:08 ` 2.4.22-pre4: devfs on initrd stays busy after pivot_root Andreas Haumer
@ 2003-07-29 14:16   ` Alan Cox
  2003-07-29 14:54   ` Herbert Pötzl
  1 sibling, 0 replies; 21+ messages in thread
From: Alan Cox @ 2003-07-29 14:16 UTC (permalink / raw)
  To: Andreas Haumer; +Cc: Marcelo Tosatti, lkml

On Maw, 2003-07-29 at 15:08, Andreas Haumer wrote:
> Beginning with 2.4.22-pre4 I can't unmount devfs on my
> initial ramdisk anymore because of EBUSY
> 
> I use initrd and let the kernel mount devfs on /dev on boot.
> I then set up all the drivers needed to mount the real root
> device, do a "pivot_root" and continue with /sbin/init,
> just like it is described in Documentation/initrd.txt

The kernel opens /dev/tty but doesn't close it on the thread
that isnt forking and execing init. Its on my todo list. 
Basically a crazy piece of the old setup broke because we
imposed sanity. Fixing it however may require a little thought


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.22-pre4: devfs on initrd stays busy after pivot_root
  2003-07-29 14:08 ` 2.4.22-pre4: devfs on initrd stays busy after pivot_root Andreas Haumer
  2003-07-29 14:16   ` Alan Cox
@ 2003-07-29 14:54   ` Herbert Pötzl
  2003-07-30  9:54     ` Andreas Haumer
  1 sibling, 1 reply; 21+ messages in thread
From: Herbert Pötzl @ 2003-07-29 14:54 UTC (permalink / raw)
  To: Andreas Haumer; +Cc: Marcelo Tosatti, lkml, alan

On Tue, Jul 29, 2003 at 04:08:23PM +0200, Andreas Haumer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> Marcelo Tosatti wrote:
> > Hi,
> >
> > Here goes -pre4. It contains a lot of updates and fixes.
> >
> > We decided to include this new code quota code which allows usage of
> > quotas with 32bit UID/GIDs.
> >
> > Most Toshibas should work now due to an important ACPI fix.
> >
> > Please help and test.
> >
> Beginning with 2.4.22-pre4 I can't unmount devfs on my
> initial ramdisk anymore because of EBUSY
> 
> I use initrd and let the kernel mount devfs on /dev on boot.
> I then set up all the drivers needed to mount the real root
> device, do a "pivot_root" and continue with /sbin/init,
> just like it is described in Documentation/initrd.txt
> 
> When the boot process is finished, filesystems are mounted as
> follows:
> 
> root@install:~ {520} $ mount
> rootfs on / type rootfs (rw)
> /dev/root on /initrd type romfs (ro)
> none on /initrd/dev type devfs (rw)
> /dev/ide/host0/bus0/target0/lun0/part3 on / type ext2 (rw)
> devfs on /dev type devfs (rw)
> proc on /proc type proc (rw)
> 
> I then want to get rid of everything mounted under /initrd
> 
> root@install:~ {521} $ umount /initrd/dev
> umount: /initrd/dev: device is busy
> 
> This used to work just fine with 2.4.21 and 2.4.22-pre[123]
> 
> It does not work with 2.4.22-pre4 and 2.4.22-pre8
> Also, with linux-2.4.21-ac4 unmounting /initrd/dev
> does not work.
> 
> I made a diff between pre3 and pre4 and some changes in
> fs/exec.c, fs/binfmt_elf.c and kernel/fork.c (around new
> function "unshare_files()") look suspicious to me. I find
> these changes in both 2.4.21-ac4 and 2.4.22-pre4 patchset
> (but I'm not a kernel hacker, so I might be wrong)
> 
> Any idea anyone?

there is an update of devfs available since 2.4.20 or
so, but it hasn't made it in the marcelo tree yet

I don't remember the original path, but it was in
one of Richard Goochs directories on kernel.org,
anyway, you can grab it from the following url:

http://www.13thfloor.at/VServer/patches-2.4.22-p7c17/04_devfs-patch-v199.17.diff.bz2

I don't know if this solves your problems or not, but
I use this patch since it is available, and had no 
issues with devfs, so I would suggest you give it a try ...

best,
Herbert

> - - andreas
> 
> - --
> Andreas Haumer                     | mailto:andreas@xss.co.at
> *x Software + Systeme              | http://www.xss.co.at/
> Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
> A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQE/Jn/MxJmyeGcXPhERApunAKCIUOiZh8kSaeJEXHwj06yBlvMnhQCfe9M3
> hfmnS3VtpDx5sCMq5nlJLmU=
> =1Tnh
> -----END PGP SIGNATURE-----
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.22-pre4: devfs on initrd stays busy after pivot_root
  2003-07-29 14:54   ` Herbert Pötzl
@ 2003-07-30  9:54     ` Andreas Haumer
  0 siblings, 0 replies; 21+ messages in thread
From: Andreas Haumer @ 2003-07-30  9:54 UTC (permalink / raw)
  To: herbert; +Cc: Marcelo Tosatti, lkml, alan

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Thanks for your reply!

Herbert Pötzl wrote:
> On Tue, Jul 29, 2003 at 04:08:23PM +0200, Andreas Haumer wrote:
>
[...]
>>
>>Beginning with 2.4.22-pre4 I can't unmount devfs on my
>>initial ramdisk anymore because of EBUSY
>>
[...]
>
> there is an update of devfs available since 2.4.20 or
> so, but it hasn't made it in the marcelo tree yet
>
> I don't remember the original path, but it was in
> one of Richard Goochs directories on kernel.org,
> anyway, you can grab it from the following url:
>
I know. The location of Richard's latest devfs patch
for linux 2.4 is
<http://www.kernel.org/pub/linux/kernel/people/rgooch/v2.4/>

But this patch doesn't solve the problem.
In fact, it's not a problem with devfs itself.

I just reproduced it for linux-2.4.22-pre4 with an initial
ramdisk and legacy device files. I created the necessary
device files on the initrd fs, booted with "devfs=nomount"
and mounted devfs after pivot_root

root@install:~ {501} $ mount
rootfs on / type rootfs (rw)
/dev/root on /initrd type romfs (ro)
/dev/hda3 on / type ext2 (rw)
devfs on /dev type devfs (rw)
proc on /proc type proc (rw)

root@install:~ {502} $ umount /initrd
umount: /initrd: device is busy

Now look at this:

root@install:~ {514} $ find /initrd/ -exec fuser -v {} \;

                     USER        PID ACCESS COMMAND
/initrd/             root       1883 ..c..  find
                     root     kernel mount  /initrd

                     USER        PID ACCESS COMMAND
/initrd/dev/console  root          2 f....  keventd
                     root          3 f....  ksoftirqd_CPU0
                     root          4 f....  kswapd
                     root          5 f....  bdflush
                     root          6 f....  kupdated
                     root        259 f....  kjournald
                     root        260 f....  kjournald
                     root        261 f....  kjournald
                     root        262 f....  kjournald
                     root        404 f....  khubd
                     root        776 f....  rpciod
                     root        780 f....  lockd
                     root        855 f....  nfsd
                     root        856 f....  nfsd
                     root        857 f....  nfsd
                     root        858 f....  nfsd
                     root        859 f....  nfsd
                     root        860 f....  nfsd
                     root        861 f....  nfsd
                     root        862 f....  nfsd


root@install:~ {515} $ fuser -v /dev/console

                     USER        PID ACCESS COMMAND
/dev/console         root        381 f....  syslogd

root@install:~ {522} $ lsof /initrd/dev/console
COMMAND   PID USER   FD   TYPE DEVICE SIZE   NODE NAME
keventd     2 root    0u   CHR    5,1      681424 /initrd/dev/console
keventd     2 root    1u   CHR    5,1      681424 /initrd/dev/console
keventd     2 root    2u   CHR    5,1      681424 /initrd/dev/console
ksoftirqd   3 root    0u   CHR    5,1      681424 /initrd/dev/console
ksoftirqd   3 root    1u   CHR    5,1      681424 /initrd/dev/console
ksoftirqd   3 root    2u   CHR    5,1      681424 /initrd/dev/console
kswapd      4 root    0u   CHR    5,1      681424 /initrd/dev/console
kswapd      4 root    1u   CHR    5,1      681424 /initrd/dev/console
kswapd      4 root    2u   CHR    5,1      681424 /initrd/dev/console
bdflush     5 root    0u   CHR    5,1      681424 /initrd/dev/console
bdflush     5 root    1u   CHR    5,1      681424 /initrd/dev/console
bdflush     5 root    2u   CHR    5,1      681424 /initrd/dev/console
kupdated    6 root    0u   CHR    5,1      681424 /initrd/dev/console
kupdated    6 root    1u   CHR    5,1      681424 /initrd/dev/console
kupdated    6 root    2u   CHR    5,1      681424 /initrd/dev/console
kjournald 259 root    0u   CHR    5,1      681424 /initrd/dev/console
kjournald 259 root    1u   CHR    5,1      681424 /initrd/dev/console
kjournald 259 root    2u   CHR    5,1      681424 /initrd/dev/console
kjournald 260 root    0u   CHR    5,1      681424 /initrd/dev/console
kjournald 260 root    1u   CHR    5,1      681424 /initrd/dev/console
kjournald 260 root    2u   CHR    5,1      681424 /initrd/dev/console
kjournald 261 root    0u   CHR    5,1      681424 /initrd/dev/console
kjournald 261 root    1u   CHR    5,1      681424 /initrd/dev/console
kjournald 261 root    2u   CHR    5,1      681424 /initrd/dev/console
kjournald 262 root    0u   CHR    5,1      681424 /initrd/dev/console
kjournald 262 root    1u   CHR    5,1      681424 /initrd/dev/console
kjournald 262 root    2u   CHR    5,1      681424 /initrd/dev/console
khubd     404 root    0u   CHR    5,1      681424 /initrd/dev/console
khubd     404 root    1u   CHR    5,1      681424 /initrd/dev/console
khubd     404 root    2u   CHR    5,1      681424 /initrd/dev/console
rpciod    776 root    0u   CHR    5,1      681424 /initrd/dev/console
rpciod    776 root    1u   CHR    5,1      681424 /initrd/dev/console
rpciod    776 root    2u   CHR    5,1      681424 /initrd/dev/console
lockd     780 root    0u   CHR    5,1      681424 /initrd/dev/console
lockd     780 root    1u   CHR    5,1      681424 /initrd/dev/console
lockd     780 root    2u   CHR    5,1      681424 /initrd/dev/console
nfsd      855 root    0u   CHR    5,1      681424 /initrd/dev/console
nfsd      855 root    1u   CHR    5,1      681424 /initrd/dev/console
nfsd      855 root    2u   CHR    5,1      681424 /initrd/dev/console
nfsd      856 root    0u   CHR    5,1      681424 /initrd/dev/console
nfsd      856 root    1u   CHR    5,1      681424 /initrd/dev/console
nfsd      856 root    2u   CHR    5,1      681424 /initrd/dev/console
nfsd      857 root    0u   CHR    5,1      681424 /initrd/dev/console
nfsd      857 root    1u   CHR    5,1      681424 /initrd/dev/console
nfsd      857 root    2u   CHR    5,1      681424 /initrd/dev/console
nfsd      858 root    0u   CHR    5,1      681424 /initrd/dev/console
nfsd      858 root    1u   CHR    5,1      681424 /initrd/dev/console
nfsd      858 root    2u   CHR    5,1      681424 /initrd/dev/console
nfsd      859 root    0u   CHR    5,1      681424 /initrd/dev/console
nfsd      859 root    1u   CHR    5,1      681424 /initrd/dev/console
nfsd      859 root    2u   CHR    5,1      681424 /initrd/dev/console
nfsd      860 root    0u   CHR    5,1      681424 /initrd/dev/console
nfsd      860 root    1u   CHR    5,1      681424 /initrd/dev/console
nfsd      860 root    2u   CHR    5,1      681424 /initrd/dev/console
nfsd      861 root    0u   CHR    5,1      681424 /initrd/dev/console
nfsd      861 root    1u   CHR    5,1      681424 /initrd/dev/console
nfsd      861 root    2u   CHR    5,1      681424 /initrd/dev/console
nfsd      862 root    0u   CHR    5,1      681424 /initrd/dev/console
nfsd      862 root    1u   CHR    5,1      681424 /initrd/dev/console
nfsd      862 root    2u   CHR    5,1      681424 /initrd/dev/console

Those processes accessing /initrd/dev/console are all kernel threads.
Processes with PID>100 were even started _after_ the call to pivot_root

It looks like it's not just the kernel init thread which isn't
giving up its console device...

- - andreas

- --
Andreas Haumer                     | mailto:andreas@xss.co.at
*x Software + Systeme              | http://www.xss.co.at/
Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/J5XbxJmyeGcXPhERAny8AJ49TI0MNeQsZOPChraBjWskpybRPQCgsGoh
zHIKP5qoQ3dxlwXsUXWR3Hg=
=SiEn
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2003-07-30  9:54 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
2003-07-09 22:48 ` J.A. Magallon
2003-07-09 22:56   ` Herbert Pötzl
2003-07-09 22:51 ` Alex Romosan
2003-07-10  0:02   ` -pre4 fixed on ftp.kernel.org " Marcelo Tosatti
2003-07-09 23:04 ` Onur Kucuk
2003-07-09 23:13 ` [PATCH] do_generic_direct_write: bad flag check J.A. Magallon
2003-07-10  3:29   ` Marcelo Tosatti
2003-07-10  3:48     ` Daniel
2003-07-10  0:03 ` Linux 2.4.22-pre4 J.A. Magallon
2003-07-10  0:29 ` [PATCH] hfsplus: group Apple FS's and help text J.A. Magallon
2003-07-10  0:36   ` J.A. Magallon
2003-07-10  5:23 ` Linux 2.4.22-pre4 Aschwin Marsman
2003-07-10  7:58   ` Willy Tarreau
2003-07-10 15:51 ` compile warnings Rafał 'rmrmg' Roszak
2003-07-10 22:26   ` Diego Calleja García
2003-07-11  0:18     ` Rafał 'rmrmg' Roszak
2003-07-29 14:08 ` 2.4.22-pre4: devfs on initrd stays busy after pivot_root Andreas Haumer
2003-07-29 14:16   ` Alan Cox
2003-07-29 14:54   ` Herbert Pötzl
2003-07-30  9:54     ` Andreas Haumer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).