2005-03-30 20:22:29

by Benoit Boissinot

[permalink] [raw]
Subject: [2.6.12-rc1-mm3] BUG: atomic counter underflow in smbfs

I had the following BUG with 2.6.12-rc1-mm3:

remote host is running 2.6.12-rc1-mm1 with samba 3.0.13.

[23156.357178] smb_lookup: find musique/Pink_Floyd-Dark_Side_of_the_Moon
failed, error=-512
[23157.057501] BUG: atomic counter underflow at:
[23157.057508] [<c0103c27>] dump_stack+0x17/0x20
[23157.057516] [<e0ed0f31>] smb_rput+0x51/0x60 [smbfs]
[23157.057530] [<e0ecd497>] smb_proc_query_cifsunix+0x77/0xa0 [smbfs]
[23157.057538] [<e0eca14c>] smb_newconn+0x2bc/0x310 [smbfs]
[23157.057546] [<e0ed05ac>] smb_ioctl+0xfc/0x100 [smbfs]
[23157.057554] [<c0162188>] do_ioctl+0x48/0x70
[23157.057559] [<c01622f9>] vfs_ioctl+0x59/0x1b0
[23157.057563] [<c0162489>] sys_ioctl+0x39/0x60
[23157.057582] [<c0102d8f>] sysenter_past_esp+0x54/0x75

Feel free to ask if you need more informations.

regards,

Benoit

--
powered by bash/screen/(urxvt/fvwm|linux-console)/gentoo/gnu/linux OS


Attachments:
(No filename) (887.00 B)
config.gz (9.01 kB)
Download all attachments

2005-03-30 20:50:07

by Andrew Morton

[permalink] [raw]
Subject: Re: [2.6.12-rc1-mm3] BUG: atomic counter underflow in smbfs

Benoit Boissinot <[email protected]> wrote:
>
> I had the following BUG with 2.6.12-rc1-mm3:
>
> remote host is running 2.6.12-rc1-mm1 with samba 3.0.13.
>
> [23156.357178] smb_lookup: find musique/Pink_Floyd-Dark_Side_of_the_Moon
> failed, error=-512
> [23157.057501] BUG: atomic counter underflow at:
> [23157.057508] [<c0103c27>] dump_stack+0x17/0x20
> [23157.057516] [<e0ed0f31>] smb_rput+0x51/0x60 [smbfs]
> [23157.057530] [<e0ecd497>] smb_proc_query_cifsunix+0x77/0xa0 [smbfs]
> [23157.057538] [<e0eca14c>] smb_newconn+0x2bc/0x310 [smbfs]
> [23157.057546] [<e0ed05ac>] smb_ioctl+0xfc/0x100 [smbfs]
> [23157.057554] [<c0162188>] do_ioctl+0x48/0x70
> [23157.057559] [<c01622f9>] vfs_ioctl+0x59/0x1b0
> [23157.057563] [<c0162489>] sys_ioctl+0x39/0x60
> [23157.057582] [<c0102d8f>] sysenter_past_esp+0x54/0x75

Oh dear. That warning is not necessarily telling us that there's a serious
problem - often it's fairly harmless. Did the filesytem misbehave in any
other manner?

A problem we have here is that nobody really maintains smbfs any more, and
it has problems. I was hoping that the stock answer to that would be "use
cifs", but for some reason that doesn't seem to be happening. Have you
tried it? (Last time I looked, cifs didn't work against win98 servers -
maybe that got fixed).


2005-03-30 21:02:34

by Benoit Boissinot

[permalink] [raw]
Subject: Re: [2.6.12-rc1-mm3] BUG: atomic counter underflow in smbfs

