2 Feb 2004 06:28
RE: [Thinstation-general] USB storage devices
Cool Bananas. But it feels like thinstation is 'almost there' with usb storage. I will explain: On my 'test client' when I bootup Thinstation 2.0b3 without my USB memory stick plugged in, the directory "/dev/scsi/" is present with no files or directories underneath it. When I plug the USB memory stick in (which I know to work with XP +SP1, Win2k +SP4, Mandrake 9.2 & Knoppix 3.3 (all tested today...)) The "/dev/scsi" changes. It changes to the following: "/dev/scsi/host0/bus0/target0/lun0" But there is still no "/dev/sda1" which is referred to within "/etc/init.d/filesystem_local" I was wondering, how would we go trying to mount /mnt/usbstick to /dev/scsi/host0/bus0/target0/lun0 Instead of /dev/sda1? We could test this my mounting /dev/scsi/host0/bus0/target0/lun0 manually to /mnt/usbstick, manually using telnet. I have tried but my 'mount' command isn't working as I think the syntax I am using is wrong. But I will keep trying with that. Robbo -----Original Message----- From: Miles Roper [mailto:mroper@...] Sent: Monday, 2 February 2004 15:21 To: Robbo Aylett; Thinstation-Developer (E-mail) Cc: Paul Whittaker (E-mail) Subject: RE: [Thinstation-general] USB storage devices excellent work robbo, this is the kind of feedback I've needed. keep this on the mailing list though as this is where I get stuck, ok, I'll take that back, you just posted :o) so...anyone got a clue as to whats missing? the modules.conf has add above usb-hid usb-ohci usb-uhci keybdev mousedev add below usb-storage sd_mod vfat add above usb-printer usb-ohci usb-uhci add above cdrom ide-cd I've moved to modprobe (not in busybox) which tidied up some module support stuff that thinstation has a while ago in the 2.0 series. So, was looking back at what Paul said a while back... I can help you out somewhat with the kernel module aspects, but you've made things a bit difficult for yourself with the approach that Thinstation takes to this. Under DIET-PC, all I need to do is add a couple couple of lines to modules.conf (eg. "pre-install usb-storage modprobe usb-uhci" and "probeall scsi_hostadapter usb-storage" ) and then attempt to access /dev/sda1 or whatever, and devfsd and the kernel module loader take care of everything. i've also just enabled busybox to have devfs support, not sure if that is needed or not. feedback please.... -----Original Message----- From: Robbo Aylett [mailto:robbo.aylett@...] Sent: Monday, 2 February 2004 04:26 p.m. To: Miles Roper Subject: RE: [Thinstation-general] USB storage devices Hey Miles. I have done what you've asked... I have changed my thinstation.conf.buildtime "storage_path" parameter. I did a lsmod whilst in debug mode. Here is the output: (FYI the command issued was: "lsmod > /mnt/floppy/lsmod-output.txt") Module Size Used by Not tainted nls_iso8859-1 2812 1 (autoclean) nls_cp437 4348 1 (autoclean) rtc 6140 0 smbfs 32048 0 (unused) supermount 63040 3 isofs 16940 0 ide-cd 28708 0 cdrom 29856 0 [ide-cd] floppy 47068 2 usb-storage 22808 0 (unused) sd_mod 10924 0 (unused) vfat 9132 1 fat 29560 0 [vfat] scsi_mod 84168 2 [usb-storage sd_mod] usb-uhci 20844 0 (unused) keybdev 1664 0 (unused) mousedev 3704 0 (unused) usb-hid 21476 0 (unused) usbcore 55552 0 [usb-storage usb-uhci usb-hid] input 3296 0 [keybdev mousedev usb-hid] i810_audio 22232 0 ac97_codec 11980 0 [i810_audio] soundcore 3460 2 [i810_audio] eepro100 18388 1 mii 2224 0 [eepro100] agpgart 28756 0 (unused) executing "modprobe usb-storage" produced no errors. Nor did it produce any output. Also, there are references everywhere (as I'd expect) to /dev/sda1. But there is no /dev/sda1 Is this a potential issue? This is what the /dev directory looks like on my build: (FYI the command issued was: "ls -a > /mnt/floppy/devdir-output.txt") . .. .devfsd agpgart audio cdroms console cpu cua discs dsp fb floppy full ide initrd input kmem log mem midi misc mixer netlink null port psaux ptmx pts pty random rd root scsi sequencer shm sound tts tty tty0 tty1 tty2 tty3 tty4 tty5 tty6 tty7 ttyS0 ttyS1 ttyS2 ttyS3 urandom usb vc vcc zero I have also tried booting Thinstation with a USB stick in the usb port, but this did not change anything. Robbo From: Miles Roper [mailto:mroper@...] Sent: Monday, 2 February 2004 10:41 To: Robbo Aylett; thinstation-general@... Subject: RE: [Thinstation-general] USB storage devices Hi Robbo, Yes, ongoing saga with USB. It is meant to be supported, but doesn't seem to work. I've followed all the instructions people have sent me regarding it, but it still doesn't work on the USB device I've tried. I want to borrow another device so I can test things again. So it is comming soon..... If you want to test it you can... check out thinstation/packages/base/etc/init.d/filesystem_local this will mount the usb device if it exists..you need to define these settings in thinstation.conf.buildtime STORAGE_PATH=/mnt/usbstick the problem is it doesn't seem to be finding the device at /dev/sda1 which means the modules I'm loading arn't working correctly. to check this out... enable the debug package and after pc has booted do a lsmod you should have scsi_mod sd_mod usb-storage usb-uchi or udb-ohci if you want send me the output of that command also, if they arn't loaded, try loading them manually by modprobe usb-storage and tell me any errors that occur. Cheers Miles -----Original Message----- From: Robbo Aylett [mailto:robbo.aylett@...] Sent: Monday, 2 February 2004 11:18 a.m. To: thinstation-general@... Subject: [Thinstation-general] USB storage devices Hello again to Mike, Miles, Paolo and Contributers. I apologise for asking this question, as I never want to appear to be impatient. But here goes.... Around about July last year, Miles and Mike were discussing in "thinstation-general" the topic of USB (mass) storage. Here (at the college), a lot of staff and students are using "USB memory keys" instead of floppies to transport files to and from home. I was wondering as to whether the feature is present in 2.0b3 (great job by the way), or is it *coming soon" or is there away I can impliment it now with some configuration tweaking within the 2.0b3 release??? I noticed there wasn't a share reference to any usb device within "/packages/samba-base/lib/smb.conf.tpl" nor any reference within /etc/fstab on my test client. I also had a look around within /dev/ but didn't have much luck. Any ideas? Yours Sincerely, Robbo Aylett Level 3 Network Officer. ICT Services, Hobart College Olinda Grove Mt. Nelson. Tasmania Australia. 7007. http://www.hobart.tased.edu.au (03) 6220 3457 robbo.aylett@... "All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." --IBM maintenance manual, 1975 ================================================== Attention: The information contained in this message and/or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by person or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your system and destroy any copies. =================================================== ================================================== Attention: The information contained in this message and/or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by person or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your system and destroy any copies. ===================================================
RSS Feed