Re: [HELP REQUESTED from the community] Was: Staging status of speakup
s to be 0-2. This seems to make no difference if using > espeak and the espeakup connector. I'm not sure even if espeakup > supports different tonalities. > > trigger_time > Don't know. > > voice > Gets or sets the voice used by the synthesizer if the synthesizer can > speak in more than one voice. The range for the soft driver is > 0-7. Note that while espeak supports multiple voices, this parameter > will not set the voice when the espeakup connector is used between > speakup and espeak. > > vol > Gets or sets the volume of the speech synthesizer. Range is 0-9, with > zero being the softest, and nine being the loudest. > > Additions, clarifications, and corrections are welcome and > appreciated. > > Greg > > > -- > web site: http://www.gregn.net > gpg public key: http://www.gregn.net/pubkey.asc > skype: gregn1 > (authorization required, add me to your contacts list first) > If we haven't been in touch before, e-mail me before adding me to your > contacts. > > -- > Free domains: http://www.eu.org/ or mail dns-mana...@eu.org > ___ > Speakup mailing list > spea...@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: [HELP REQUESTED from the community] Was: Staging status of speakup
I think the program is genmap, I have it in my init sequence, but I am not sure it does anything at this point. On Thu, 25 Jul 2019 00:04:07 -0400, Chris Brannon wrote: > > Gregory Nowak writes: > > > keymap > > I believe this is the currently active kernel keymap. I'm not sure of > > the format, probably what dumpkeys(1) and showkey(1) use. Echoing > > different values here should allow for remapping speakup's review > > commands besides remapping the keyboard as a whole. > > AFAIK the Speakup keymap is just for remapping keys to Speakup > functions. It's a binary format, not related to dumpkeys etc. You need > a special program to compile a textual keymap into something that can be > loaded into /sys/accessibility/speakup/keymap. I may have source for > that lying around here somewhere. This is "here there be dragons" > territory. I think the only specification of the format is in the > source code. > > -- Chris > ___ > Speakup mailing list > spea...@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: [PATCH] staging: speakup: refactor synths array to use a list
Maybe I can do it, I have a kernel with speakup, using 4.9.43. Will the patch fit there? On Mon, 11 Jun 2018 18:57:03 -0400, Samuel Thibault wrote: > > [1 ] > Hello, > > Samuel Thibault, le mer. 06 juin 2018 15:26:28 +0200, a ecrit: > > I'd also rather see it tested in the real wild before committing. Could > > somebody on the speakup mailing list test the patch? (which I have > > re-attached as a file for conveniency). > > Anybody up for testing please? > > If people want to see speakup get mainlined instead of staging, please > help. > > Samuel > [2 patch ] > --- > drivers/staging/speakup/spk_types.h | 2 ++ > drivers/staging/speakup/synth.c | 40 ++--- > 2 files changed, 15 insertions(+), 27 deletions(-) > > diff --git a/drivers/staging/speakup/spk_types.h > b/drivers/staging/speakup/spk_types.h > index 3e082dc3d45c..a2fc72c29894 100644 > --- a/drivers/staging/speakup/spk_types.h > +++ b/drivers/staging/speakup/spk_types.h > @@ -160,6 +160,8 @@ struct spk_io_ops { > }; > > struct spk_synth { > + struct list_head node; > + > const char *name; > const char *version; > const char *long_name; > diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c > index 7deeb7061018..25f259ee4ffc 100644 > --- a/drivers/staging/speakup/synth.c > +++ b/drivers/staging/speakup/synth.c > @@ -18,8 +18,7 @@ > #include "speakup.h" > #include "serialio.h" > > -#define MAXSYNTHS 16 /* Max number of synths in array. */ > -static struct spk_synth *synths[MAXSYNTHS + 1]; > +static LIST_HEAD(synths); > struct spk_synth *synth; > char spk_pitch_buff[32] = ""; > static int module_status; > @@ -355,9 +354,8 @@ struct var_t synth_time_vars[] = { > /* called by: speakup_init() */ > int synth_init(char *synth_name) > { > - int i; > int ret = 0; > - struct spk_synth *synth = NULL; > + struct spk_synth *tmp, *synth = NULL; > > if (!synth_name) > return 0; > @@ -371,9 +369,10 @@ int synth_init(char *synth_name) > > mutex_lock(_mutex); > /* First, check if we already have it loaded. */ > - for (i = 0; i < MAXSYNTHS && synths[i]; i++) > - if (strcmp(synths[i]->name, synth_name) == 0) > - synth = synths[i]; > + list_for_each_entry(tmp, , node) { > + if (strcmp(tmp->name, synth_name) == 0) > + synth = tmp; > + } > > /* If we got one, initialize it now. */ > if (synth) > @@ -448,29 +447,23 @@ void synth_release(void) > /* called by: all_driver_init() */ > int synth_add(struct spk_synth *in_synth) > { > - int i; > int status = 0; > + struct spk_synth *tmp; > > mutex_lock(_mutex); > - for (i = 0; i < MAXSYNTHS && synths[i]; i++) > - /* synth_remove() is responsible for rotating the array down */ > - if (in_synth == synths[i]) { > + > + list_for_each_entry(tmp, , node) { > + if (tmp == in_synth) { > mutex_unlock(_mutex); > return 0; > } > - if (i == MAXSYNTHS) { > - pr_warn("Error: attempting to add a synth past end of array\n"); > - mutex_unlock(_mutex); > - return -1; > } > > if (in_synth->startup) > status = do_synth_init(in_synth); > > - if (!status) { > - synths[i++] = in_synth; > - synths[i] = NULL; > - } > + if (!status) > + list_add_tail(_synth->node, ); > > mutex_unlock(_mutex); > return status; > @@ -479,17 +472,10 @@ EXPORT_SYMBOL_GPL(synth_add); > > void synth_remove(struct spk_synth *in_synth) > { > - int i; > - > mutex_lock(_mutex); > if (synth == in_synth) > synth_release(); > - for (i = 0; synths[i]; i++) { > - if (in_synth == synths[i]) > - break; > - } > - for ( ; synths[i]; i++) /* compress table */ > - synths[i] = synths[i + 1]; > + list_del(_synth->node); > module_status = 0; > mutex_unlock(_mutex); > } > -- > 2.17.1 > [3 ] > ___ > Speakup mailing list > spea...@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: [PATCH] staging: speakup: refactor synths array to use a list
Maybe I can do it, I have a kernel with speakup, using 4.9.43. Will the patch fit there? On Mon, 11 Jun 2018 18:57:03 -0400, Samuel Thibault wrote: > > [1 ] > Hello, > > Samuel Thibault, le mer. 06 juin 2018 15:26:28 +0200, a ecrit: > > I'd also rather see it tested in the real wild before committing. Could > > somebody on the speakup mailing list test the patch? (which I have > > re-attached as a file for conveniency). > > Anybody up for testing please? > > If people want to see speakup get mainlined instead of staging, please > help. > > Samuel > [2 patch ] > --- > drivers/staging/speakup/spk_types.h | 2 ++ > drivers/staging/speakup/synth.c | 40 ++--- > 2 files changed, 15 insertions(+), 27 deletions(-) > > diff --git a/drivers/staging/speakup/spk_types.h > b/drivers/staging/speakup/spk_types.h > index 3e082dc3d45c..a2fc72c29894 100644 > --- a/drivers/staging/speakup/spk_types.h > +++ b/drivers/staging/speakup/spk_types.h > @@ -160,6 +160,8 @@ struct spk_io_ops { > }; > > struct spk_synth { > + struct list_head node; > + > const char *name; > const char *version; > const char *long_name; > diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c > index 7deeb7061018..25f259ee4ffc 100644 > --- a/drivers/staging/speakup/synth.c > +++ b/drivers/staging/speakup/synth.c > @@ -18,8 +18,7 @@ > #include "speakup.h" > #include "serialio.h" > > -#define MAXSYNTHS 16 /* Max number of synths in array. */ > -static struct spk_synth *synths[MAXSYNTHS + 1]; > +static LIST_HEAD(synths); > struct spk_synth *synth; > char spk_pitch_buff[32] = ""; > static int module_status; > @@ -355,9 +354,8 @@ struct var_t synth_time_vars[] = { > /* called by: speakup_init() */ > int synth_init(char *synth_name) > { > - int i; > int ret = 0; > - struct spk_synth *synth = NULL; > + struct spk_synth *tmp, *synth = NULL; > > if (!synth_name) > return 0; > @@ -371,9 +369,10 @@ int synth_init(char *synth_name) > > mutex_lock(_mutex); > /* First, check if we already have it loaded. */ > - for (i = 0; i < MAXSYNTHS && synths[i]; i++) > - if (strcmp(synths[i]->name, synth_name) == 0) > - synth = synths[i]; > + list_for_each_entry(tmp, , node) { > + if (strcmp(tmp->name, synth_name) == 0) > + synth = tmp; > + } > > /* If we got one, initialize it now. */ > if (synth) > @@ -448,29 +447,23 @@ void synth_release(void) > /* called by: all_driver_init() */ > int synth_add(struct spk_synth *in_synth) > { > - int i; > int status = 0; > + struct spk_synth *tmp; > > mutex_lock(_mutex); > - for (i = 0; i < MAXSYNTHS && synths[i]; i++) > - /* synth_remove() is responsible for rotating the array down */ > - if (in_synth == synths[i]) { > + > + list_for_each_entry(tmp, , node) { > + if (tmp == in_synth) { > mutex_unlock(_mutex); > return 0; > } > - if (i == MAXSYNTHS) { > - pr_warn("Error: attempting to add a synth past end of array\n"); > - mutex_unlock(_mutex); > - return -1; > } > > if (in_synth->startup) > status = do_synth_init(in_synth); > > - if (!status) { > - synths[i++] = in_synth; > - synths[i] = NULL; > - } > + if (!status) > + list_add_tail(_synth->node, ); > > mutex_unlock(_mutex); > return status; > @@ -479,17 +472,10 @@ EXPORT_SYMBOL_GPL(synth_add); > > void synth_remove(struct spk_synth *in_synth) > { > - int i; > - > mutex_lock(_mutex); > if (synth == in_synth) > synth_release(); > - for (i = 0; synths[i]; i++) { > - if (in_synth == synths[i]) > - break; > - } > - for ( ; synths[i]; i++) /* compress table */ > - synths[i] = synths[i + 1]; > + list_del(_synth->node); > module_status = 0; > mutex_unlock(_mutex); > } > -- > 2.17.1 > [3 ] > ___ > Speakup mailing list > spea...@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: X not working with Radeon 9200 under 2.6.11
Yep, no fb drivers, but someone did point me in the direction of the x.org server and the crash went away using that server. These are unofficial Debian packages -- for more information look at http://www.nixnuts.net/files . on Monday 03/21/2005 Andrew Morton([EMAIL PROTECTED]) wrote > John covici <[EMAIL PROTECTED]> wrote: > > > > Hi. I Have a Radeon 9200c and ever since some time in the 2.6.9 > > series, I cannot get X to start using this card. It dies in such a > > way that there is no way to get the vga console out of that console > > and chvt from another terminal just hangs and xinit cannot be > > cancelled. > > John, it would be useful if you could test 2.6.12-rc1-mm1, which has a few > fixes in this area. > > Would it be correct to assume that you are not using either of the radeon > fbdev drivers? > > And are you using the kernel's DRI drivers? > > Thanks. > > > This is the lspci for the agp card. > > :01:00.0 VGA compatible controller: ATI Technologies Inc RV280 > > [Radeon 9200 SE] (rev 01) (prog-if 00 [VGA]) > > Subsystem: PC Partner Limited: Unknown device 7c26 > > Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16 > > Memory at e800 (32-bit, prefetchable) [size=128M] > > I/O ports at e000 [size=256] > > Memory at fbe0 (32-bit, non-prefetchable) [size=64K] > > Expansion ROM at fbd0 [disabled] [size=128K] > > Capabilities: [58] AGP version 3.0 > > Capabilities: [50] Power Management version 2 > > > > :01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon > > 9200 SE] (Secondary) (rev 01) > > Subsystem: PC Partner Limited: Unknown device 7c27 > > Flags: bus master, 66MHz, medium devsel, latency 64 > > Memory at f000 (32-bit, prefetchable) [size=128M] > > Memory at fbf0 (32-bit, non-prefetchable) [size=64K] > > Capabilities: [50] Power Management version 2 > > > > Any assistance would be appreciated. > > > > -- > > Your life is like a penny -- how are you going to spend it? > > > > John Covici > > [EMAIL PROTECTED] > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to [EMAIL PROTECTED] > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/ -- Your life is like a penny -- how are you going to spend it? John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: X not working with Radeon 9200 under 2.6.11
Yep, no fb drivers, but someone did point me in the direction of the x.org server and the crash went away using that server. These are unofficial Debian packages -- for more information look at http://www.nixnuts.net/files . on Monday 03/21/2005 Andrew Morton([EMAIL PROTECTED]) wrote John covici [EMAIL PROTECTED] wrote: Hi. I Have a Radeon 9200c and ever since some time in the 2.6.9 series, I cannot get X to start using this card. It dies in such a way that there is no way to get the vga console out of that console and chvt from another terminal just hangs and xinit cannot be cancelled. John, it would be useful if you could test 2.6.12-rc1-mm1, which has a few fixes in this area. Would it be correct to assume that you are not using either of the radeon fbdev drivers? And are you using the kernel's DRI drivers? Thanks. This is the lspci for the agp card. :01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01) (prog-if 00 [VGA]) Subsystem: PC Partner Limited: Unknown device 7c26 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16 Memory at e800 (32-bit, prefetchable) [size=128M] I/O ports at e000 [size=256] Memory at fbe0 (32-bit, non-prefetchable) [size=64K] Expansion ROM at fbd0 [disabled] [size=128K] Capabilities: [58] AGP version 3.0 Capabilities: [50] Power Management version 2 :01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 01) Subsystem: PC Partner Limited: Unknown device 7c27 Flags: bus master, 66MHz, medium devsel, latency 64 Memory at f000 (32-bit, prefetchable) [size=128M] Memory at fbf0 (32-bit, non-prefetchable) [size=64K] Capabilities: [50] Power Management version 2 Any assistance would be appreciated. -- Your life is like a penny -- how are you going to spend it? John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Your life is like a penny -- how are you going to spend it? John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
X not working with Radeon 9200 under 2.6.11
Hi. I Have a Radeon 9200c and ever since some time in the 2.6.9 series, I cannot get X to start using this card. It dies in such a way that there is no way to get the vga console out of that console and chvt from another terminal just hangs and xinit cannot be cancelled. This is the lspci for the agp card. :01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01) (prog-if 00 [VGA]) Subsystem: PC Partner Limited: Unknown device 7c26 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16 Memory at e800 (32-bit, prefetchable) [size=128M] I/O ports at e000 [size=256] Memory at fbe0 (32-bit, non-prefetchable) [size=64K] Expansion ROM at fbd0 [disabled] [size=128K] Capabilities: [58] AGP version 3.0 Capabilities: [50] Power Management version 2 :01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 01) Subsystem: PC Partner Limited: Unknown device 7c27 Flags: bus master, 66MHz, medium devsel, latency 64 Memory at f000 (32-bit, prefetchable) [size=128M] Memory at fbf0 (32-bit, non-prefetchable) [size=64K] Capabilities: [50] Power Management version 2 Any assistance would be appreciated. -- Your life is like a penny -- how are you going to spend it? John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
X not working with Radeon 9200 under 2.6.11
Hi. I Have a Radeon 9200c and ever since some time in the 2.6.9 series, I cannot get X to start using this card. It dies in such a way that there is no way to get the vga console out of that console and chvt from another terminal just hangs and xinit cannot be cancelled. This is the lspci for the agp card. :01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01) (prog-if 00 [VGA]) Subsystem: PC Partner Limited: Unknown device 7c26 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16 Memory at e800 (32-bit, prefetchable) [size=128M] I/O ports at e000 [size=256] Memory at fbe0 (32-bit, non-prefetchable) [size=64K] Expansion ROM at fbd0 [disabled] [size=128K] Capabilities: [58] AGP version 3.0 Capabilities: [50] Power Management version 2 :01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 01) Subsystem: PC Partner Limited: Unknown device 7c27 Flags: bus master, 66MHz, medium devsel, latency 64 Memory at f000 (32-bit, prefetchable) [size=128M] Memory at fbf0 (32-bit, non-prefetchable) [size=64K] Capabilities: [50] Power Management version 2 Any assistance would be appreciated. -- Your life is like a penny -- how are you going to spend it? John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.10 dies when X uses PCI radeon 9200 SE, binary search result
ore disabled > (==) RADEON(0): Silken mouse enabled > (II) RADEON(0): Using hardware cursor (scanline 1026) > (II) RADEON(0): Largest offscreen area available: 1280 x 7161 > (**) Option "dpms" > (**) RADEON(0): DPMS enabled > (WW) RADEON(0): Option "DynamicClocks" is not used > (II) RADEON(0): X context handle = 0x0001 > (II) RADEON(0): [drm] installed DRM signal handler > (II) RADEON(0): [DRI] installation complete > (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers > > > I hope this can be of help, > Helge Hafting > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Your life is like a penny -- how are you going to spend it? John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.10 dies when X tries to initialize PCI radeon 9200 SE
OK, I don't have a module called drm except a .a file in the library directory for X -- I have some radeon stuff but modprobe radeon debug=1 says invalid parameter and loads the module. Am I missing something? Thanks. on Sunday 01/16/2005 Jon Smirl([EMAIL PROTECTED]) wrote > On Sun, 16 Jan 2005 22:07:13 +1100, Dave Airlie <[EMAIL PROTECTED]> wrote: > > > you need to check the output from "modprobe drm debug=1" "modprobe > > > radeon" and see if drm is misidentifying the board as AGP. We don't > > > want to fix something if it isn't broken. > > > > > > have a look at bug 255 in fd.o bugzilla, this was what was wrong with > > the original code, I'd seriously think about putting this code into > > the radeon drm not the old stuff.. > > > > Dave. > > > > I'm fine with adding this code, but we still don't know if this is the > cause of his problem. The debug output can determine if this really is > the source of the problem or if it is somewhere else. > > > -- > Jon Smirl > [EMAIL PROTECTED] > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.10 dies when X tries to initialize PCI radeon 9200 SE
OK, I don't have a module called drm except a .a file in the library directory for X -- I have some radeon stuff but modprobe radeon debug=1 says invalid parameter and loads the module. Am I missing something? Thanks. on Sunday 01/16/2005 Jon Smirl([EMAIL PROTECTED]) wrote On Sun, 16 Jan 2005 22:07:13 +1100, Dave Airlie [EMAIL PROTECTED] wrote: you need to check the output from modprobe drm debug=1 modprobe radeon and see if drm is misidentifying the board as AGP. We don't want to fix something if it isn't broken. have a look at bug 255 in fd.o bugzilla, this was what was wrong with the original code, I'd seriously think about putting this code into the radeon drm not the old stuff.. Dave. I'm fine with adding this code, but we still don't know if this is the cause of his problem. The debug output can determine if this really is the source of the problem or if it is somewhere else. -- Jon Smirl [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
is there a way to export a fat32 file system using nfs?
Hi. I seem to remember that at one time in the 2.2 series I was able to to export fat32 file systems using nfs, but now it doesn't work anymore. If I remember correctly, I get "get: operation not permitted" when trying to export the directory in question. I am using 2.4.5. Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
is there a way to export a fat32 file system using nfs?
Hi. I seem to remember that at one time in the 2.2 series I was able to to export fat32 file systems using nfs, but now it doesn't work anymore. If I remember correctly, I get get: operation not permitted when trying to export the directory in question. I am using 2.4.5. Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
serial driver question
I have been wondering about the serial drivers shared irq configuration parameter. Will it allow two dumb serial ports which know nothing about sharing irq's to actually share the same irq, or does the actual hardware have to support some kind of irq sharing for this to work? I did try two ports on the same irq, but one of them isn't seem at all by Linux, so I am quite curious whether I am barking up the wrong line? Thanks. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
serial driver question
I have been wondering about the serial drivers shared irq configuration parameter. Will it allow two dumb serial ports which know nothing about sharing irq's to actually share the same irq, or does the actual hardware have to support some kind of irq sharing for this to work? I did try two ports on the same irq, but one of them isn't seem at all by Linux, so I am quite curious whether I am barking up the wrong line? Thanks. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: strange nfs behavior in 2.2.18 and 2.4.0-test12
On Thu, 21 Dec 2000, Andreas Dilger wrote: > John Covici writes: > > Here is my /etc/exports > > > > / ccs2(rw,no_root_squash) > > /usr ccs2(rw,no_root_squash) > > /usr/src ccs2(rw,no_root_squash) > > /home ccs2(rw,no_root_squash) > > /hard1 ccs2(rw,no_root_squash) > > /hard2 ccs2(rw,no_root_squash) > > /hard3 ccs2(rw,no_root_squash) > > /hard4 ccs2(rw,no_root_squash) > > /usr/bbs ccs2(rw,no_root_squash) > > According to your fstab, these are all separate devices, so they should > export OK. You trust this "ccs2" machine a lot, however... Exporting > root with no_root_squash is a big security hole. Yup, I do. > > > # /etc/fstab: static file system information. > > # > > # > > > /dev/hda2 / ext2defaults,errors=remount-ro 11 > > /dev/hdc2 noneswapsw 0 0 > > /dev/hdc4 noneswapsw 0 0 > > Having two swaps configured like this on the same disk is a net performance > loss. If anything, you should set one of them to have a lower priority > (via pri=), so that it will only be used if the first one is full. Thanks, I'll check it out. > > > /dev/hdb7 noneswapsw 0 0 > > proc/proc procdefaults0 0 > > /dev/fd0/floppy autodefaults,user,noauto0 0 > > /dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0 > > /dev/hdc3 /usrext2rw 1 2 > > /dev/hdb6 /usr/bbsext2rw 1 2 > > /dev/hda3 /usr/srcext2rw 1 2 > > /dev/hda4 /home ext2rw 1 3 > > > > and here are mounts executed out of /etc/rc.local > > > > mount -t vfat /dev/hdb1 /hard2 > > mount -t vfat /dev/hdb5 /hard4 > > mount -t vfat /dev/hdc1 /hard3 > > mount -t vfat /dev/hda1 /hard1 > > Out of curiosity, why not just put them into /etc/fstab? I tried this and I can't remember, but for somereason it didn't work. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: strange nfs behavior in 2.2.18 and 2.4.0-test12
Here is my /etc/exports / ccs2(rw,no_root_squash) /usr ccs2(rw,no_root_squash) /usr/src ccs2(rw,no_root_squash) /home ccs2(rw,no_root_squash) /hard1 ccs2(rw,no_root_squash) /hard2 ccs2(rw,no_root_squash) /hard3 ccs2(rw,no_root_squash) /hard4 ccs2(rw,no_root_squash) /usr/bbs ccs2(rw,no_root_squash) # Here is the fstab file. # /etc/fstab: static file system information. # # /dev/hda2 / ext2defaults,errors=remount-ro 1 1 /dev/hdc2 noneswapsw 0 0 /dev/hdc4 noneswapsw 0 0 /dev/hdb7 noneswapsw 0 0 proc/proc procdefaults0 0 /dev/fd0/floppy autodefaults,user,noauto0 0 /dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0 /dev/hdc3 /usr ext2 rw 1 2 /dev/hdb6 /usr/bbs ext2 rw 1 2 /dev/hda3 /usr/src ext2 rw 1 2 /dev/hda4 /home ext2 rw 1 3 and here are mounts executed out of /etc/rc.local mount -t vfat /dev/hdb1 /hard2 mount -t vfat /dev/hdb5 /hard4 mount -t vfat /dev/hdc1 /hard3 mount -t vfat /dev/hda1 /hard1 On Fri, 22 Dec 2000, Neil Brown wrote: > On Thursday December 21, [EMAIL PROTECTED] wrote: > > On Fri, 22 Dec 2000, Neil Brown wrote: > > > > > On Thursday December 21, [EMAIL PROTECTED] wrote: > > > > Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 > > > > kernels. > > > > > > > > What is happening is that when the machine boots up and exports the > > > > directories for nfs, it complains that > > > > > > > > ccs2:/ invalid argument . > > > > > > > > The exports entry is > > > > > > > > / ccs2(rw,no_root_squash) > > > > > > Is there another export entry that exports another part of the same > > > file system to the same client? If so, that is your problem. > > > > Well I do want to export the mount points under the file system, for > > instance I have a partition mounted as /usr and so I have an entry > > such as > > /usr ccs2(rw,no_root_squash) > > > > in my exports list. Is there any other way to get this behaviour to > > work? > > Sounds like what you are doing is OK. > If you could send complete /etc/fstab and /etc/exports, that might > help to isolate the problem. > > NeilBrown > -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: strange nfs behavior in 2.2.18 and 2.4.0-test12
On Fri, 22 Dec 2000, Neil Brown wrote: > On Thursday December 21, [EMAIL PROTECTED] wrote: > > Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 > > kernels. > > > > What is happening is that when the machine boots up and exports the > > directories for nfs, it complains that > > > > ccs2:/ invalid argument . > > > > The exports entry is > > > > / ccs2(rw,no_root_squash) > > Is there another export entry that exports another part of the same > file system to the same client? If so, that is your problem. Well I do want to export the mount points under the file system, for instance I have a partition mounted as /usr and so I have an entry such as /usr ccs2(rw,no_root_squash) in my exports list. Is there any other way to get this behaviour to work? > You cannot export two different directories on the same filesystem to > the same client if one is an ancestor of the other (because exporting > a directory is really exporting the directory and all descendants on > that filesystem, and so exporting a directory and a subdirectory is > effectively exporting the subdirectory twice with potentially > different flags). > > NeilBrown > > > > > Now in Kernel 2.2.18, if I stop and restart the nfs daemons, all is > > OK, the invalid argument goes away, but in 2.4.0 I cannot get this to > > work at all and so I cannot mount nfs from a client on the ccs2 box. > > I am using the utilities 0.2.1-4 from the Debian distribution if that > > makes any difference. I did an strace once on exportfs and it was > > having trouble with the call to nfsservctl which returns invalid argument. > > > > > > Any assistance would be appreciated. > > > > -- > > John Covici > > [EMAIL PROTECTED] > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to [EMAIL PROTECTED] > > Please read the FAQ at http://www.tux.org/lkml/ > -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
2.4.0 kernels and vpn
Hi. Is there a way to support vpn in the 2.4.0 kernels like we had with the patch for the 2.2.x kernels? Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
strange nfs behavior in 2.2.18 and 2.4.0-test12
Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 kernels. What is happening is that when the machine boots up and exports the directories for nfs, it complains that ccs2:/ invalid argument . The exports entry is / ccs2(rw,no_root_squash) Now in Kernel 2.2.18, if I stop and restart the nfs daemons, all is OK, the invalid argument goes away, but in 2.4.0 I cannot get this to work at all and so I cannot mount nfs from a client on the ccs2 box. I am using the utilities 0.2.1-4 from the Debian distribution if that makes any difference. I did an strace once on exportfs and it was having trouble with the call to nfsservctl which returns invalid argument. Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
strange nfs behavior in 2.2.18 and 2.4.0-test12
Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 kernels. What is happening is that when the machine boots up and exports the directories for nfs, it complains that ccs2:/ invalid argument . The exports entry is / ccs2(rw,no_root_squash) Now in Kernel 2.2.18, if I stop and restart the nfs daemons, all is OK, the invalid argument goes away, but in 2.4.0 I cannot get this to work at all and so I cannot mount nfs from a client on the ccs2 box. I am using the utilities 0.2.1-4 from the Debian distribution if that makes any difference. I did an strace once on exportfs and it was having trouble with the call to nfsservctl which returns invalid argument. Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
2.4.0 kernels and vpn
Hi. Is there a way to support vpn in the 2.4.0 kernels like we had with the patch for the 2.2.x kernels? Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: strange nfs behavior in 2.2.18 and 2.4.0-test12
On Fri, 22 Dec 2000, Neil Brown wrote: On Thursday December 21, [EMAIL PROTECTED] wrote: Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 kernels. What is happening is that when the machine boots up and exports the directories for nfs, it complains that ccs2:/ invalid argument . The exports entry is / ccs2(rw,no_root_squash) Is there another export entry that exports another part of the same file system to the same client? If so, that is your problem. Well I do want to export the mount points under the file system, for instance I have a partition mounted as /usr and so I have an entry such as /usr ccs2(rw,no_root_squash) in my exports list. Is there any other way to get this behaviour to work? You cannot export two different directories on the same filesystem to the same client if one is an ancestor of the other (because exporting a directory is really exporting the directory and all descendants on that filesystem, and so exporting a directory and a subdirectory is effectively exporting the subdirectory twice with potentially different flags). NeilBrown Now in Kernel 2.2.18, if I stop and restart the nfs daemons, all is OK, the invalid argument goes away, but in 2.4.0 I cannot get this to work at all and so I cannot mount nfs from a client on the ccs2 box. I am using the utilities 0.2.1-4 from the Debian distribution if that makes any difference. I did an strace once on exportfs and it was having trouble with the call to nfsservctl which returns invalid argument. Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/ -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: strange nfs behavior in 2.2.18 and 2.4.0-test12
Here is my /etc/exports / ccs2(rw,no_root_squash) /usr ccs2(rw,no_root_squash) /usr/src ccs2(rw,no_root_squash) /home ccs2(rw,no_root_squash) /hard1 ccs2(rw,no_root_squash) /hard2 ccs2(rw,no_root_squash) /hard3 ccs2(rw,no_root_squash) /hard4 ccs2(rw,no_root_squash) /usr/bbs ccs2(rw,no_root_squash) # Here is the fstab file. # /etc/fstab: static file system information. # # file system mount point type options dump pass /dev/hda2 / ext2defaults,errors=remount-ro 1 1 /dev/hdc2 noneswapsw 0 0 /dev/hdc4 noneswapsw 0 0 /dev/hdb7 noneswapsw 0 0 proc/proc procdefaults0 0 /dev/fd0/floppy autodefaults,user,noauto0 0 /dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0 /dev/hdc3 /usr ext2 rw 1 2 /dev/hdb6 /usr/bbs ext2 rw 1 2 /dev/hda3 /usr/src ext2 rw 1 2 /dev/hda4 /home ext2 rw 1 3 and here are mounts executed out of /etc/rc.local mount -t vfat /dev/hdb1 /hard2 mount -t vfat /dev/hdb5 /hard4 mount -t vfat /dev/hdc1 /hard3 mount -t vfat /dev/hda1 /hard1 On Fri, 22 Dec 2000, Neil Brown wrote: On Thursday December 21, [EMAIL PROTECTED] wrote: On Fri, 22 Dec 2000, Neil Brown wrote: On Thursday December 21, [EMAIL PROTECTED] wrote: Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 kernels. What is happening is that when the machine boots up and exports the directories for nfs, it complains that ccs2:/ invalid argument . The exports entry is / ccs2(rw,no_root_squash) Is there another export entry that exports another part of the same file system to the same client? If so, that is your problem. Well I do want to export the mount points under the file system, for instance I have a partition mounted as /usr and so I have an entry such as /usr ccs2(rw,no_root_squash) in my exports list. Is there any other way to get this behaviour to work? Sounds like what you are doing is OK. If you could send complete /etc/fstab and /etc/exports, that might help to isolate the problem. NeilBrown -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: strange nfs behavior in 2.2.18 and 2.4.0-test12
On Thu, 21 Dec 2000, Andreas Dilger wrote: John Covici writes: Here is my /etc/exports / ccs2(rw,no_root_squash) /usr ccs2(rw,no_root_squash) /usr/src ccs2(rw,no_root_squash) /home ccs2(rw,no_root_squash) /hard1 ccs2(rw,no_root_squash) /hard2 ccs2(rw,no_root_squash) /hard3 ccs2(rw,no_root_squash) /hard4 ccs2(rw,no_root_squash) /usr/bbs ccs2(rw,no_root_squash) According to your fstab, these are all separate devices, so they should export OK. You trust this "ccs2" machine a lot, however... Exporting root with no_root_squash is a big security hole. Yup, I do. # /etc/fstab: static file system information. # # file system mount point type options dump pass /dev/hda2 / ext2defaults,errors=remount-ro 11 /dev/hdc2 noneswapsw 0 0 /dev/hdc4 noneswapsw 0 0 Having two swaps configured like this on the same disk is a net performance loss. If anything, you should set one of them to have a lower priority (via pri=), so that it will only be used if the first one is full. Thanks, I'll check it out. /dev/hdb7 noneswapsw 0 0 proc/proc procdefaults0 0 /dev/fd0/floppy autodefaults,user,noauto0 0 /dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0 /dev/hdc3 /usrext2rw 1 2 /dev/hdb6 /usr/bbsext2rw 1 2 /dev/hda3 /usr/srcext2rw 1 2 /dev/hda4 /home ext2rw 1 3 and here are mounts executed out of /etc/rc.local mount -t vfat /dev/hdb1 /hard2 mount -t vfat /dev/hdb5 /hard4 mount -t vfat /dev/hdc1 /hard3 mount -t vfat /dev/hda1 /hard1 Out of curiosity, why not just put them into /etc/fstab? I tried this and I can't remember, but for somereason it didn't work. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
2.4.0 test12 ipchains doesn't work as module
I configured 2.4.0 test12 to use the ipchains compatability option as a module and I did a modprobe on all the other modules in that section of such as iptable_filter, etc. When I tried to do the modprobe on ip_nf_compat_ipchains (if I have the name correct) it said device or resource busy. When I built it into the kernel, this problem went away. Do I need to do those modprobes as I have done in 2.2? Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
2.4.0 test12 ipchains doesn't work as module
I configured 2.4.0 test12 to use the ipchains compatability option as a module and I did a modprobe on all the other modules in that section of such as iptable_filter, etc. When I tried to do the modprobe on ip_nf_compat_ipchains (if I have the name correct) it said device or resource busy. When I built it into the kernel, this problem went away. Do I need to do those modprobes as I have done in 2.2? Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: 8139too problem in 2.2.18
On Sat, 16 Dec 2000, Arnaldo Carvalho de Melo wrote: Thanks much -- do I have to fix the 2.4.0-test12 aswell as I am testing with that kernel? -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
8139too problem in 2.2.18
Hi. I have a RealTech 8139 Ethernet card and I am using kernel 2.2.18. I tried to use the new driver 8139too as a module, but when doing an insmod or modprobe on the module I got "symbol forparameter debug not found". There was nothing obvious in the module source, so any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
8139too problem in 2.2.18
Hi. I have a RealTech 8139 Ethernet card and I am using kernel 2.2.18. I tried to use the new driver 8139too as a module, but when doing an insmod or modprobe on the module I got "symbol forparameter debug not found". There was nothing obvious in the module source, so any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: 8139too problem in 2.2.18
On Sat, 16 Dec 2000, Arnaldo Carvalho de Melo wrote: Thanks much -- do I have to fix the 2.4.0-test12 aswell as I am testing with that kernel? -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
unresolved symbols when building nfsd as a module in 2.2.17
-- John Covici [EMAIL PROTECTED] Hi. I am using kernel 2.2.17 and I put nfsd support and emulate sun nfs in my config by using makemenuconfig. It compiled fine (using the Redhat hack of kgcc, it didn't work at all using their regular gcc) and it booted OK, but it gave me unresolved symbols when it did its depmod -a when it boots up. The symbol is do_nfsservctl. When I built it into the kernel I didn't get any linker problems -- I wonder if there is a make file problem here? I am using a Redhat 7.0 system. Any assistance would be appreciated. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/