All of lore.kernel.org
 help / color / mirror / Atom feed
From: "frode@freenix.no" <frode@freenix.no>
To: Petr Vandrovec <vandrove@vc.cvut.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.40 (several issues): kernel BUG! at slab.c:1292  - and what's with ZSH?
Date: Sat, 05 Oct 2002 13:31:42 +0200	[thread overview]
Message-ID: <3D9ECD9E.8090602@freenix.no> (raw)
In-Reply-To: 20021005011749.GN1408@ppc.vc.cvut.cz

>>I just downloaded the linux-2.5.40 tarball.
>>FAT: Using codepage cp437
>>FAT: Using IO charset iso8859-1
>>FAT: Using codepage cp437
>>FAT: Using IO charset iso8859-1
>>FAT: Using codepage cp437
>>FAT: Using IO charset iso8859-1
>>Adding 262136k swap on /swapfile.  Priority:-2 extents:519
>>------------[ cut here ]------------
>>kernel BUG at slab.c:1292!
>>invalid operand: 0000
> 
> 
> It is probably time to send it to Linus once more...
> 						Petr Vandrovec
> 
> diff -urdN linux/fs/fat/inode.c linux/fs/fat/inode.c
> --- linux/fs/fat/inode.c	2002-10-05 00:55:46.000000000 +0200
> +++ linux/fs/fat/inode.c	2002-10-05 01:00:15.000000000 +0200
> @@ -228,8 +228,6 @@
>  	save = 0;
>  	savep = NULL;
>  	while ((this_char = strsep(&options,",")) != NULL) {
> -		if (!*this_char)
> -			continue;
>  		if ((value = strchr(this_char,'=')) != NULL) {
>  			save = *value;
>  			savep = value;
> @@ -351,7 +349,7 @@
>  			strncpy(cvf_options,value,100);
>  		}
>  
> -		if (this_char != options) *(this_char-1) = ',';
> +		if (options) *(options-1) = ',';
>  		if (value) *savep = save;
>  		if (ret == 0)
>  			break;
> diff -urdN linux/fs/vfat/namei.c linux/fs/vfat/namei.c
> --- linux/fs/vfat/namei.c	2002-10-05 00:56:02.000000000 +0200
> +++ linux/fs/vfat/namei.c	2002-10-05 01:00:15.000000000 +0200
> @@ -117,8 +117,6 @@
>  	savep = NULL;
>  	ret = 1;
>  	while ((this_char = strsep(&options,",")) != NULL) {
> -		if (!*this_char)
> -			continue;
>  		if ((value = strchr(this_char,'=')) != NULL) {
>  			save = *value;
>  			savep = value;
> @@ -154,8 +152,8 @@
>  			else
>  				ret = 0;
>  		}
> -		if (this_char != options)
> -			*(this_char-1) = ',';
> +		if (options)
> +			*(options-1) = ',';
>  		if (value) {
>  			*savep = save;
>  		}

This patch solved the problem! Thanks!


On a different matter;

While playing around with 2.5.40 a bit I noticed something really weird:
I use the ZSH shell and my prompt basically ends with the %# code which is
supposed to show a '%' if you're not root and '#' if you are root.
In 2.5.40, zsh shows # unconditionally. (In 2.4.19pre1 which I normally run,
it works as expected). Really weird..



  reply	other threads:[~2002-10-05 11:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-04 23:27 2.5.40 (several issues): kernel BUG! at slab.c:1292, imm/ppa IOMega ZIP drivers modules ".o" not found, XFS won't link, depmod complains on frode
2002-10-05  1:17 ` Petr Vandrovec
2002-10-05 11:31   ` frode [this message]
2002-10-05  9:46 ` 2.5.40 (several issues): kernel BUG! at slab.c:1292, imm/ppa IOMegaZIP " Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D9ECD9E.8090602@freenix.no \
    --to=frode@freenix.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vandrove@vc.cvut.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.