Re: [SLUG] samba 3.0?
sounds excellent I will set it up for my 20 users or so and see how it goes :) fingers crossed On Thursday, October 30, 2003, at 04:48 PM, Jeff Waugh wrote: quote who=DE LUCA Ben Any one want to describe any hellish issues with it? I want to use it as an alternative method for accessing my server, I run samba2 on a different machine for (99%) of my users. But AD intergration is a holey grail! How unstable is it? Big name vendors have been shipping 2.99 versions of it for quite some time now. It's way stable, definitely not .0 quality. :-) - Jeff -- linux.conf.au 2004: Adelaide, Australia http://lca2004.linux.org.au/ Interplanetary Pants -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] UM-1 on mandrake
Has anyone tried to configure the Roland/Edirol UM-1 USB midi device on Mandrake?? Phill O'Flynn Muse-Tech Phone:4782 6832 Fax: 4782 6835 email: [EMAIL PROTECTED] Web: www.muse-tech.com.au --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003 image001.gif-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] samba 3.0?
I am not running Samba3 in an AD environment. But I have configured it using ldap and it is the domain controller for a couple of XP machines. I believe in the coming versions of Samba3 will allow you to sign up w2k and new machines without the need for the signorseal reg hack. So far you still need it. I know that at my x-employer samba3 is thriving in that environment. Any one want to describe any hellish issues with it? I want to use it as an alternative method for accessing my server, I run samba2 on a different machine for (99%) of my users. But AD intergration is a holey grail! How unstable is it? -- Regards, Kevin Saenz Spinaweb I.T consultants Ph: 02 4620 5130 Fax: 02 4625 9243 Mobile: 0418455661 Web: http://www.spinaweb.com.au -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Desktop and Panel Icons Kangarred
I kicked the power lead out of my RH9 development box yesterday and since then the desktop and panel icons on the gnome desktop are broken.. No panel icons and the system's desktop icons are replaced with blank page icon.. Anyone seen this before and has a remedy? -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Mailing list rule changes
The following are my opinions, if your opinions differ then let us know :-) On Thu, 2003-10-30 at 13:43, Mary Gardiner wrote: On Thu, Oct 30, 2003, Jan Schmidt wrote: a) Leaving it alone. No moderation, users that are not subscribed can post. We have a spam filter but it only works most of the time, no guarantee. b) Moving to a moderated list. I think this means we allow subscribed members through but people who have not subscribed are subject to a visual check. This is subject to at least 3 volunteers able to perform this task 7 days a week. Does anyone actually want a FULLY moderated list? I wish for it sometimes but generally we are not flaming others except with tongue firmly in cheek. c) Changing it to a members only list. Only those subscribed and correctly responded to the subscribe confirmation may post to the list. All other posts are discarded. Note that this includes posts by individuals from work when their normal subscription is from home. As I understand it is possible to subscribe as post only. d) Changing it to a financial members only list. Only financial members may post on the list. Note that this is answers as well as questions. There are not many financial members of SLUG. -- Thanks KenF OpenOffice.org developer -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Mailing list rule changes
quote who=Ken Foskey c) Changing it to a members only list. Only those subscribed and correctly responded to the subscribe confirmation may post to the list. All other posts are discarded. Probably not - this would most likely be 'all other posts are moderated'. Note that this includes posts by individuals from work when their normal subscription is from home. As I understand it is possible to subscribe as post only. But backwards, 'nomail'. ;-) - Jeff -- Come to gnome.conf.au 2004! http://www.gnome.org/~jdub/2004/gnome.conf.au/ Consensus is whatever the developers remember or agree with. - Paul Vixie, Open Sources -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] slow gnome-terminal
When I upgraded to Gnome 2.4 the gnome-terminal slowed down. The draw of the screen is now so slow it is not funny. Has anyone else noticed this? -- Thanks KenF OpenOffice.org developer -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Postfix on Mandrake
Hi all, Can anyone tell me if postfix for mandrake is built with pcre or regexp? it seems I can't block certain headers, and get the following error, unsupported dictionary type: header_checks=pcre Maybe I am answering the question but from sources it seems that postfix was not configured using pcre or regexp. -- Regards, Kevin Saenz Spinaweb I.T consultants Ph: 02 4620 5130 Fax: 02 4625 9243 Mobile: 0418455661 Web: http://www.spinaweb.com.au -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Desktop and Panel Icons Kangarred
Paul Forrester wrote: I kicked the power lead out of my RH9 development box yesterday and since then the desktop and panel icons on the gnome desktop are broken.. No panel icons and the system's desktop icons are replaced with blank page icon.. Anyone seen this before and has a remedy? I've seen this with Gnome 1.0 before. I couldn't be bothered fiddling around so I just wiped out my .gnome and .gnome-session directories. Of course, this reset my preferences and I had to start again though. C'est la vie I suppose if you had the inclination you might try and fiddle around with the gnome dotfiles themelves by taking deltas between a working configuration and your current non-working one. Also, have you checked in /lost+found to check whether your original (maybe non-corrupted dotfiles are available there)? Binh. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] slow gnome-terminal
quote who=Ken Foskey When I upgraded to Gnome 2.4 the gnome-terminal slowed down. The draw of the screen is now so slow it is not funny. Has anyone else noticed this? What did you upgrade from? Since 2.2 we've been using libvte, which is a new (and more readily maintainable) terminal emulator library than libzvt, but it hasn't had a long enough development life to have much time under the optimisation microscope. It was more important to have it working. ;-) If you are building software, I recommend doing it in screen(1). :-| - Jeff -- Come to gnome.conf.au 2004! http://www.gnome.org/~jdub/2004/gnome.conf.au/ People keep asking me why we aren't married, and he says, 'Every time I am about to ask you, you do something annoying'. - Kate Beckinsale -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] slow gnome-terminal
On Thu, 2003-10-30 at 23:29, Jeff Waugh wrote: quote who=Ken Foskey When I upgraded to Gnome 2.4 the gnome-terminal slowed down. The draw of the screen is now so slow it is not funny. Has anyone else noticed this? What did you upgrade from? Since 2.2 we've been using libvte, which is a new (and more readily maintainable) terminal emulator library than libzvt, but it hasn't had a long enough development life to have much time under the optimisation microscope. It was more important to have it working. ;-) Under debian unstable which I constantly upgrade. The gnome-terminal redraw (not function, just drawing) slowed to a crawl. It happened at the time the gnome 2.4 logo appeared about 1 week ago. To give a comparison, I started gnome-terminal, then Konsole, konsole was up showing a bash prompt in less than 50% of the time. -- Thanks KenF OpenOffice.org developer -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] slow gnome-terminal
quote who=Ken Foskey Under debian unstable which I constantly upgrade. The gnome-terminal redraw (not function, just drawing) slowed to a crawl. It happened at the time the gnome 2.4 logo appeared about 1 week ago. Okay, that would have been the change from 0.10 to 0.11 - odd, 0.11 should be faster. To give a comparison, I started gnome-terminal, then Konsole, konsole was up showing a bash prompt in less than 50% of the time. So, that's initial startup. Does the same happen when opening terminal after terminal? (It should be using the factory instead of starting up new processes.) Are you experiencing slow performance with lots of rendering going on? - Jeff -- Come to gnome.conf.au 2004! http://www.gnome.org/~jdub/2004/gnome.conf.au/ One World, one Web, one Browser. - Microsoft promotion Ein Volk, ein Reich, ein Fuhrer. - Adolf Hitler -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] slow gnome-terminal
On Thu, 2003-10-30 at 23:43, Jeff Waugh wrote: quote who=Ken Foskey Under debian unstable which I constantly upgrade. The gnome-terminal redraw (not function, just drawing) slowed to a crawl. It happened at the time the gnome 2.4 logo appeared about 1 week ago. Okay, that would have been the change from 0.10 to 0.11 - odd, 0.11 should be faster. To give a comparison, I started gnome-terminal, then Konsole, konsole was up showing a bash prompt in less than 50% of the time. So, that's initial startup. Does the same happen when opening terminal after terminal? (It should be using the factory instead of starting up new processes.) Are you experiencing slow performance with lots of rendering going on? It is slow all the time. When I drag it is slow to revitalise. When I issue a command like tabtab it does not show me results for a while. Is there a way to wipe out settings in case that is an issue? perhaps a poor choice of fonts (not that it should make that much difference. -- Thanks KenF OpenOffice.org developer -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] ide cd-writer
hi all, I have here a reco mp70-40a 4x ide cd-writer. I'm attempting to run it on debian woody. how does one set up scsi emulation for this device? any help would be greatly appreciated. thanks in advance. btw. how should I enter in the information in /etc/fstab? -- Shaun Oliver Becareful of the toes u step on today, they maybe connected to the ass you have to kiss tomorrow! EMAIL: [EMAIL PROTECTED] ICQ: 76958435 YAHOO: blindman01_2000 MSN: [EMAIL PROTECTED] AIM: captain nemo 200 IRC: irc.awesomechat.net: IRCNICK: blindman CHANNELS: #awesomeradio #mircpopup-magic #linux #help #ourworld #audiofile #mauisun -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ide cd-writer
This one time, at band camp, Shaun Oliver wrote: hi all, I have here a reco mp70-40a 4x ide cd-writer. I'm attempting to run it on debian woody. how does one set up scsi emulation for this device? any help would be greatly appreciated. thanks in advance. btw. how should I enter in the information in /etc/fstab? You need SCSI configured, and SCSI CD support, then you can choose the IDE-SCSI driver. I think you need to specify something like append hdc=ide-scsi to your lilo.conf or grub menu.lst to tell the kernel that your hdc device is not to be touched by the ide-cd driver, and instead let ide-scsi take care of it. Once that's done, you can use /dev/scd0 as your cdrom device. -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ide cd-writer
On Thu, 2003-10-30 at 05:57, Shaun Oliver wrote: hi all, I have here a reco mp70-40a 4x ide cd-writer. I'm attempting to run it on debian woody. how does one set up scsi emulation for this device? any help would be greatly appreciated. thanks in advance. btw. how should I enter in the information in /etc/fstab? Aside from /proc/bus/usb I don't have anything in fstab for my burner, but mine's attached via USB, so it isn't always there. In lilo, I have: append=hdc=ide-scsi hdd=ide-scsi hdc is the on-board ide CD ROM, hdd is the external ide-cdrw-in-a-USB-enclosure. The source needs to be scsi-emulated too, or some of the burning programs won't do CD to CD copies. ganesha:/etc# cat modules # /etc/modules: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a #, and everything on the line after them are ignored. usb-uhci input usbkbd keybdev nvram ppdev lp agpgart joydev mousedev eepro100 ppp_async irport irtty ide-scsi cs46xx usb-storage visor scanner apm I haven't worked out permissions so anyone can burn. I start eroaster from an su'ed command prompt. HTH, Bret -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Re: [chat] Advice for someone moving to Sydney
On Wed, 2003-10-29 at 23:49, Matthew Palmer wrote: On Wed, Oct 29, 2003 at 09:54:34PM -0800, Bret Comstock Waldow wrote: In Sydney? Bwahahaha! Anywhere even vaguely cheap is going to either be scum central or halfway to Adelaide. Even here in Wollongong (90 minutes by train from the CBD) it's getting expensive, and anything ground-level has a walk right in, steal it all sign on it. I was afraid of something like this. Sydney has the most IT jobs, and I've been working in Software QA, Automated Testing, Java Whitebox, etc., so it seemed the best place to get a start. Certainly it's the place to be for IT jobs (or Melbourne, but it's similarly priced), but it's not going to be cheap. One option might be to see if there are any sluggers with a spare room, at least for the shorter term. Might want to post to the main list for that. Ok. Here goes... Quiet IT worker arriving in Oz the 11th of November from the US looking to settle needs short term accomodation (a month?) to get my feet on the ground and find work. I've got clothes, a bicycle, and a laptop setup. I'd need/want an Internet connection and phone access for job hunting. I've got my work permission. I can pay rent, food, phone, etc., but want to limit it until I've got income, so I'm flexible about accomodation. Aussies I've stayed with before told me I'm a good houseguest. I'm male, 45, don't smoke, only drink a bit. I'm willing to help with house chores and some heavier jobs if you've got them - last year I helped a neighbor renovate his house and I'm helping the friend I'm staying with now with hers. If you've got a room to spare, or a friend with one I could use while I'm finding work, please let me know. Thanks in advance, Bret -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Weekly Contests - and - 5 will win $50
Title: Weekly Contests - and - 5 will win $50 Call toll free 1-866-821-9996 to stay with us! Five who click on the "Calendar of Room Rates" will win a $50 Credit Certificate for Peppermill Reno. .See Room Rates Calendar. We hope that YOU will come and visit us soon! Have a Great Day, Pat Flynn Peppermill Reno Hotel Casino email: [EMAIL PROTECTED] voice: (800) 648-6992 web: http://www.PeppermillReno.com Forward email This email was sent to [EMAIL PROTECTED], by Peppermill Reno Hotel Casino. Update your profile |Instant removal with SafeUnsubscribe | Privacy Policy.Powered by -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Mailing list rule changes
On Thu, 2003-10-30 at 21:43, Ken Foskey wrote: The following are my opinions, if your opinions differ then let us know :-) On Thu, 2003-10-30 at 13:43, Mary Gardiner wrote: On Thu, Oct 30, 2003, Jan Schmidt wrote: a) Leaving it alone. No moderation, users that are not subscribed can post. We have a spam filter but it only works most of the time, no guarantee. b) Moving to a moderated list. I think this means we allow subscribed members through but people who have not subscribed are subject to a visual check. This is subject to at least 3 volunteers able to perform this task 7 days a week. Does anyone actually want a FULLY moderated list? I wish for it sometimes but generally we are not flaming others except with tongue firmly in cheek. Spammers these days forge source addresses - restricting who joins will have zip impact on spam - and the reason for the vote is to address the 'spam problem'. I have always understood moderated list to mean all messages are reviewed. Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Re: Mailing List Changes: the definitive answers
On Thu, Oct 30, 2003, Mary Gardiner wrote: On Thu, Oct 30, 2003, Jan Schmidt wrote: It has been pointed out that the actual motion to be voted on at tomorrow's meeting is: a) Leaving it alone. b) Moving to a moderated list. c) Changing it to a members only list. d) Changing it to a financial members only list. Since Ken proposed the vote, let's take his list of interpretations at http://lists.slug.org.au/archives/slug/2003/10/msg00613.html as definitive. If you think there are other alternatives, then perhaps amend the motion? This is all getting a bit formal. So, the final interpretation is: a) Leaving it alone b) Moving to a moderated list. Non-subscriber posts will be moderated. Subscriber posts will be allowed through. Jan has noted that this option requires three willing moderators. c) Changing it to a members only list. Non-subscriber posts will be discarded. Subscriber posts will be allowed through. d) Changing it to a financial members only list. Only financial members may post to the list. -Mary -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Re: Mailing List Changes: the definitive answers
On Fri, Oct 31, 2003, Mary Gardiner wrote: b) Moving to a moderated list. Non-subscriber posts will be moderated. Subscriber posts will be allowed through. Jan has noted that this option requires three willing moderators. Incidently, we have one willing moderator, and on this interpretation, I am willing to be the second. (I wouldn't want to moderate a FULLY moderated list, but am willing to moderate non-subscriber posts.) -Mary -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Mailing list rule changes
On Fri, 31 Oct 2003, Robert Collins wrote: On Thu, 2003-10-30 at 21:43, Ken Foskey wrote: b) Moving to a moderated list. I think this means we allow subscribed members through but people who have not subscribed are subject to a visual check. This is subject to at least 3 volunteers able to perform this task 7 days a week. Does anyone actually want a FULLY moderated list? I wish for it sometimes but generally we are not flaming others except with tongue firmly in cheek. Spammers these days forge source addresses - restricting who joins will have zip impact on spam - and the reason for the vote is to address the 'spam problem'. I have always understood moderated list to mean all messages are reviewed. I'll be voting no to a *fully* moderated list. I agree that spammers almost always forge email addresses but I disagree that limiting to 'validated subscribers' will have zero impact. The spams that do get through tend to be from people not on the list. Therefore I will be voting yes to a moderated list. -- ---GRiP--- Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber, BMX rider, Walker, Raver rave music lover, Big kid that refuses grow up. I'd make a good family pet, take me home today! Do people actually read these things? -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Re: Mailing List Changes: the definitive answers
On Fri, Oct 31, 2003 at 09:43:20AM +1100, Mary Gardiner wrote: On Fri, Oct 31, 2003, Mary Gardiner wrote: b) Moving to a moderated list. Non-subscriber posts will be moderated. Subscriber posts will be allowed through. Jan has noted that this option requires three willing moderators. Incidently, we have one willing moderator, and on this interpretation, I am willing to be the second. (I wouldn't want to moderate a FULLY moderated list, but am willing to moderate non-subscriber posts.) I three moderators is sufficient, but more would be better, the number of moderators should not be limited to three, I can't see a problem with more, but I haven't thought about it for long. As long as moderators don't get the Someone else will deal with it mentality. cheers, -- Woody -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] slow gnome-terminal
On Thu, 2003-10-30 at 22:29, Ken Foskey wrote: When I upgraded to Gnome 2.4 the gnome-terminal slowed down. The draw of the screen is now so slow it is not funny. Has anyone else noticed this? Actually I had the exact opposite experience.. upgrading from gnome 2.2 to 2.4 resulted in gnome-terminal running noticeably faster (which pleased me a lot :) -- Thanks KenF OpenOffice.org developer -- Regards, Tony Sceats Systems Engineer Bulletproof Networks ph: +61 (0) 2 9663 9000 fax: +61 (0) 2 9662 4744 http://www.bulletproof.it/ This e-mail and any attachments are confidential and may be legally privileged. Only the intended recipient may access or use it and no confidentiality or privilege is waived or lost by mistaken transmission. If you are not the intended recipient you must not copy or disclose this email's contents to any person and you must delete it and notify us immediately. Bulletproof Networks uses virus scanning software but excludes all liability for viruses or similar in any attachment as well as for any error or incompleteness in the contents of this e-mail. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] delete crashes ...
hi All, I have a multithreaded c/c++ app containing a simple (self-developed) queue. 3 operations -'insert(..)', 'retrieve()' 'length()'. As part of 'retrieve' a call to 'delete' is made to remove the head of the queue. Only 2 threads ever use this queue - strictly one for inserting and another for retrieving ( and yes access is mutex protected on all 3 operations ). Although very _infrequent_, the problem is that the call to delete in retrieve causes segmentation violation. It is a real nuisance as one may run the app many times without fail but on some occassions it fails. Has anyone encountered/resolved simliar problems in anyother app ? Could this issue be the result of word alignment ? I suspect a memory corruption - but I cannot seem to figure out when/where/how it could happen. One characteristic of the app is that this queue is hammered quite intensively - both inserts and retrieves. Any hints much appreciated. Thanks in advance. Regards, Rajnish -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] delete crashes ...
On Fri Oct 31, 2003 at 13:05:19 +1100, Tiwari, Rajnish wrote: hi All, I have a multithreaded c/c++ app containing a simple (self-developed) queue. 3 operations -'insert(..)', 'retrieve()' 'length()'. As part of 'retrieve' a call to 'delete' is made to remove the head of the queue. Only 2 threads ever use this queue - strictly one for inserting and another for retrieving ( and yes access is mutex protected on all 3 operations ). Although very _infrequent_, the problem is that the call to delete in retrieve causes segmentation violation. It is a real nuisance as one may run the app many times without fail but on some occassions it fails. Has anyone encountered/resolved simliar problems in anyother app ? Could this issue be the result of word alignment ? I suspect a memory corruption - but I cannot seem to figure out when/where/how it could happen. One characteristic of the app is that this queue is hammered quite intensively - both inserts and retrieves. Any hints much appreciated. Thanks in advance. You have probably corrupted the heap by not having two threads updated the data structure at the same time. Do you have locks to ensure the threads aren't trashing stuff? Benno -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] delete crashes ...
Sounds more like a race condition, maybe link with efence to see does someone mess up some memory without the lock or something... Other than that the best way I've discovered to find race conditions is to be Andrea Arcangeli (the kernel developer - some of the races he used to find were scary) and failing that ability, examine the locking and make sure you are doing what you actually want tod o.. Dave. On Fri, 31 Oct 2003, Tiwari, Rajnish wrote: hi All, I have a multithreaded c/c++ app containing a simple (self-developed) queue. 3 operations -'insert(..)', 'retrieve()' 'length()'. As part of 'retrieve' a call to 'delete' is made to remove the head of the queue. Only 2 threads ever use this queue - strictly one for inserting and another for retrieving ( and yes access is mutex protected on all 3 operations ). Although very _infrequent_, the problem is that the call to delete in retrieve causes segmentation violation. It is a real nuisance as one may run the app many times without fail but on some occassions it fails. Has anyone encountered/resolved simliar problems in anyother app ? Could this issue be the result of word alignment ? I suspect a memory corruption - but I cannot seem to figure out when/where/how it could happen. One characteristic of the app is that this queue is hammered quite intensively - both inserts and retrieves. Any hints much appreciated. Thanks in advance. Regards, Rajnish -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie pam_smb / Linux DECstation / Linux VAX / ILUG person -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[Fwd: Re: [SLUG] samba 3.0?]
Oops, forgot to send to list... ---BeginMessage--- On Thu, 2003-10-30 at 21:20, Kevin Saenz wrote: I am not running Samba3 in an AD environment. But I have configured it using ldap and it is the domain controller for a couple of XP machines. I believe in the coming versions of Samba3 will allow you to sign up w2k and new machines without the need for the signorseal reg hack. The current version of Samba 3 allows you to do this (the most of the prereleases didn't). I've set up Samba 3 and Win2K3 perfectly without needing to do this. Major caveat of Samba 3: very poorly written, partially complete documentation. Mike -- __ Mike MacCana ConsultantRHCX, MCSE, MCP+I Cybersource: Providing Quality IT Professional Services for 11 Years Specialists in Unix/Linux, TCP/IP and Web Application Development Level 4, 10 Queen St, Melbourne. Ph : 03 9621 2377 Fax: 03 9621 2477 ---End Message--- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] disregard previous mail
Please disregard my last email with subject `9fans', it was accidentally generated. I considered not saying anything, but this is quicker than explaining to everyone individually what happened. (Those technically inclined can scroll down for a longer explanation) Occasionally I use this script ``msg'' for firing off quick single line messages to people via email. The ali command takes an alias and sends a mail to the corresponding address in my aliases file. I hadn't used it for some time and invoked msg without arguments for a usage line, which I hadn't bothered implementing. This led to ali being run without arguments, which prints _every_ address I keep. All very embarrassing, apologies. #!/usr/bin/env rc w=$1 shift mailx -s$^* `{ali $w || echo $w} /dev/null /dev/null [2=1] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [SLUG] delete crashes ...
Haven't done much hard core C programming for a while, however you didn't mention whether you have made use of core files and gdb. Assuming you have core files enabled (using ulimit) then following your segv you should be able to tell you where it was last executing by reading in with gdb. As said this type of thing can be tricky to find but stuff like Electric Fence I believe helps mark heap space with a signature that can allow you to find culprit. Also it sounds like a suitable test-rig to exercise your program might help you generate the issue. Finally you might hunt around for some robust open-source libraries that you can use rather than rolling your own (assuming you can comply with the licences they might have) Martin Visser ,CISSP Network and Security Consultant Technology Infrastructure - Consulting Integration HP Services 3 Richardson Place North Ryde, Sydney NSW 2113, Australia Phone *: +61-2-9022-1670Mobile *: +61-411-254-513 Fax 7: +61-2-9022-1800 E-mail * : martin.visserAThp.com -Original Message- From: Tiwari, Rajnish [mailto:[EMAIL PROTECTED] Sent: Friday, 31 October 2003 1:05 PM To: [EMAIL PROTECTED] Subject: [SLUG] delete crashes ... hi All, I have a multithreaded c/c++ app containing a simple (self-developed) queue. 3 operations -'insert(..)', 'retrieve()' 'length()'. As part of 'retrieve' a call to 'delete' is made to remove the head of the queue. Only 2 threads ever use this queue - strictly one for inserting and another for retrieving ( and yes access is mutex protected on all 3 operations ). Although very _infrequent_, the problem is that the call to delete in retrieve causes segmentation violation. It is a real nuisance as one may run the app many times without fail but on some occassions it fails. Has anyone encountered/resolved simliar problems in anyother app ? Could this issue be the result of word alignment ? I suspect a memory corruption - but I cannot seem to figure out when/where/how it could happen. One characteristic of the app is that this queue is hammered quite intensively - both inserts and retrieves. Any hints much appreciated. Thanks in advance. Regards, Rajnish -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] TIOCMIWAIT
If anyone has used ioctl(TIOMIWAIT) I'd appreciate some help. My code waits for a pulse-per-second signal on DCD, the code can be summarised as below, the full code is at http://www.aarnet.edu.au/~gdt/misc/shm_splc.c I get the message Input/output error at the perror() below. The full output can be seen at http://www.aarnet.edu.au/~gdt/misc/shm_splc.txt The RS-232 port has the PPS connected to RS-232 DCD, the PPS ground to RS-232 SignalGnd. No other pins are connected. I also get the same error if only TIOCM_CAR is listed or if the port is opened with O_RDWR. Running Red Hat Linux 9, Linux 2.4.20-20.9 on Intel Pentium M. The serial port works for everything else I've used it for. Running statserial repeatedly shows DCD being pulsed. Any help would be appreciated, I'm a bit at my wit's end. int f; struct termios term; /* Open and configure */ f = open(name, O_RDONLY|O_NOCTTY); tcgetattr(f, term) (void)cfmakeraw(term); term.c_iflag |= IGNBRK; term.c_iflag = ~IXON; term.c_iflag |= IGNPAR; term.c_cflag = ~PARENB; term.c_cflag = ~CRTSCTS; term.c_lflag = ~ISIG; term.c_lflag = ~ECHO; term.c_cflag = ~CLOCAL; tcsetattr(f, TCSANOW, term); int serial_signal = TIOCM_CAR | TIOCM_CTS | TIOCM_DSR; status = ioctl(f, TIOCMIWAIT, serial_signal); if (status == -1) { perror(/dev/ttyS0); exit(1); } -- Glen Turner Tel: (08) 8303 3936 or +61 8 8303 3936 Network Engineer Email: [EMAIL PROTECTED] Australian Academic Research Network www.aarnet.edu.au -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ide cd-writer
quote who=Terry Collins Shaun Oliver wrote: hi all, I have here a reco mp70-40a 4x ide cd-writer. I'm attempting to run it on debian woody. how does one set up scsi emulation for this device? There is a HOWTO on this. any help would be greatly appreciated. thanks in advance. btw. how should I enter in the information in /etc/fstab? Also, you may need to do a kernel upgrade. I recently asked this question and Ken Caldwell posted what he did to get it working under Debian Woody. I really should have posted to the list anyway. This is what I wrote: quote who=Terry Collins 8--- I do not have the ide-cd.o module on my system anywhere. I was wondering where it comes from (source). The problem is I am trying to get a IDE CD-burner working on the Debian system and without this module, I can not access the other CD drive. Usual stuff, which I have done before, but this time, that module is missing. Hi Terry, I rebuilt my Woody box this morning. You are right the default kernel 2.4.18bf does not support a CD burner. I think you may be wrong about the reason though. What I did was to run modconf and install the sg module. (you need both the sg and ide-scsi modules but the ide-scsi module was listed as having already been installed. I then cd to the /dev directory and rm cdrom followed by ln -s scd0 cdrom This was insufficient to get cdrecord working so I did aptitude install kernel-image-2.4.18-1-386 and rebooted using that kernel. I am burning a CD using the box (not this box) as I type. I will be out for an hour or so but will be home later this afternoon or this evening. Feel free to 'phone if you have a problem. cheers, Ken -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] ide cd-writer
I'm sure there are a couple of different ways to handle this. I did it through recompiling the kernel with: no support for IDE CD devices support for SCSI CD support for SSCI gerneric devices support for IDE-SCSI emulation worked on reboot, fstab just needed to be modified to /dev/scd0 /cdrom Regards Brett Ken Caldwell wrote: quote who=Terry Collins Shaun Oliver wrote: hi all, I have here a reco mp70-40a 4x ide cd-writer. I'm attempting to run it on debian woody. how does one set up scsi emulation for this device? There is a HOWTO on this. any help would be greatly appreciated. thanks in advance. btw. how should I enter in the information in /etc/fstab? Also, you may need to do a kernel upgrade. I recently asked this question and Ken Caldwell posted what he did to get it working under Debian Woody. I really should have posted to the list anyway. This is what I wrote: quote who=Terry Collins 8--- I do not have the ide-cd.o module on my system anywhere. I was wondering where it comes from (source). The problem is I am trying to get a IDE CD-burner working on the Debian system and without this module, I can not access the other CD drive. Usual stuff, which I have done before, but this time, that module is missing. Hi Terry, I rebuilt my Woody box this morning. You are right the default kernel 2.4.18bf does not support a CD burner. I think you may be wrong about the reason though. What I did was to run modconf and install the sg module. (you need both the sg and ide-scsi modules but the ide-scsi module was listed as having already been installed. I then cd to the /dev directory and rm cdrom followed by ln -s scd0 cdrom This was insufficient to get cdrecord working so I did aptitude install kernel-image-2.4.18-1-386 and rebooted using that kernel. I am burning a CD using the box (not this box) as I type. I will be out for an hour or so but will be home later this afternoon or this evening. Feel free to 'phone if you have a problem. cheers, Ken -- Brett Fenton General Manager NetRegistry Pty Ltd ___ http://www.netregistry.com.au/ Tel: +61 2 96996099 | Fax: +61 2 96996088 PO Box 270 Broadway | NSW 2007, Australia Your Total Internet Business Services Provider Trusted by 10,000s of Oz Businesses Since 1997 This email is from NetRegistry Pty Ltd. The contents of this message are commercial and in confidence to the intended addresseee. The message may contain copyrighted and/or legally priviledged information. No person or entity other than the intended recipient may read, print or store this message, including any and all attached files. The intended recipient may not forward this message to any third party without express written permission from NetRegistry Pty Ltd. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug