buffer layer error at fs/buffer.c:127; problems with via686a sensor

buffer layer error at fs/buffer.c:127; problems with via686a sensor

Post by Tomasz Torcz, B » Wed, 09 Apr 2003 18:30:17



Hi,

infos about my system is here: http://fordon.pl.eu.org/~zdzichu/my_setup/
(lspci, output of some files from /proc, dmesg and .config).

I've got some unexplained Call Traces in dmesg:

buffer layer error at fs/buffer.c:127
Call Trace:
 [<c0140ee9>] __buffer_error+0x29/0x30
 [<c0140fd6>] __wait_on_buffer+0x6a/0xac
 [<c0117414>] autoremove_wake_function+0x0/0x38
 [<c0117414>] autoremove_wake_function+0x0/0x38
 [<c01be336>] reiserfs_unmap_buffer+0x4a/0x80
 [<c01be3b0>] unmap_buffers+0x44/0x54
 [<c01be5d4>] indirect2direct+0x214/0x260
 [<c01bc0dd>] maybe_indirect_to_direct+0x21d/0x228
 [<c01bc2d2>] reiserfs_cut_from_item+0xca/0x454
 [<c01251cb>] rcu_check_callbacks+0x53/0x54
 [<c01bc9a9>] reiserfs_do_truncate+0x305/0x45c
 [<c01ada76>] reiserfs_truncate_file+0xca/0x1b0
 [<c01aeb5e>] reiserfs_file_release+0x3be/0x3e4
 [<c0140d4c>] __fput+0x30/0xb0
 [<c0140d1b>] fput+0x13/0x14
 [<c013fbb5>] filp_close+0x59/0x64
 [<c0119d18>] put_files_struct+0x58/0xc0
 [<c011a61e>] do_exit+0x14a/0x2f0
 [<c011a7ea>] sys_exit+0xe/0x10
 [<c0108ca3>] syscall_call+0x7/0xb

What is that?

