Re: [Scottish] usb2 hard drive not being recognised anymore

2006-05-16 Thread Martin Habets
On Sun, May 14, 2006 at 05:31:04PM +0100, Thomas McLean wrote:
> Hi all,
> 
> First of all for informational purposes I am running Ubuntu Dapper.
> 
> Myself and Kyle (aka bagpuss) tried for a few hours last night by doing 
> various methods and it still didn't suceed.
> 
> I have a 500gb external usb2 hdd which I have been using for the past 
> couple of days. Anyway, I rebooted my machine and when I try to mount 
> the hdd it just says:

Are you one the same kernel? Did you apt-get any kernel/udev/hotplug
packages since your earlier boot?

> '[EMAIL PROTECTED]:~$ sudo mount -t ext3 /dev/sda1 /mnt/big
> mount: special device /dev/sda1 does not exist'

Are you using udev?

> Well at that point I thought I should check to see if the modules are 
> present and here is the output from that also:
> 
> [EMAIL PROTECTED]:~$ lsmod |grep usb
> usb_storage74176  0
> scsi_mod  139496  4 sd_mod,usb_storage,sr_mod,sbp2
> usbcore   129668  4 usb_storage,ehci_hcd,ohci_hcd

Looks good to me.

> dmesg reports this whenever I put in the usb2 cable:
> [4294852.023000] usb 4-4: USB disconnect, address 2
> [4295590.979000] usb 4-4: new high speed USB device using ehci_hcd and 
> address 3
> [4295953.814000] Initializing USB Mass Storage driver...
> [4295953.814000] usbcore: registered new driver usb-storage
> [4295953.814000] USB Mass Storage support registered.
> [4296229.694000] Driver 'sd' needs updating - please use bus_type methods

This is not so good. Have you googled for this?

> [4296247.023000] usb 4-4: USB disconnect, address 3
> [4296249.229000] usb 4-4: new high speed USB device using ehci_hcd and 
> address 4
> [4296249.733000] usb 4-4: device not accepting address 4, error -71
> [4296249.835000] usb 4-4: new high speed USB device using ehci_hcd and 
> address 5

Seems like a kernel/driver thing to me. Does the hard disk show up
in /proc/scsi/scsi?
Also, have a look at the 'lsusb -v' and if need be 'lsusb -vv' output.

-- 
Martin
-------
30 years from now GNU/Linux will be as redundant a term as MERT/UNIX is 
today. - Martin Habets
---

___
Scottish mailing list
Scottish@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] USB memory sticks and SuSE 9.3

2006-01-09 Thread Martin Habets
It seems time to open up a terminal window (that's Konsole in Suse).
After you insert the stick, open the new 'floppy' icon, and get the
error message... after all that, type in these commands in the terminal
window and send the output here:

mount
dmesg | tail -100

That should give us a start to figure out what's going on.
If you're couragous you could look up a line for 'sda' in the mount
output and try to browse that directory.

My guess is the floppy icon is used because the filesystem on the USB
stick is msdos.

Martin

___
Scottish mailing list
Scottish@mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Open Source Business

2005-11-05 Thread Martin Habets
On Fri, Nov 04, 2005 at 10:59:48AM +, William Anderson wrote:
> Peter George wrote:
> > I was primarily curious to hear about others who are actively  involved
> > in creating open source software, running Sourceforge  projects etc.
>
> ...fork OpenVAS, and I'm sure there are others out there ... lurking
> silently in the dark :)


I own the ALSA driver for the DBRI audio chip found on Sparcs.
Sometimes submit other kernel patches, usually related to sparc32 or ppc
architectures or audio-related stuff.
Am a member of liblo SF project (Lite OSC (Open SoundControl)), and
own liboscqs on SF.
Other apps I fix as needed. Usually this is endian-ness stuff.


-- 
Martin
---
30 years from now GNU/Linux will be as redundant a term as MERT/UNIX is 
today. - Martin Habets
---

___
Scottish mailing list
Scottish@mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Looking for SPARC32 hardware to test

2005-09-25 Thread Martin Habets
On Sat, Sep 24, 2005 at 03:53:37PM +0100, William Anderson wrote:
> Martin Habets wrote:
> > In order to help fix some 2.6 Linux kernel problems, I am looking for the
> > following SPARC32 hardware to test (or have tested):
> 
> do you need physical access to test this stuff, or would ssh access do?

ssh access would probably not be enough, apart from the dbri driver
test. If the kernel has a major problem, the ssh session usually hangs as
well. But with a console a on a serial line I can use the magic sysrq
keys to get important data. The serial line would be connected to a
machine close by.
Physical access would only be needed for a power cycle, e.g. if an SMP
kernel fails to boot at all.

