Re: linux-2.6.0-test5-mm1

From: Voicu Liviu
Date: Fri Sep 12 2003 - 15:29:58 EST


Thank you, I have found the problem, my sound card is Ensoniq ES1371 so the module should be snd_ens1371 but I used to load by mistake snd_ens1370 so I got the OOPS all the time, I fixed the alsa-config and now all works.
Liviu

On Fri, 12 Sep 2003 11:24:36 -0700
Andrew Morton <akpm@xxxxxxxx> wrote:

> Voicu Liviu <pacman@xxxxxxxxxxxxxxx> wrote:
> >
> > This happens after I load alsa modules on boot..............
> >
> > <from_dmesg>
> >
> > Freeing unused kernel memory: 308k freed
> > Adding 313228k swap on /dev/hda6. Priority:-1 extents:1
> > PCI: Found IRQ 5 for device 0000:00:09.0
> > PCI: Sharing IRQ 5 with 0000:00:04.2
> > Unable to handle kernel paging request at virtual address ffffffef
>
>
> diff -puN fs/sysfs/dir.c~sysfs-create_dir-oops-fix fs/sysfs/dir.c
> --- 25/fs/sysfs/dir.c~sysfs-create_dir-oops-fix Wed Sep 10 15:46:50 2003
> +++ 25-akpm/fs/sysfs/dir.c Wed Sep 10 15:46:50 2003
> @@ -24,10 +24,11 @@ static int init_dir(struct inode * inode
> static struct dentry *
> create_dir(struct kobject * k, struct dentry * p, const char * n)
> {
> - struct dentry * dentry;
> + struct dentry *dentry, *ret;
>
> down(&p->d_inode->i_sem);
> dentry = sysfs_get_dentry(p,n);
> + ret = dentry;
> if (!IS_ERR(dentry)) {
> int error = sysfs_create(dentry,
> S_IFDIR| S_IRWXU | S_IRUGO | S_IXUGO,
> @@ -36,11 +37,11 @@ create_dir(struct kobject * k, struct de
> dentry->d_fsdata = k;
> p->d_inode->i_nlink++;
> } else
> - dentry = ERR_PTR(error);
> + ret = ERR_PTR(error);
> dput(dentry);
> }
> up(&p->d_inode->i_sem);
> - return dentry;
> + return ret;
> }
>
>
>
> _
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


--
Liviu Voicu
Assistant Programmer and network support
Computation Center, Mount Scopus
Hebrew University of Jerusalem
Tel: 972(2)-5881253
E-mail: "Liviu Voicu"<pacman@xxxxxxxxxxxxxxx>

/**
* cat /usr/src/linux/arch/i386/boot/bzImage > /dev/dsp
* ( and the voice of God will be heard! )
*
*/

Click here to see my GPG signature:
----------------------------------
http://search.keyserver.net:11371/pks/lookup?template=netensearch%2Cnetennomatch%2Cnetenerror&search=pacman%40mscc.huji.ac.il&op=vindex&fingerprint=on&submit=Get+List

Attachment: pgp00001.pgp
Description: PGP signature