Also, I had problem compiling via686a sensors into the kernel.
First, it complained about missing i2c_detect(); I've
replaced it by i2c_probe(); kernel has built and booted.
Only sysfs directory of sensor is empty :(
It works with 2.4.x lm_sensors (via /proc of course).

$ ls -laR /sys/bus/i2c

/sys/bus/i2c:
total 0
drwxr-xr-x    4 root     root            0 kwi  8 14:21 .
drwxr-xr-x    7 root     root            0 kwi  8 14:21 ..
drwxr-xr-x    2 root     root            0 kwi  8 14:21 devices
drwxr-xr-x    4 root     root            0 kwi  8 14:21 drivers

/sys/bus/i2c/devices:
total 0
drwxr-xr-x    2 root     root            0 kwi  8 14:21 .
drwxr-xr-x    4 root     root            0 kwi  8 14:21 ..

/sys/bus/i2c/drivers:
total 0
drwxr-xr-x    4 root     root            0 kwi  8 14:21 .
drwxr-xr-x    4 root     root            0 kwi  8 14:21 ..
drwxr-xr-x    2 root     root            0 kwi  8 14:21 VIA686A
drwxr-xr-x    2 root     root            0 kwi  8 14:21 i2c-dev dummy dr

/sys/bus/i2c/drivers/VIA686A:
total 0
drwxr-xr-x    2 root     root            0 kwi  8 14:21 .
drwxr-xr-x    4 root     root            0 kwi  8 14:21 ..

/sys/bus/i2c/drivers/i2c-dev dummy dr :
total 0
drwxr-xr-x    2 root     root            0 kwi  8 14:21 .
drwxr-xr-x    4 root     root            0 kwi  8 14:21 ..

Please CC me if replying.
--
Tomasz Torcz               RIP is irrevelant. Spoofing is futile.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

buffer layer error at fs/buffer.c:127; problems with via686a sensor

Post by Andrew Morto » Thu, 10 Apr 2003 01:40:10



Quote:

> Hi,

> infos about my system is here: http://fordon.pl.eu.org/~zdzichu/my_setup/
> (lspci, output of some files from /proc, dmesg and .config).

> I've got some unexplained Call Traces in dmesg:

> buffer layer error at fs/buffer.c:127

That's not a bug.  It is errant debugging code.  reiserfs has locked the
page, so the buffers are safe.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

buffer layer error at fs/buffer.c:127; problems with via686a sensor

Post by Greg K » Thu, 10 Apr 2003 07:00:07



> Also, I had problem compiling via686a sensors into the kernel.
> First, it complained about missing i2c_detect(); I've
> replaced it by i2c_probe(); kernel has built and booted.

That was a Kconfig bug of mine in drivers/i2c/chips.  A patch for this
has been posted to lkml in the past.  And replacing i2c_detect() with
i2c_probe() _should_ work for you, it might not, I'm still trying to
work out the real differences...

Quote:> Only sysfs directory of sensor is empty :(
> It works with 2.4.x lm_sensors (via /proc of course).

What i2c bus driver are you using?

Quote:> /sys/bus/i2c/drivers:
> total 0
> drwxr-xr-x    4 root     root            0 kwi  8 14:21 .
> drwxr-xr-x    4 root     root            0 kwi  8 14:21 ..
> drwxr-xr-x    2 root     root            0 kwi  8 14:21 VIA686A
> drwxr-xr-x    2 root     root            0 kwi  8 14:21 i2c-dev dummy dr

Ah, need to go fix up that driver's name, thanks for pointing it out.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. buffer layer error at fs/buffer.c:127

Hi!

I found this message in dmesg:

buffer layer error at fs/buffer.c:127
Pass this trace through ksymoops for reporting
Call Trace: [<c013f145>]  [<c0114898>]  [<c0114898>]  [<c018e69a>]  [<c018e730>]  [<c018e91d>]  [<c018c527>]  [<c018c98c>]  [<c017bc8e>]  [<c0192800>]  [<c017ce2d>]  [<c02631bc>]  [<c013ee28>]  [<c013d80c>]  [<c013d888>]  [<c0108d53>]

Here's the ksymoops output:

ksymoops 2.4.8 on i686 2.5.67.  Options used
     -V (default)
     -K (specified)
     -l /proc/modules (default)
     -o /lib/modules/2.5.67/ (default)
     -m /boot/System.map-2.5.67 (default)

No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Call Trace: [<c013f145>]  [<c0114898>]  [<c0114898>]  [<c018e69a>]  [<c018e730>]  [<c018e91d>]  [<c018c527>]  [<c018c98c>]  [<c017bc8e>]  [<c0192800>]  [<c017ce2d>]  [<c02631bc>]  [<c013ee28>]  [<c013d80c>]  [<c013d888>]  [<c0108d53>]
Warning (Oops_read): Code line not seen, dumping what data is available

Trace; c013f145 <__wait_on_buffer+d0/d2>
Trace; c0114898 <autoremove_wake_function+0/4f>
Trace; c0114898 <autoremove_wake_function+0/4f>
Trace; c018e69a <reiserfs_unmap_buffer+62/9c>
Trace; c018e730 <unmap_buffers+5c/5e>
Trace; c018e91d <indirect2direct+1eb/2e2>
Trace; c018c527 <reiserfs_cut_from_item+3c3/4e6>
Trace; c018c98c <reiserfs_do_truncate+2eb/5a4>
Trace; c017bc8e <reiserfs_truncate_file+df/209>
Trace; c0192800 <journal_end+27/2b>
Trace; c017ce2d <reiserfs_file_release+229/43f>
Trace; c02631bc <ide_do_request+1d4/34f>
Trace; c013ee28 <__fput+9b/9d>
Trace; c013d80c <filp_close+4d/79>
Trace; c013d888 <sys_close+50/5f>
Trace; c0108d53 <syscall_call+7/b>

1 warning issued.  Results may not be reliable.

No module support was compiled into the kernel.

Regards,
SZALONTAI Zoltan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. >>> Bandwidth Limit for FTP Server <<<

3. 2.5.67 buffer layer error at fs/buffer.c:127

4. Documentation please

5. buffer layer error at fs/buffer.c:399 (Was incorrectly FS Corruption)

6. Slackware VS yggdrasil ??? (install problems)

7. 2.5.46: buffer layer error at fs/buffer.c:399

8. Problem running httpd

9. buffer layer error at fs/buffer.c:1166

10. 2.5.55 - buffer layer error at fs/buffer.c:1182

11. 2.5.46: buffer layer error at fs/buffer.c:1623

12. (2.5.23) buffer layer error at buffer.c:2326

13. 2.5.25: buffer layer error at buffer.c:406