linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kernel-2.4.17pre8 & invalidate: busy buffer
@ 2001-12-12 16:23 Chen Shiyuan
  2001-12-12 16:36 ` IP -> hostname lookup in kernel module? Joe Wong
  2001-12-13  9:29 ` Kernel-2.4.17pre8 & invalidate: busy buffer Benjamin Herrenschmidt
  0 siblings, 2 replies; 8+ messages in thread
From: Chen Shiyuan @ 2001-12-12 16:23 UTC (permalink / raw)
  To: linux-kernel

Hello,

Currently while running on a RedHat Linux 7.2 box with kernel-
2.4.17pre8, whenever I run the "hdparm -t /dev/sda3" command, the 
following error message will appear around 33+ times 
in /var/log/messages as well as "dmesg" .

invalidate: busy buffer

The machine in question is a Dell PowerEdge 2550 with an AACRAID 
controller and 2 x 18GB HDs in RAID-1 configuration and /dev/sda3 being 
mount as / .

Is this a bug in the kernel or is it caused by some hardware faults?

Does anyone have any solution or workaround to this problem?

Many thanks in advance for any assistance!

(Please CC: replies to me as I am not subscribed to the list.)

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

* Re: IP -> hostname lookup in kernel module?
  2001-12-12 16:36 ` IP -> hostname lookup in kernel module? Joe Wong
@ 2001-12-12 16:35   ` antirez
  2001-12-12 19:46     ` H. Peter Anvin
  0 siblings, 1 reply; 8+ messages in thread
From: antirez @ 2001-12-12 16:35 UTC (permalink / raw)
  To: Joe Wong; +Cc: linux-kernel

On Thu, Dec 13, 2001 at 12:36:06AM +0800, Joe Wong wrote:
> Hi,
> 
>   Is there such a thing in kernel like gethostbyaddr in user space?

There isn't, but you can create an UDP socket and to the query,
or run an userspace resolver daemon that talks with your
module, or some other trick.

BTW it isn't the kind of stuff to do in kernelspace.
You may think about do it in a post-processing stage
if possible, or to write a module that exports to userspace
what you need from the kernel and do the rest in userspace.

-- 
Salvatore Sanfilippo <antirez@invece.org>
http://www.kyuzz.org/antirez
finger antirez@tella.alicom.com for PGP key
28 52 F5 4A 49 65 34 29 - 1D 1B F6 DA 24 C7 12 BF

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

* IP -> hostname lookup in kernel module?
  2001-12-12 16:23 Kernel-2.4.17pre8 & invalidate: busy buffer Chen Shiyuan
@ 2001-12-12 16:36 ` Joe Wong
  2001-12-12 16:35   ` antirez
  2001-12-13  9:29 ` Kernel-2.4.17pre8 & invalidate: busy buffer Benjamin Herrenschmidt
  1 sibling, 1 reply; 8+ messages in thread
From: Joe Wong @ 2001-12-12 16:36 UTC (permalink / raw)
  To: linux-kernel

Hi,

  Is there such a thing in kernel like gethostbyaddr in user space?

TIA.

- Joe


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

* Re: IP -> hostname lookup in kernel module?
  2001-12-12 16:35   ` antirez
@ 2001-12-12 19:46     ` H. Peter Anvin
  0 siblings, 0 replies; 8+ messages in thread
From: H. Peter Anvin @ 2001-12-12 19:46 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <20011212173517.G17064@blu>
By author:    antirez <antirez@invece.org>
In newsgroup: linux.dev.kernel
> 
> There isn't, but you can create an UDP socket and to the query..
> 

No you can't.  There is no way that you can find out which nameservers
are configured.

> or run an userspace resolver daemon that talks with your
> module, or some other trick.
> 
> BTW it isn't the kind of stuff to do in kernelspace.
> You may think about do it in a post-processing stage
> if possible, or to write a module that exports to userspace
> what you need from the kernel and do the rest in userspace.

Indeed.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

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

* Re: Kernel-2.4.17pre8 & invalidate: busy buffer
  2001-12-12 16:23 Kernel-2.4.17pre8 & invalidate: busy buffer Chen Shiyuan
  2001-12-12 16:36 ` IP -> hostname lookup in kernel module? Joe Wong
@ 2001-12-13  9:29 ` Benjamin Herrenschmidt
  2001-12-13 11:41   ` Andreas Steinmetz
  1 sibling, 1 reply; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2001-12-13  9:29 UTC (permalink / raw)
  To: Chen Shiyuan; +Cc: linux-kernel, Alexander Viro

>Hello,
>
>Currently while running on a RedHat Linux 7.2 box with kernel-
>2.4.17pre8, whenever I run the "hdparm -t /dev/sda3" command, the 
>following error message will appear around 33+ times 
>in /var/log/messages as well as "dmesg" .
>
>invalidate: busy buffer
>
>The machine in question is a Dell PowerEdge 2550 with an AACRAID 
>controller and 2 x 18GB HDs in RAID-1 configuration and /dev/sda3 being 
>mount as / .

That's interesting. I've been seeing this message for some time now
(I think since around 2.4.15 at least, maybe longer). I modified the
printk to display the device number, and at that time, it seemed to
always originate from the partition that had a mounted HFS volume.
So I just added that to my (long) list of HFS bugs to fix when I
find enough time to dive into it.

However, I just got a report from some users having the same message
displayed when using parted and with no HFS partition (HFS filesystem
not loaded). I personally see this messages when using/leaving MacOnLinux
emulator (which is opening the block device of a partition that is also
mounted), or when shutting down the box.

Al, any clue ? Something you want me to do to track it further down ?

Ben.



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

* Re: Kernel-2.4.17pre8 & invalidate: busy buffer
  2001-12-13  9:29 ` Kernel-2.4.17pre8 & invalidate: busy buffer Benjamin Herrenschmidt
@ 2001-12-13 11:41   ` Andreas Steinmetz
  2001-12-13 14:35     ` Ulrich Wiederhold
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Steinmetz @ 2001-12-13 11:41 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Alexander Viro, linux-kernel, Chen Shiyuan

You will see this message with LVM too when issuing vgscan/vgchange.

On 13-Dec-2001 Benjamin Herrenschmidt wrote:
>>Hello,
>>
>>Currently while running on a RedHat Linux 7.2 box with kernel-
>>2.4.17pre8, whenever I run the "hdparm -t /dev/sda3" command, the 
>>following error message will appear around 33+ times 
>>in /var/log/messages as well as "dmesg" .
>>
>>invalidate: busy buffer
>>
>>The machine in question is a Dell PowerEdge 2550 with an AACRAID 
>>controller and 2 x 18GB HDs in RAID-1 configuration and /dev/sda3 being 
>>mount as / .
> 
> That's interesting. I've been seeing this message for some time now
> (I think since around 2.4.15 at least, maybe longer). I modified the
> printk to display the device number, and at that time, it seemed to
> always originate from the partition that had a mounted HFS volume.
> So I just added that to my (long) list of HFS bugs to fix when I
> find enough time to dive into it.
> 
> However, I just got a report from some users having the same message
> displayed when using parted and with no HFS partition (HFS filesystem
> not loaded). I personally see this messages when using/leaving MacOnLinux
> emulator (which is opening the block device of a partition that is also
> mounted), or when shutting down the box.
> 
> Al, any clue ? Something you want me to do to track it further down ?
> 
> Ben.
> 
> 
> -
> 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/
> 

Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH

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

* Re: Kernel-2.4.17pre8 & invalidate: busy buffer
  2001-12-13 11:41   ` Andreas Steinmetz
@ 2001-12-13 14:35     ` Ulrich Wiederhold
  2001-12-13 15:26       ` Matt
  0 siblings, 1 reply; 8+ messages in thread
From: Ulrich Wiederhold @ 2001-12-13 14:35 UTC (permalink / raw)
  To: linux-kernel

* Andreas Steinmetz <ast@domdv.de> [011213 12:41]:
> You will see this message with LVM too when issuing vgscan/vgchange.
> 
Yes, same here with lvm.

2 HD's, no RAID, reiserfs.

uli

-- 
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5

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

* Re: Kernel-2.4.17pre8 & invalidate: busy buffer
  2001-12-13 14:35     ` Ulrich Wiederhold
@ 2001-12-13 15:26       ` Matt
  0 siblings, 0 replies; 8+ messages in thread
From: Matt @ 2001-12-13 15:26 UTC (permalink / raw)
  To: linux-kernel

On Thu, Dec 13, 2001 at 03:35:13PM +0100, Ulrich Wiederhold wrote:
> * Andreas Steinmetz <ast@domdv.de> [011213 12:41]:
> > You will see this message with LVM too when issuing vgscan/vgchange.
> > 
> Yes, same here with lvm.
> 
> 2 HD's, no RAID, reiserfs.

I've got LVM and one of said AACRAID adapters. If I do vgscan then I get about
15 copies of the message written, but I haven't been able to trigger it by
accessing the RAID partitions.

Matt
-- 
"Phase plasma rifle in a forty-watt range?"
"Only what you see on the shelves, buddy"

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

end of thread, other threads:[~2001-12-13 15:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-12 16:23 Kernel-2.4.17pre8 & invalidate: busy buffer Chen Shiyuan
2001-12-12 16:36 ` IP -> hostname lookup in kernel module? Joe Wong
2001-12-12 16:35   ` antirez
2001-12-12 19:46     ` H. Peter Anvin
2001-12-13  9:29 ` Kernel-2.4.17pre8 & invalidate: busy buffer Benjamin Herrenschmidt
2001-12-13 11:41   ` Andreas Steinmetz
2001-12-13 14:35     ` Ulrich Wiederhold
2001-12-13 15:26       ` Matt

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).