SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The funny thing is this was working correctly a while ago. The other thing that may be of use is that my other pendrive used to be recognised as /dev/uba1 as well, but now is recognised as /dev/sda1. I can mount this pendrive on /dev/sda1 fine. The only things I have done since they were working is install ulogd and put `modprobe ipt_ULOG` in rc.modules and have installed NUT for my UPS, though I can't see NUT causing a problem because thats nothing to do with the kernel.
I don't really know where to start, I haven't had much experience with the configuring and troubleshooting the kernel. I suspect it could possibly be due to something wrong with udev? I have read this was a bug in one release of the kernel and was fixed by the next, though I don't think that applies to me as I have had it working
I don't know if this is relevant but there is no uba or uba1 in /dev
Right, I've done a few things since, but still haven't got it working. As I say I don't know what I'm looking for but if I tell you you might be able to pin the problem down for me a bit better.
I booted my old 2.4.29 kernel and the pendrive won't mount under that either. dmesg said that sba1 was assigned to the pendrive but when I tried to mount /dev/sba1 it complained that the device didn't exist.
I have updated udev to the one out of slackware-current (udev-062)
I have reinstalled the 2.6.10 kernel
I have tried this pendrive on my other computer running Ubuntu and that saw it fine and automounted it.
I booted up with udev disabled, udev removes and creates devices in /dev to represent the actual devices present right? So I wondered if all devices would be listed if udev wasn't running regardless of whether or not the actual device was present, didn't help.
I have a few niggles with this pendrive before, sometimes it doesn't recognise the file system correctly and reverts to using old DOS style names eg: DIRECT~1 rather than the long name: directory.
Thats about all I've got for now
EDIT: more:-
I plugged in my digital camera which is recognised as a mass storage device and works in the same way as pendrives and that was assigned /dev/uba1 in the same way as the pendrive but when I come to mount it I get the same error 'mount: special device /dev/uba1 does not exist'. So I know its not the pendrive with the problem.
It is wierd, I did a bit of looking up on it before asking the question and not much came up, except there was one particular version of the kernel that had this bug and had been fixed in the next release.
Anyway not to worry, I've solved it.
I went a bit too far and broke the whole system "good 'un proper" and have spent the rest of the afternoon reinstalling which I'm not best pleased about, but nevermind.
Originally posted by keefaz Does fdisk /dev/uba work ?
I would expect not, when I did `ls -l /dev/uba*` it returned nothing, the problem was that the device was not being put into /dev when I plugged it in though I don't know what was causing it
Maybe the next time you have problem with device not
populated in /dev, look closely at your udev install
(is this udev version known to have problem etc...)
There was another usb device issue today which was
solved by downgrading udev to 054 version
I've just done a default install and installed kernel 2.6.20 from /testing, the version of udev is 050, so everything is how I had it initially and it still doesn't work, I'm stumped.
At least it know works in kernel 2.4.29. I shall be sticking with that for now. I've had enough!!
I am probably way over my head in even trying to comment on this question, but here goes. His original error message said that "special device /dev/uba1 does not exist." Is that is a device file that should actually exist in the /dev directory? Perhaps it should have been automatically detected and added but, I wonder what would happen if he tried to recreate that device file using the the mknod command. To use that command he would need to know what the correct type, major, and minor numbers are for that device file. I have never used a pendrive and do not really know much about the kernel or how Linux handles devices so what I said might be totally wrong. Perhaps someone more experienced could comment. Basically, I am wondering if he could just manually create the device file as a test. The manually created device file would most likely just go away after he reboots.
Originally posted by Rick485 I am probably way over my head in even trying to comment on this question
Not at all mate, I'm thankful for your input.
It indeed was that the actual file was never put into /dev, If I understand right its udev that is supposed to do this. I never got to try your idea because I decided I'd had enough of slackware and have gone walkabouts (trying other distros), anyway I'll keep that in mind, looking at my track record I'll probably be back with slackware within 6 months anyway.
What got me was it worked once with this specific kernel I was using but when I did a clean install and upgraded the kernel straight away it didn't start working even then. I know for certain it just worked without me having to do anything when I first upgraded to this kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.