* Re: [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED
From: John Stoffel @ 2004-01-26 4:26 UTC (permalink / raw)
To: John Stoffel
Cc: Andi Kleen, Adrian Bunk, Valdis.Kletnieks, Fabio Coatti,
Andrew Morton, Eric, linux-kernel
In-Reply-To: <16404.34836.753760.759367@gargle.gargle.HOWL>
Just a quick followup, but 2.6.2-rc2 also hung in the exact same spot,
after printing out the HighMem zone: line.
Falling back to 2.6.1-mm5 for now. More testing tomorrow evening when
I get a chance.
John
^ permalink raw reply
* Re: [OOPS] Linux-2.6.1 suspend/resume
From: Hugang @ 2004-01-26 4:16 UTC (permalink / raw)
To: Udo A. Steinberg; +Cc: Linux Kernel Mailing List
In-Reply-To: <20040126022540.315c4f8c@argon.inf.tu-dresden.de>
On Mon, 26 Jan 2004 02:25:40 +0100
"Udo A. Steinberg" <us15@os.inf.tu-dresden.de> wrote:
> [<c02fc028>] usb_hcd_pci_resume+0x38/0x90
> [<c023ac54>] pci_device_resume+0x24/0x30
> [<c028a3e7>] resume_device+0x27/0x30
> [<c028a424>] dpm_resume+0x34/0x60
> [<c028a469>] device_resume+0x19/0x30
> [<c01337e9>] drivers_resume+0x39/0x40
> [<c0133aba>] do_magic_resume_2+0x5a/0xe0
> [<c0133ad2>] do_magic_resume_2+0x72/0xe0
> [<c03576af>] do_magic+0x11f/0x130
> [<c0133cfb>] do_software_suspend+0x6b/0x90
> [<c02538e6>] acpi_system_write_sleep+0xb3/0xcd
> [<c0253833>] acpi_system_write_sleep+0x0/0xcd
> [<c0150398>] vfs_write+0xd8/0x140
> [<c01504b2>] sys_write+0x42/0x70
> [<c0109387>] syscall_call+0x7/0xb
>
> bad: scheduling while atomic!
> Call Trace:
> [<c011a7d3>] schedule+0x563/0x570
> [<c0356e7d>] pci_read+0x3d/0x50
> [<c0125ff3>] schedule_timeout+0x63/0xc0
> [<c0125f80>] process_timeout+0x0/0x10
> [<c02387b3>] pci_set_power_state+0xd3/0x160
> [<c02a3708>] e100_resume+0x28/0x70
> [<c023ac54>] pci_device_resume+0x24/0x30
I think if you can let usb, e100 as module, before suspend rmmod it,
resume will be ok.
pls try.
thanks.
--
Hu Gang / Steve
Linux Registered User 204016
GPG Public Key: http://soulinfo.com/~hugang/HuGang.asc
^ permalink raw reply
* Re: [ANNOUNCE] Cooperative Linux
From: Dan Aloni @ 2004-01-26 4:26 UTC (permalink / raw)
To: Nuno Silva; +Cc: Linux Kernel List
In-Reply-To: <40148C1C.5040102@vgertech.com>
On Mon, Jan 26, 2004 at 03:40:12AM +0000, Nuno Silva wrote:
> Hi!
>
> Dan Aloni wrote:
> >Hello fellow developers, kernel hackers, and open source contributors,
> >
> >Cooperative Linux is a port of the Linux kernel which allows it
> >to run cooperatively under other operating systems in ring0 without
> >hardware emulation, based on very minimal changes in the architecture
> >dependent code and almost no changes in functionality.
> >
> >The bottom line is that it allows us to run Linux on an unmodified
> >Windows 2000/XP system in a practical way (the user just launches
>
> Very nice! Can we run two (or more) instances of Linux at the same time?
Yes, it would be possible.
> When will you release a linux-as-host patch? :-)
I can't say exactly when, but several people volunteered to work on this.
--
Dan Aloni
da-x@gmx.net
^ permalink raw reply
* Re: [janitor] depca: release resources on errors
From: Jeff Garzik @ 2004-01-26 4:25 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: netdev, ogasawara
In-Reply-To: <20040125193017.450d6ff8.rddunlap@osdl.org>
Randy.Dunlap wrote:
> On Sun, 25 Jan 2004 11:36:38 -0500 Jeff Garzik <jgarzik@pobox.com> wrote:
>
> | Most of these patches you're sending are already in netdev-2.6, AFAICS...
>
>
> net: remove unnecessary type casting -- not found in netdev
I applied this one
> tc35815: handle ioremap() failure -- still missed (*Leann)
dev->base_addr = (unsigned long)ioremap(base_addr,
sizeof(struct tc35815_regs));
if (!dev->base_addr) {
ret = -ENOMEM;
goto err_out;
}
> dgrs: add iounmap()s to failure paths -- still missed (*Leann)
this wants fixing as well
^ permalink raw reply
* Re: MD Oops on boot with 2.6.2-rc1-mm3
From: Andrew Morton @ 2004-01-26 4:12 UTC (permalink / raw)
To: Walt H; +Cc: linux-kernel, jik, linux-raid
In-Reply-To: <40146B68.6070007@comcast.net>
Walt H <waltabbyh@comcast.net> wrote:
>
> > There appears to be a dud raid patch in -mm. It'll be one of the md-*
> > patches.
> >
> > If you have time, could you work out which one? Ones to start with might be
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc1/2.6.2-rc1-mm3/ \
> > broken-out/md-02-preferred_minor-fix.patch
> >
> > and
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc1/2.6.2-rc1-mm3/ \
> > broken-out/md-06-allow-partitioning.patch
> >
> >
>
> I had a repeatable oops that sounds identical to what Jonathan
> originally reported. Backing out md-06-allow-partitioning.patch fixed
> the oops at boot for me. Thanks,
Thanks. md-06 and md-07 are in for a bit of a rethink anyway...
^ permalink raw reply
* simple udev rule not working
From: Mark Eaton @ 2004-01-26 4:11 UTC (permalink / raw)
To: linux-hotplug
I am trying to get a simple udev rule to work with no luck. Could somebody shed some light on what I am doing wrong. I am using 2.6.1 with udev 014.
I have the rule
LABEL, BUS="usb", SYSFS_serial="NA0120307040254530 ", NAME="epson915"
if I do a hexdump on the serial it has a space at the end, but I have tried the rule with and without the space and it makes no difference.
The following is the sysfs tree of relevance to the device
.
|-- 2-0:1.0
| |-- bAlternateSetting
| |-- bInterfaceClass
| |-- bInterfaceNumber
| |-- bInterfaceProtocol
| |-- bInterfaceSubClass
| |-- bNumEndpoints
| |-- detach_state
| |-- iInterface
| `-- power
| `-- state
|-- 2-1
| |-- 2-1:1.0 /*
/* Other usb port */
|-- 2-2
| |-- 2-2.1
| | |-- 2-2.1:1.0
| | | |-- bAlternateSetting
| | | |-- bInterfaceClass
| | | |-- bInterfaceNumber
| | | |-- bInterfaceProtocol
| | | |-- bInterfaceSubClass
| | | |-- bNumEndpoints
| | | |-- detach_state
| | | |-- iInterface
| | | `-- power
| | | `-- state
| | |-- bConfigurationValue
| | |-- bDeviceClass
| | |-- bDeviceProtocol
| | |-- bDeviceSubClass
| | |-- bMaxPower
| | |-- bNumConfigurations
| | |-- bNumInterfaces
| | |-- bcdDevice
| | |-- bmAttributes
| | |-- detach_state
| | |-- idProduct
| | |-- idVendor
| | |-- manufacturer
| | |-- power
| | | `-- state
| | |-- product
| | |-- serial
| | `-- speed
| |-- 2-2.2
| | |-- 2-2.2:1.0
/* This is the built in memory card reader */
| |-- 2-2:1.0
| | |-- bAlternateSetting
| | |-- bInterfaceClass
| | |-- bInterfaceNumber
| | |-- bInterfaceProtocol
| | |-- bInterfaceSubClass
| | |-- bNumEndpoints
| | |-- detach_state
| | |-- iInterface
| | `-- power
| | `-- state
| |-- bConfigurationValue
| |-- bDeviceClass
| |-- bDeviceProtocol
| |-- bDeviceSubClass
| |-- bMaxPower
| |-- bNumConfigurations
| |-- bNumInterfaces
| |-- bcdDevice
| |-- bmAttributes
| |-- detach_state
| |-- idProduct
| |-- idVendor
| |-- power
| | `-- state
| |-- product
| `-- speed
|-- bConfigurationValue
|-- bDeviceClass
|-- bDeviceProtocol
|-- bDeviceSubClass
|-- bMaxPower
|-- bNumConfigurations
|-- bNumInterfaces
|-- bcdDevice
|-- bmAttributes
|-- detach_state
|-- idProduct
|-- idVendor
|-- manufacturer
|-- power
| `-- state
|-- product
|-- serial
`-- speed
Thanks in advance.
--
Mark Eaton
mark.eaton@vasco.com
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply
* Re: [PATCH] oprofile per-cpu buffer overrun
From: Andrew Morton @ 2004-01-26 4:07 UTC (permalink / raw)
To: Philippe Elie; +Cc: linux-kernel, levon
In-Reply-To: <20040126023715.GA3166@zaniah>
Philippe Elie <phil.el@wanadoo.fr> wrote:
>
> Hi Andrew,
>
> In a ring buffer controlled by a read and write positions we
> can't use buffer_size but only buffer_size - 1 entry,
you can, actually.
> the last
> free entry act as a guard to avoid write pos overrun. This bug
> was hidden because the writer, oprofile_add_sample(), request
> one more entry than really needed.
>
>...
> diff -u -p -r1.9 cpu_buffer.c
> --- drivers/oprofile/cpu_buffer.c 26 May 2003 04:42:54 -0000 1.9
> +++ drivers/oprofile/cpu_buffer.c 24 Jan 2004 21:07:03 -0000
> @@ -86,9 +86,9 @@ static unsigned long nr_available_slots(
> unsigned long tail = b->tail_pos;
>
> if (tail > head)
> - return tail - head;
> + return (tail - head) - 1;
>
> - return tail + (b->buffer_size - head);
> + return tail + (b->buffer_size - head) - 1;
> }
When implementing a circular buffer it is better to not constrain the head
and tail indices - just let them grow and wrap without bound. You only need
to bring them in-bounds when you actually use them to index the buffer.
This way,
- head-tail is always the amount of used space, no need to futz around
handling the case where one has wrapped and the other hasn't.
- you get to use all of the buffer, because the cases head-tail == 0
(empty) and head-tail == bufsize (full) are now distinguishable.
It helps if the buffer size is a power of two, of course, but integer
modulus is pretty quick.
All the net drivers and the printk log buffer implement their ring buffers
in this way; it works nicely.
^ permalink raw reply
* Re: WP 5.1, graphical preview, in console
From: Rob Ristroph @ 2004-01-26 4:06 UTC (permalink / raw)
To: linux-msdos
In-Reply-To: <Pine.LNX.4.44.0401252207400.8694-100000@solarflow.dyndns.org>
>>>>> "Justin" == Justin Zygmont <jzygmont@solarflow.dyndns.org> writes:
Justin>
Justin> did you set your $_console=1 and $_graphics=1 in dosemu.conf?
Yes. Actually it is conf/dosemurc in the precompiled distribution. I
also set $_video = "vga", $_rawkeyboard = (1), $_vbios_post = (1),
$_chipset = "ati" and also tried $_chipset = "plainvga", and various
combinations of those.
Does graphics from the console work for you ? Are you using the
binary distribution, or did you compile it from source ? If so, did
you edit compiletime-settings at all ?
--Rob
^ permalink raw reply
* [uml-devel] Re: Mapping con=pts to a port instead of con=port
From: Dan Shearer @ 2004-01-24 8:26 UTC (permalink / raw)
To: user-mode-linux-devel
In-Reply-To: <20040124050440.GF4203@erizo.shearer.org>
Let's get the versions right. Patch is actually:
--- tndCfgParse.l.orig
+++ tndCfgParse.l
@@ -132,7 +132,8 @@
[Oo][Nn] { return(YY_ON); }
[Oo][Ff][Ff] { return(YY_OFF); }
-"/dev/"[.A-Za-z][.A-Za-z0-9_-]* { strcpy(yylval.s, yytext); return(YY_DEVICE); }
+"/dev/"[.A-Za-z][.A-Za-z0-9_-]*|"/dev/pts/"[0-9]{1,5} { strcpy(yylval.s, yytext); return(YY_DEVICE); }
+
[0-9A-Za-z_-]+ { strcpy(yylval.s, yytext); return(YY_IDENT); }
. { return(yytext[0]); }
--
Dan Shearer
dan@shearer.org
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply
* Re: [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED
From: Adrian Bunk @ 2004-01-26 3:48 UTC (permalink / raw)
To: Andrew Morton; +Cc: Andi Kleen, cova, eric, linux-kernel
In-Reply-To: <20040125145948.581d753c.akpm@osdl.org>
On Sun, Jan 25, 2004 at 02:59:48PM -0800, Andrew Morton wrote:
> Andi Kleen <ak@muc.de> wrote:
> >
> > On Sun, Jan 25, 2004 at 02:25:00PM -0800, Andrew Morton wrote:
> > > Andi Kleen <ak@muc.de> wrote:
> > > >
> > > > I would suspect the new weird CPU
> > > > configuration stuff.
> > >
> > > What do you believe is wrong with it?
> >
> > It's different and it is weird and probably easy to screw up.
> >
>
> I must say that it does seem to be causing quite a few problems and doesn't
> have a very good benefit:breakage ratio. Maybe we should say that 2.6 has
> sucky CPU selection and leave it for 2.7.
The cpu selection patch is perhaps a bit prominent and therefore the
first suspect in case of problems. After looking at yesterday's problems
(including looking through the .config's) I'd claim that my cpu
selection changes are definitely not guilty. Besides that it broke
"allnoconfig" I haven't yet seen it having big problems caused.
Your impression might be different, and you are the one who makes the
decisions.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply
* Re: soundmodem support for HF modes?
From: Hamish Moffatt @ 2004-01-26 3:48 UTC (permalink / raw)
To: linux-hams
In-Reply-To: <20040125193512.055d315e.washer@trlp.com>
On Sun, Jan 25, 2004 at 07:35:12PM -0800, James Washer wrote:
> Any linux soundmodem support for HF digital modes?
There's a separate program which implements q15x25 (newqpsk) using the
same structure as the user-space soundmodem.
Other than there's gMFSK which is a GNOME program which does PSK31,
RTTY, FeldHell, MT63 and MFSK. Those aren't packet radio modes so not
suitable for inclusion in the soundmodem.
73
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
^ permalink raw reply
* Re: packet/soundmodem questions
From: Douglas Cole @ 2004-01-26 3:43 UTC (permalink / raw)
To: James Washer; +Cc: linux-hams
In-Reply-To: <20040125190823.0f0eaaaf.washer@trlp.com>
On Sunday 25 January 2004 19:08, James Washer wrote:
> The soundmodem setup was relatively simple. All worked fine on my desktop
> box. I'm got an issue with the laptop transmitting, but I'm sure I'll get
> around that.
>
> Compile a kernel with AX.25, AX.25 Level2, and MKISS, then run soundmodem
> in userland.
Umm I was under the assumption that I could load AX25 as a module under
SuSE...
Is it required to compile AX25 into the kernel as you mention? or is it ok to
load as a module?
Also will soundmodem run while I am running ALSA/ARTS on my X session ?
tnx for the input :)
Doug
>
> If you follow the directions EXACTLY for building and installing the AX.25
> tools, apps, and library ( make sure to do the 'make installconf' step )
> everything pretty well falls into place.
>
> Write if you hit a snag.
>
> - jim
>
> On Sun, 25 Jan 2004 17:50:47 -0800
>
> "Douglas Cole" <n7bfs@qwest.net> wrote:
> > On Sunday 25 January 2004 15:08, James Washer wrote:
> > > I've been working on this very issue for a couple of days on my IBM
> > > X600 thinkpad, and will give it a shot soon on my T21.
> > >
> > > So far, the receive is fine, but I'm not transmitting yet. The
> > > soundcard is only producing what sounds like framing bits.. No data
> > > yet.
> > >
> > > If you installed the AX.25 tools package, just do 'man -k AX.25' to see
> > > a list of tools that were installed.
> > >
> > > Keep in touch with how things are going on your T23.
> > >
> > > - jim
> >
> > Thanks James for the input, I was hoping to get some input ala userland
> > style as I am not experienced in the Linux packet realm, so it appears
> > that I have lots of reading to do, since when I did the man command you
> > provided above it listed a mass of entries that I am totally unfamiliar
> > with...
> >
> > It may be easier for me to just go buy a used tnc, but then again where
> > is the fun in that ? ;^}
> >
> > I will try to share my experiences with my T23 once I get an idea of
> > where "square one" is...
> >
> > 73
> >
> > Doug
> >
> > > On Sun, 25 Jan 2004 11:59:28 -0800
> > >
> > > "Douglas Cole" <n7bfs@qwest.net> wrote:
> > > > Have been following the list for a while now and got interested in
> > > > the soundmodem thread...
> > > >
> > > > I too would like to get soundmodem up and running so as to be able to
> > > > run 1200 baud packet from my laptop (IBM thinkpad T23) and have done
> > > > a small amount of searching but have not found any documentation on
> > > > soundmodem, or at least so little that it leaves me wondering how to
> > > > make things work...
> >
> >
^ permalink raw reply
* RE:/dev/null
From: Arun Kumar @ 2004-01-26 3:43 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: linuxppc-devel
Hi all,
I am new to this field.
I am trying to get bootloader for MPC8xx board.
I am downloading from ELDK and i got eldk-ppc-linux-x86.
When I am trying to get the eldk_build file from cvs of denx.de site Iam getting that open /dev/null failed.
so it is coming out without getting the file.
How to open this /dev/null file.
In /dev directory the null files exists and having with permissions 0666.But the problem is that it is not recognising in current home directory or /opt/eldk file (where I want to build files).
Even though I am downloading as a root the problem exists and I tried to make a hard link between /dev/null and /op/eldk/dev/null(which i created /dev/null seperately in this /opt/eldk). The same problem persists.
Help in this regard so that I can proceed further in my project.
Thanks in advance,
arunkumar@actinium.org.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply
* [uml-devel] tt mode tls/glibc crash with 2.6 (Was: Re: uml-patch-2.6.0)
From: M A Young @ 2004-01-23 21:52 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Jeff Dike, Gerd Knorr, user-mode-linux-devel
In-Reply-To: <20040120002301.GA5708@elte.hu>
On Tue, 20 Jan 2004, Ingo Molnar wrote:
>
> * M A Young <m.a.young@durham.ac.uk> wrote:
>
> > I have found in tt mode with an FC1 image the system hangs after 3
> > syscalls (uname, brk, open), before any set/get_thread_area calls, so
> > I suspect there is another problem. The hang consists of repeated
> > segfault signals with fault address (beffe018) which returns -EFAULT.
> > Is there any setup for tls/nptl normally done by the kernel that might
> > be missing in UML, such as allocating some high up memory?
>
> hm, beffe018 - shouldnt that be the stack?
I now know where 0xbeffe018 comes from. The endless segfault is triggered
from line 1256 of elf/rtld.c in the glibc code (1252-1258 are shown from
RedHat's glibc-2.3.2-101.4.i686.rpm package)
#ifdef NEED_DL_SYSINFO
if (GL(dl_sysinfo_dso) != NULL)
{
/* We have a prelinked DSO preloaded by the system. */
GL(dl_sysinfo) = GL(dl_sysinfo_dso)->e_entry;
/* Do an abridged version of the work _dl_map_object_from_fd would do
GL(dl_sysinfo_dso) is _dl_sysinfo_dso, _rtld_local._dl_sysinfo_dso or
_rtld_global._dl_sysinfo_dso according to context
_dl_sysinfo_dso=0 is at 0xa0603f50
_rtld_local._dl_sysinfo_dso=0xbeffe000 is at 0x40015454
_rtld_global._dl_sysinfo_dso=0xbeffe000 is at 0x40015454
so I am guessing that _rtld_{local,global}._dl_sysinfo_dso should have
been initialized from _dl_sysinfo_dso but wasn't. This could be a glibc
bug, though I haven't looked closely enough to be sure.
Michael Young
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply
* Re: [ANNOUNCE] Cooperative Linux
From: Nuno Silva @ 2004-01-26 3:40 UTC (permalink / raw)
To: Dan Aloni; +Cc: Linux Kernel List
In-Reply-To: <20040125193518.GA32013@callisto.yi.org>
Hi!
Dan Aloni wrote:
> Hello fellow developers, kernel hackers, and open source contributors,
>
> Cooperative Linux is a port of the Linux kernel which allows it
> to run cooperatively under other operating systems in ring0 without
> hardware emulation, based on very minimal changes in the architecture
> dependent code and almost no changes in functionality.
>
> The bottom line is that it allows us to run Linux on an unmodified
> Windows 2000/XP system in a practical way (the user just launches
Very nice! Can we run two (or more) instances of Linux at the same time?
When will you release a linux-as-host patch? :-)
Regards,
Nuno Silva
^ permalink raw reply
* soundmodem support for HF modes?
From: James Washer @ 2004-01-26 3:35 UTC (permalink / raw)
To: linux-hams
Any linux soundmodem support for HF digital modes?
thanks
- jim
^ permalink raw reply
* Re: [janitor] depca: release resources on errors
From: Randy.Dunlap @ 2004-01-26 3:30 UTC (permalink / raw)
To: Jeff Garzik; +Cc: netdev, ogasawara
In-Reply-To: <4013F096.4090705@pobox.com>
On Sun, 25 Jan 2004 11:36:38 -0500 Jeff Garzik <jgarzik@pobox.com> wrote:
| Most of these patches you're sending are already in netdev-2.6, AFAICS...
net: remove unnecessary type casting -- not found in netdev
tc35815: handle ioremap() failure -- still missed (*Leann)
depca: release resource on errors -- yes, already in netdev
dgrs: add iounmap()s to failure paths -- still missed (*Leann)
--
~Randy
*Leann: Please rediff these 2 patches after Jeff's netdev
patches are merged, or rediff them against his patchsets.
http://www.kernel.org/pub/linux/kernel/people/jgarzik/patchkits/2.6/
^ permalink raw reply
* Re: [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED
From: Adrian Bunk @ 2004-01-26 3:27 UTC (permalink / raw)
To: Andi Kleen; +Cc: Fabio Coatti, Andrew Morton, eric, linux-kernel
In-Reply-To: <20040125221304.GD28576@colin2.muc.de>
On Sun, Jan 25, 2004 at 11:13:04PM +0100, Andi Kleen wrote:
> On Sun, Jan 25, 2004 at 11:08:33PM +0100, Fabio Coatti wrote:
> > > does official 2.6.2rc1 (not mm) with -funit-at-a-time enabled in the
> > > Makefile work?
> >
> > Yes.
>
> Ok, then it is something in -mm*. I would suspect the new weird CPU
> configuration stuff. Can you double check you configured your CPU correctly?
>...
The .config's were already sent, and they seemed to be correct.
> -Andi
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply
* [2.4 patch] small hptraid.c fix
From: Adrian Bunk @ 2004-01-26 3:25 UTC (permalink / raw)
To: andre, Marcelo Tosatti, Wilfried Weissmann, Arjan van de Ven; +Cc: linux-kernel
I got the following warning while compileing 2.4.25-pre7:
<-- snip -->
...
gcc-2.95 -D__KERNEL__
-I/home/bunk/linux/kernel-2.4/linux-2.4.25-pre7-full/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -I../
-nostdinc -iwithprefix include -DKBUILD_BASENAME=hptraid -c -o
hptraid.o hptraid.c
{standard input}: Assembler messages:
{standard input}:92: Warning: setting incorrect section attributes for .text.init
...
<-- snip -->
The problem is that a struct was marked __init instead of __initdata.
The patch below fixes this issue.
cu
Adrian
--- linux-2.4.25-pre7-full/drivers/ide/raid/hptraid.c.old 2004-01-26 04:19:37.000000000 +0100
+++ linux-2.4.25-pre7-full/drivers/ide/raid/hptraid.c 2004-01-26 04:19:53.000000000 +0100
@@ -146,7 +146,7 @@
make_request: hptraid01_make_request
};
-static __init struct {
+static __initdata struct {
struct raid_device_operations *op;
u_int8_t type;
char label[8];
^ permalink raw reply
* Re: [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED
From: John Stoffel @ 2004-01-26 3:23 UTC (permalink / raw)
To: Andi Kleen
Cc: John Stoffel, Adrian Bunk, Valdis.Kletnieks, Fabio Coatti,
Andrew Morton, Eric, linux-kernel
In-Reply-To: <20040125234756.GF28576@colin2.muc.de>
Andi,
I applied the early-printk patch to 2.6.2-rc1 and here's the serial
output I got, before the system just stopped booting:
Linux version 2.6.2-rc1 (john@jfsnew) (gcc version 3.3.3 20040110
(prerelease) (Debian)) #4 SMP Sun Jan 25 22:13:38 EST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000002fffe000 (usable)
BIOS-e820: 000000002fffe000 - 0000000030000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
767MB LOWMEM available.
found SMP MP-table at 000fe710
hm, page 000fe000 reserved twice.
hm, page 000ff000 reserved twice.
hm, page 000f0000 reserved twice.
On node 0 totalpages: 196606
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 192510 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
Here's the copied odwn output from tty0, my regular console:
Booting '2.6.2-rc1'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinux-2.6.2-rc1 root=sda2 ro console=ttyS0,38400n8
console=tty0 earlyprintk=serial
[linux-bzImage, setup=0xa00, size=0x1d3b38]
savedefault
boot
Uncompressing Linux... Ok, booting the kernel.
And that's it. I'll see about applying the patch to the various
2.6.2-rc1-mm kernels as well, and possibly to 2.6.2-rc2, which I just
got downloaded. Hmmm... I'll try that one first actually and try to
get more info out tonight.
John
^ permalink raw reply
* statement with no effect ???
From: Sérgio Monteiro Basto @ 2004-01-26 3:21 UTC (permalink / raw)
To: acpi-devel
Hi
Compiling 2.4.25-pre6, I got this strange warning
from file drivers/acpi/dispatcher/dsmthdat.c
dsmthdat.c: In function `acpi_ds_store_object_to_local':
dsmthdat.c:604: warning: statement with no effect
the line 604 can be deleted ?
--
Sérgio M B
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply
* [2.4 patch] fix two IDE warnings
From: Adrian Bunk @ 2004-01-26 3:19 UTC (permalink / raw)
To: andre, Marcelo Tosatti; +Cc: linux-kernel
I got the following warnings in 2.4.25-pre7:
<-- snip -->
...
gcc-2.95 -D__KERNEL__
-I/home/bunk/linux/kernel-2.4/linux-2.4.25-pre7-full/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -I../
-nostdinc -iwithprefix include -DKBUILD_BASENAME=siimage -c -o
siimage.o siimage.c
siimage.c: In function `pdev_is_sata':
siimage.c:65: warning: control reaches end of non-void function
...
gcc-2.95 -D__KERNEL__
-I/home/bunk/linux/kernel-2.4/linux-2.4.25-pre7-full/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -I../
-nostdinc -iwithprefix include -DKBUILD_BASENAME=generic -c -o
generic.o generic.c
generic.h:151: warning: `unknown_chipset' defined but not used
...
<-- snip -->
The patch below (completely stolen from 2.6) fixes these two warnings.
Please apply
Adrian
--- linux-2.4.25-pre7-full/drivers/ide/pci/siimage.c.old 2004-01-26 04:02:58.000000000 +0100
+++ linux-2.4.25-pre7-full/drivers/ide/pci/siimage.c 2004-01-26 04:03:16.000000000 +0100
@@ -62,6 +62,7 @@
return 0;
}
BUG();
+ return 0;
}
/**
--- linux-2.4.25-pre7-full/drivers/ide/pci/generic.h.old 2004-01-26 04:05:31.000000000 +0100
+++ linux-2.4.25-pre7-full/drivers/ide/pci/generic.h 2004-01-26 04:05:46.000000000 +0100
@@ -148,6 +148,7 @@
}
};
+#if 0
static ide_pci_device_t unknown_chipset[] __devinitdata = {
{ /* 0 */
.vendor = 0,
@@ -170,5 +171,6 @@
}
};
+#endif
#endif /* IDE_GENERIC_H */
^ permalink raw reply
* Re: PATCH: (as177) Add class_device_unregister_wait() and platform_device_unregister_wait() to the driver model core
From: Adam Kropelin @ 2004-01-26 3:22 UTC (permalink / raw)
To: Linux Kernel List, Linus Torvalds
In-Reply-To: <microsoft-free.877jzfoc5h.fsf@eicq.dnsalias.org>
On Mon, Jan 26, 2004 at 09:12:58AM +1000, Steve Youngs wrote:
> * Linus Torvalds <torvalds@osdl.org> writes:
>
> > - doing proper refcounting of modules is _really_ really
> > hard. The reason is that proper refcounting is a "local"
> > issue: you reference count a single data structure. It's
> > basically impossible to make a "global" reference count
> > without jumping through hoops.
>
> Please understand that I coming from an _extremely_ naive perspective,
> but why do refcounting at all? Couldn't the refcount be a simple
> boolean?
A boolean is just a one-bit reference count. If the maximum number of
simultaneous 'users' for a given module is one, then a boolean will work.
If there is potential for more than one simultaneous user then you need
more bits.
Either way, it doesn't simplify the problem.
> I see the process working along these lines: When a module is loaded
> into the kernel it (the module) exports a symbol (a function) that the
> kernel can use for determining whether or not the module is still in
> use.
And how will the module know when it is or is not "in use"? By keeping
a count of the number of current users, of course.
> > - lack of testing.
>
> A moot point once the kernel can safely and efficiently do module
> unloading.
I don't follow your logic. Once it works we don't have to test it so
therefore we never need to test it? I don't buy the premise or the
conclusion.
> > Unloading a module happens once in a blue moon, if even then.
>
> We get an awful lot of blue moons here.
This moon's not worth barking at.
> > But it basically boils down to: don't think of module unload as a "normal
> > event". It isn't. Getting it truly right is (a) too painful and (b) would
> > be too slow, so we're not even going to try.
>
> Now there's a cop out if ever I saw one. Surely, Linus, you've
> overcome _much_ bigger problems than this at different times.
Linus can of course speak for himself but from my perspective it's just
a simple cost/benefit analysis. This one's just not worth any more toil.
Several extremely bright people have tackled the problem and eventually
concluded it's extremely hard to solve and generally not worth the
trouble. It's time to let go.
--Adam
^ permalink raw reply
* Re: [RFC/PATCH] IMQ port to 2.6
From: jamal @ 2004-01-26 3:09 UTC (permalink / raw)
To: Vladimir B. Savkin; +Cc: linux-kernel, netdev
In-Reply-To: <20040126001102.GA12303@usr.lcm.msu.ru>
On Sun, 2004-01-25 at 19:11, Vladimir B. Savkin wrote:
> On Sun, Jan 25, 2004 at 06:45:16PM -0500, jamal wrote:
[..]
>
> With typical internet traffic patterns, policing will drop many packets,
> and shaping will not.
What is typical internet traffic? I guess you mean TCP (thats what 90%
of the traffic is)
In that case, the effect of dropping or delaying on throughput is
similar. Studies i have seen indicate that throughput is directly
proportional to the square root of the drop probability
(drop is what you get when you police).
It is also influenced by the delay (which is what you introduce when you
shape). I have not seen anything in favor of shaping; i could be wrong
(so if you know of something or have experimented pass the data).
For detailed analysis at least fro RENO, this would be a good reference:
http://citeseer.nj.nec.com/padhye98modeling.html
>
> > OR
> > b) Why cant you achieve the same results by marking on ingress and
> > shaping on egress?
>
> Well, as I understand it, there's no "real" ingress and "real" egress.
There is essentially only egress.
> Look at this:
> Any forwarded packet
> 1) comes from one interface
> 2) receives some treatment (filtering, routing decision, maybe
> delaying if we shape, mangling etc.)
> and
> 3) goes away via some other interface
>
> step (1) is "ingress"
There is no ingress perse. Separation of ingress and egress is typically
a switch fabric or even a bus. So in this case, since you already
have crossed the bus you are in ingress teritory.
There is an ingress qdisc, but it is fake. The major value it adds
is to drop early when there is need to (no point in making forwarding
decision when you know you will drop the packet i.e no point in wasting
those processor cycles)- and therefore the ingress qdisc act as a
holder of filters.
> step (3) is "egress"
> qdiscs work at step (2), so all of them are intermediate in this sense
>
>
>
> Well, ok, if a qdisc receives a feedback from egress interface
> on when to dequeue a packet (when interface is ready to send),
> we can say that it is an egress qdisc.
>
Look at my explanation above.
> But in my case, PPP connections are really PPTP or PPPoE.
> Internal network bandwidth is not a premium, so all internal
> interfaces are always ready to send.
>
> So, I don't shape at ingress or at egress, I shape passing-through
> traffic.
>
The noun is not important. You crossed the bus already, you are in
processor land.
The value is being able to drop as early as possible when you need to.
If you are not dropping and desire only to delay the packets, then do it
at the proper egress device.
> > > htb class, so using qdisc on each ppp interface is out of
> > > question. It seems to me that IMQ is the only way to achieve my goals.
> >
> > By multiple clients i believe you mean you want to say "-i ppp+"?
> > We had a long discussion on this a while back (search netdev)
> > and i think it is a valid point for dynamic devices like ppp.
>
> Well, I don't really care whether those interfaces are dynamic or
> static. They could be multiple vlans, and nothing would
> change in marking or shaping. I use clients' IPs for marking,
> and routing table cares about interfaces.
>
Maybe i am misunderstanding what you are after.
couldnt you use -i ppp+ -j mark --set-mark x in the ingress/prerouting
and use the fwmark to shape on the egress?
Post your script examples.
> > We need to rethink how we do things. Theres a lot of valu in having per
> > device tables (scalability being one).
> > IMO, this alone does not justify the existence of IMQ.
>
> I just can't think of a better abstraction that would handle my case.
I think it is time we came with a single solution for how packets are
managed. Your needs should be met, the problem is we may be having too
many cooks creating the same meal.
cheers,
jamal
^ permalink raw reply
* Re: WP 5.1, graphical preview, in console
From: Justin Zygmont @ 2004-01-26 3:08 UTC (permalink / raw)
To: Rob Ristroph; +Cc: linux-msdos
In-Reply-To: <871xpncszj.fsf@rgristroph-austin.ath.cx>
did you set your $_console=1 and $_graphics=1 in dosemu.conf?
On 25 Jan 2004, Rob Ristroph wrote:
>
> Hi,
>
> I have been trying out dosemu 1.2. I have used previous
> versions of dosemu occasionally.
>
> I would like to run WordPerfect 5.1 in a console (with no X)
> and have all the Fkeys work (doing rawkeyboard seems to work)
> and be able to do the graphical print preview.
>
> In previous versions of dosemu, 1.0.2 I think, this would all
> work except that you had to be root. The graphical part would
> be messed up if you were a non root user.
>
> I have an ati rage video card. I installed the binary
> distribution. Right now I cannot get the graphics mode to
> work in the console, as either root or non-root. I have tried
> a number of different configuration settings. Has anyone else
> gotten graphics mode to work from the console, or do you all
> use it from in X windows ?
>
> --Rob
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
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.