-- 
Martin

___
Scottish mailing list
Scottish@mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/scottish


[Scottish] Looking for SPARC32 hardware to test

2005-09-24 Thread Martin Habets
In order to help fix some 2.6 Linux kernel problems, I am looking for the
following SPARC32 hardware to test (or have tested):

1) A machines with one or more Ross HyperSparc CPU's (check for HyperSparc
   in /proc/cpuinfo). These seem broken after 2.6.10 at the moment,
   causing disk corruption it seems.
2) sun4m SMP machines (check for type sun4m and ncpus in /proc/cpuinfo).
   Some fixes for this in 2.6, but more work needed.
3) Machines with an external speakerbox. I need to test my dbri driver for
   these.

The first two items are among the reasons that sparc32 support is being
dropped from Debian, so "it-works" reports are also welcome (on any distro).
I need not test this personally if you feel up to it.

Thanks,
Martin
---
30 years from now GNU/Linux will be as redundant a term as MERT/UNIX is 
today. - Martin Habets
---

___
Scottish mailing list
Scottish@mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Hopeless newbie question

2005-09-05 Thread Martin Habets
I usually install 'putty' on windows machines. The pscp lets
you copy stuff to Linux without using samba.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

-- 
Martin

___
Scottish mailing list
Scottish@mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Compiling and installing a second vanilla kernel

2005-08-09 Thread Martin Habets
On Mon, Aug 08, 2005 at 10:10:04AM +0100, Andrew Thomas wrote:
> I had assumed that GCC would be installed with SUSE, so it caught me off 
> guard! Is it just me, or is it quite strange that GCC is not installed by 
> default?

I guess eliminating the very-usefull-but-not-essential is all part of the
"strategy" to become an M$ Windows replacement. :)

-- 
Martin

___
Scottish mailing list
Scottish@mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] New to the group...

2005-03-29 Thread Martin Habets

Welcome Raj,

The only book you need to buy is a C manual. Once you know some C you can look 
for programs
with source code on the web for whatever area you're interested in. Most 
programs you can
think off have already been written.
The c compiler program in Linux is called 'cc' (or maybe just 'gcc'). If you 
don't have that
installed get it from your distro.

Martin


Send instant messages to your online friends http://uk.messenger.yahoo.com 

___
Scottish mailing list
Scottish@mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/scottish


[Scottish] Re: Thanks SLUGgers ! !

2005-01-13 Thread Martin Habets
Regarding the USB modem: it may be possible to get it working, but it may be 
kind
of an advanced thing.
But if you can tell us what manufacturer and type it is, maybe we can give you
more advice.
The other important thing is your kernel version: run 'uname -r' in a terminal
window an tell us the result. (or maybe somebody else on the list knows what
kernel Suse 9.1 installs?)

Welcome to the future!
Martin






___ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! 
http://uk.messenger.yahoo.com

___
Scottish mailing list
Scottish@mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/scottish


[Scottish] Re: Usb proxy + list traffic (Craig Perry)

2004-09-16 Thread Martin Habets
There's an article related to this in the august issue of Linux Journal.
Greg (Kroah-Hartman) added an usbfs_snoop parameter to the usbcore module,
which you can use to log all traffic. So you'd have to get recent kernel
source (it's not in 2.6.5, but is in 2.6.8).

Besides that you'd have to write a small application that read/writes
/dev/midi* as appropriate. That could be the tricky bit, but probably libusb
would make this easier. http://linux.rockriver.net/presentations/LibUsb/img2.html

One other thing: On the cable comming from the windows box your Linux side has to
act in USB slave mode. I think this has been added in Linux, but I don't know how
to set it.
The other cable is no problem as all drivers I know use Linux as the master.

Martin

> How could I setup a box to act as a kind of proxy for a usb connection?
> 
> I.E. Windows box with usb cable to linux box. Usb cable from linux box to usb 
> device. And the
> linux box just passes everything it sees on one port to the other, thus being 
> transparent to the
> windows box and the usb device, so the windows box/usb device interact as normal, 
> but the
> connection is going via the linux box.






___ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com

___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


[Scottish] Re: XFree86 4.4 RPMs for Mandrake 10.0? (Fulvio Valente)

2004-03-15 Thread Martin Habets
Don't know about mandrake, but a lot of distributions are refusing to ship
XFree 4.4 because it is on a new licence.
If you realy want it, you may have to get it from www.xfree.org directly.

I've read about plans on a fork that would remain on the old licence, but have
not checked if that has already happended.

Martin

> From: "Fulvio Valente" <[EMAIL PROTECTED]>
> I've been searching for a XFree 4.4 rpm for a while with no success. If anyone can 
> point me to
> or make an rpm, I'll be eternally grateful






___
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Recommendations on ADSL service/provider? - resend to correct the question

2004-03-14 Thread Martin Habets
I can recommend Eclipse (www.eclipse.co.uk). Only 1 or 2 connection losses in
the last half year.

For a modem, go with something with an ethernet interface. Saves you a lot of
compatibility hassle. I'm happy with my SpeedTouch 530. I don't use the USB
interace on this at the moment although there is code for that out there, but it
does serve as a router and DHCP server for my network.

Martin






___
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] End of year BIG archive!