On Wed, Mar 30, 2005 at 12:44:56PM -0800, Andrew Morton wrote:
> Benoit Boissinot <[email protected]> wrote:
> >
> > I had the following BUG with 2.6.12-rc1-mm3:
> >
> > remote host is running 2.6.12-rc1-mm1 with samba 3.0.13.
> >
> > [23156.357178] smb_lookup: find musique/Pink_Floyd-Dark_Side_of_the_Moon
> > failed, error=-512
> > [23157.057501] BUG: atomic counter underflow at:
> > [23157.057508] [<c0103c27>] dump_stack+0x17/0x20
> > [23157.057516] [<e0ed0f31>] smb_rput+0x51/0x60 [smbfs]
> > [23157.057530] [<e0ecd497>] smb_proc_query_cifsunix+0x77/0xa0 [smbfs]
> > [23157.057538] [<e0eca14c>] smb_newconn+0x2bc/0x310 [smbfs]
> > [23157.057546] [<e0ed05ac>] smb_ioctl+0xfc/0x100 [smbfs]
> > [23157.057554] [<c0162188>] do_ioctl+0x48/0x70
> > [23157.057559] [<c01622f9>] vfs_ioctl+0x59/0x1b0
> > [23157.057563] [<c0162489>] sys_ioctl+0x39/0x60
> > [23157.057582] [<c0102d8f>] sysenter_past_esp+0x54/0x75
>
> Oh dear. That warning is not necessarily telling us that there's a serious
> problem - often it's fairly harmless. Did the filesytem misbehave in any
> other manner?
>
It was stucked (couldn't do anything inside) but i was able to umount
it.

> A problem we have here is that nobody really maintains smbfs any more, and
> it has problems. I was hoping that the stock answer to that would be "use
> cifs", but for some reason that doesn't seem to be happening. Have you
> tried it? (Last time I looked, cifs didn't work against win98 servers -
> maybe that got fixed).
>
>
Ok, i think i will google a bit to find how to use samba as a cifs server.

Thanks,

Benoit

--
powered by bash/screen/(urxvt/fvwm|linux-console)/gentoo/gnu/linux OS

2005-03-31 06:28:26

by Jan Engelhardt

[permalink] [raw]
Subject: Re: [2.6.12-rc1-mm3] BUG: atomic counter underflow in smbfs


>tried it? (Last time I looked, cifs didn't work against win98 servers -
>maybe that got fixed).

Well, win98 by itself does not have CIFS support.


Jan Engelhardt
--
No TOFU for me, please.

2005-03-31 09:49:09

by Jean Delvare

[permalink] [raw]
Subject: Re: [2.6.12-rc1-mm3] BUG: atomic counter underflow in smbfs

Hi Benoit,

>>>I had the following BUG with 2.6.12-rc1-mm3:
>>>
>>>remote host is running 2.6.12-rc1-mm1 with samba 3.0.13.
>>>
>>>[23156.357178] smb_lookup: find musique/Pink_Floyd-Dark_Side_of_the_Moon
>>>failed, error=-512
>>>[23157.057501] BUG: atomic counter underflow at:
>>>[23157.057508] [<c0103c27>] dump_stack+0x17/0x20
>>>[23157.057516] [<e0ed0f31>] smb_rput+0x51/0x60 [smbfs]
>>>[23157.057530] [<e0ecd497>] smb_proc_query_cifsunix+0x77/0xa0 [smbfs]
>>>[23157.057538] [<e0eca14c>] smb_newconn+0x2bc/0x310 [smbfs]
>>>[23157.057546] [<e0ed05ac>] smb_ioctl+0xfc/0x100 [smbfs]
>>>[23157.057554] [<c0162188>] do_ioctl+0x48/0x70
>>>[23157.057559] [<c01622f9>] vfs_ioctl+0x59/0x1b0
>>>[23157.057563] [<c0162489>] sys_ioctl+0x39/0x60
>>>[23157.057582] [<c0102d8f>] sysenter_past_esp+0x54/0x75
>>
>>Oh dear. That warning is not necessarily telling us that there's a serious
>>problem - often it's fairly harmless. Did the filesytem misbehave in any
>>other manner?
>>
>
> It was stucked (couldn't do anything inside) but i was able to umount
> it.

Already reported, discussed and fixed.

http://bugme.osdl.org/show_bug.cgi?id=4403
http://marc.theaimsgroup.com/?l=linux-kernel&m=111182797913419&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=111184280803027&w=2

--
Jean Delvare