2003-12-23 Thread Martin Habets

Neil,

> Hi - 
> Season's greetings to all :-)
> 
> I'm doing a big file archive of my years' work, and I want to span it over 
> several CDs.

Thanks for the reminder!

> To date, I have used the command 
> 
> tar -czPf /home/archive_file.tar.gz \
> big \
> file \
> list \
> which \
> spans \
> home \
> directories \
> for \
> several \
> users
> 
> which works fine for me. I save it as a shell script, and run it from time to 
> time.
> 
> Now I want to expand the file list to include many more directories, and I end 
> up with about 4 gig of tar file. Oops!
> 
> If I try to use Karchiver to split the file, it bombs out (I'm on SuSE 8.2, 
> using Karchver 3.1.1).
> 
> The man page for tar doesn't document how to use the -M switch for a 
> multivolume archive, so I'd like to ask if anyone has experience of using it, 
> and how I can split my archive into 650Mb segments.

>From my attempts I concluded that -M can only be used if you output to a device,
i.e. not with -f. Also, -M does not work with compression -j or -z I think.
I think I tried something like the -L flag Ben mentions, but I didn't get
anything like that to work with compression.

It seems GNU tar can only split an archive before compressing it, which is no
use for these purposes.

> No doubt there is an easy way to do what I want, and i tried Karchiver to do 
> this, but no success. If there's an easier way,  _please_  tell me how!!!

Question is: do you want to be able to restore 1 individual CD? If so, I think
each uncompressed tar file must fit on a CD (after it is manually compressed).
I did not need that, and I now backup my Linux partitions with something like:

tar -cvljf $ArchiveFile --exclude '/tmp' -V "$Label" $Directories

After that I write the single big archive file to CD, using the multi-CD capabilities
of cdbackup:

cat $ArchiveFile | \
cdbackup -d $CDDevice -a "$CDLabel" -m -l $CDSize \
-s $CDSpeed -- -v

-m is the multi-CD flag.

The script with it all has gotten rather big, but that is also because:
- the script can backup to a CD writer on another machine, i.e. cdbackup can be 
executed
  on another machine than the tar. Not all machines have a CD Writer after all.
- it can do incremental backups.
- I archive unmountable partitions (mostly bootstrap) with dd.
If interested I've put the full script at http://www.mph.eclipse.co.uk/pub/linux/bkup

I also looked at other backup programs out there, but was not satisfied with them.
Some could not backup to multi-CD, other were professional style and difficult to
configure.

Happy backup-ing (or something like that)
Martin

> TIA,
> 
> Neil



Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] The Future of the LUG

2003-12-13 Thread Martin Habets
> From: iain d broadfoot <[EMAIL PROTECTED]>
 
> * David Irvine ([EMAIL PROTECTED]) wrote:
> > What about using xml/html? Its fairly well supported thanks to
> that internet
> > thing. I'm not sure how well word deals with this, but I know it
> used to be
> > able to export to html.  Open office can do html and some word
> format, so
> > that would bridge the gap between OO and Word, and it would also
> make a
> > transition to web page fairly easy I imagine.
> 
> 
> 
> OO can open most Word files fine, i've found - the very thought of
> using Word's
> export2html feature for _anything_, *ever* makes me feel dizzy.

LOL. The OO format is nothing other than compressed XML. Take an
.xsw file for example, unzip it and page it...

And with all the political talk I think we have found a perfect
"raison d'etre" for the Scottish LUG (versus the Glasgow LUG).
With SLUG we can have one interface to all of of Scottish politics,
and we can all contact our local MSPs.

Martin
Perth

> cheers,
> iain



BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st 
December 2003. The way the internet was meant to be. 
http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk

___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


[Scottish] Re: slightly OT question

2003-12-03 Thread Martin Habets
cmp might do the trick. I'd expect the timestamp to be in the header
somewhere, so skipping the first 256 bytes should get around that.

Another route worth considering is to preprocess the branches and
them compare those files.

Martin




Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs
http://www.yahoo.co.uk/robbiewilliams

___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish