Cannot mount USB key after updating to Etch
Hi all,
I am rather confused; my USB key (Dane-elec, 512 MB) does not want to mount anymore after I upgraded from Debian Sarge to Etch. The USB key is fine, I can still mount it on another machine that runs Sarge with: mount /dev/sda1 /mnt/usb This is not about automount or manual mount, it does not mount at all. However, this is what happens now: debian:~# mount /dev/sda1 /mnt/usb mount: you must specify the filesystem type debian:~# mount -t vfat /dev/sda1 /mnt/usb mount: /dev/sda1 is not a valid block device debian:~# dmesg | tail usb.c: USB device 2 (vend/prod 0x930/0x6545) is not claimed by any active driver. CSLIP: code copyright 1989 Regents of the University of California PPP generic driver version 2.4.2 e100: eth0 NIC Link is Up 10 Mbps Half duplex ip_tables: (C) 2000-2002 Netfilter core team parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected lp0: using parport0 (polling). ppdev: user-space parallel port driver apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16) I am puzzled. I think all the drivers are there. I hope somebody has a bright idea... Marty |
Quote:
Regards |
output of /proc
debian:/proc# ls
1 1248 1325 1353 1370 1387 1524 1564 3 997 interrupts self 1001 1256 1326 1354 1371 1388 1525 1573 316 998 iomem slabinfo 1002 1257 1327 1355 1372 1389 1530 1586 318 999 ioports stat 1010 1258 1328 1356 1373 1397 1532 1591 4 apm irq swaps 1013 1274 1329 1357 1374 1472 1534 1597 5 bus kcore sys 1016 1281 1330 1358 1375 1473 1537 1598 530 cmdline kmsg sysrq-trigger 1079 1297 1332 1359 1376 1476 1542 1600 6 comx ksyms sysvipc 1094 1298 1333 1360 1377 1477 1549 1603 635 cpuinfo loadavg tty 1102 1306 1338 1361 1378 1504 1550 1608 667 crypto locks uptime 1103 1307 1339 1362 1379 1505 1552 1609 895 devices meminfo version 1119 1308 1340 1363 1380 1508 1554 1610 901 dma misc 1120 1310 1341 1364 1381 1510 1555 1611 956 driver modules 1131 1311 1348 1365 1382 1512 1557 1671 99 execdomains mounts 1183 1316 1349 1366 1383 1517 1558 1674 993 fb net 1195 1317 1350 1367 1384 1519 1560 1677 994 filesystems partitions 1206 1318 1351 1368 1385 1520 1562 2 995 fs pci 1238 1319 1352 1369 1386 1522 1563 2449 996 ide scsi That's it, with the USB key plugged in... |
Quote:
lsmod on the working/non working machines and examine the difference. It worked before, so it should work again. You may want to look at depmod as well. man depmod After that, be sure to load the module that is needed. Regards Regards |
lsmod output working USB (Sarge)
debian:~# lsmod Module Size Used by Not tainted ac97_codec 11252 0 [i810_audio] af_packet 11048 1 (autoclean) agpgart 39108 0 (unused) apm 8428 1 (autoclean) cdrom 26212 0 [ide-cd] e100 42868 1 ext3 65388 1 (autoclean) i810_audio 21372 1 ide-cd 27072 0 ide-core 91832 2 (autoclean) [ide-scsi ide-cd ide-detect 288 0 (autoclean) (unused) ide-detect piix ide-disk] ide-disk 12448 2 (autoclean) ide-scsi 8272 0 input 3040 0 (autoclean) jbd 34628 1 (autoclean) [ext3] lp 5540 0 (autoclean) parport 21608 1 (autoclean) [parport_pc lp] parport_pc 19432 1 (autoclean) piix 7784 1 (autoclean) rtc 5768 0 (autoclean) scsi_mod 86052 1 [ide-scsi] soundcore 3268 2 [i810_audio] unix 12752 132 (autoclean) usb-uhci 19504 0 (unused) usbcore 52268 1 [usb-uhci] lsmod output etch; not working debian:~# lsmod Module Size Used by Not tainted ac97_codec 11252 0 [maestro3] af_packet 11048 1 (autoclean) agpgart 39108 0 (unused) apm 8428 1 (autoclean) cdrom 26212 0 [ide-cd] dm-mirror 8548 0 (unused) dm-mod 36120 0 [dm-mirror] e100 42868 1 ext3 65388 1 (autoclean) ide-cd 27072 0 ide-core 91832 2 (autoclean) [ide-scsi ide-cd ide-detect 288 0 (autoclean) (unused) ide-detect via82cxxx ide-disk] ide-disk 12448 2 (autoclean) ide-scsi 8272 0 ip_tables 10400 3 [ipt_TCPMSS ipt_tcpmss iptable_filter] ipt_tcpmss 728 1 (autoclean) ipt_TCPMSS 2104 1 (autoclean) iptable_filter 1644 1 (autoclean) jbd 34628 1 (autoclean) [ext3] lp 5540 0 (unused) maestro3 23152 0 parport 21608 1 [ppdev parport_pc lp] parport_pc 19432 1 (autoclean) ppdev 5580 0 (unused) ppp_generic 17956 3 (autoclean) [pppoe pppox] pppoe 6816 1 (autoclean) pppox 1016 1 (autoclean) [pppoe] rtc 5768 0 (autoclean) scsi_mod 86052 2 [ide-scsi sd_mod] sd_mod 10764 0 (unused) slhc 4144 0 (autoclean) [ppp_generic] soundcore 3268 2 [maestro3] unix 12752 175 (autoclean) usb-uhci 19504 0 (unused) usbcore 52268 0 [usb-uhci] via82cxxx 9256 1 (autoclean) The only difference I can see on the Sarge box is; ide-detect piix ide-disk] input 3040 0 (autoclean) piix 7784 1 (autoclean) Doesn't help me much so far. Maybe I missed something? |
I am not too familiar with your distro, but I do find it odd that either machine is not using usb-storage module. Maybe I missed it, or your distro does not need it.
What is in your /lib/modules/your-running-kernel/kernel/drivers/usb/ directory? I am also thinking that maybe there is a bug in one of your usb* modules. You may want to grab a new one. What is your kernel version you have now? Regards |
I appreciate all the help. This is the first time I got really, really stuck...
debian:/lib/modules/2.4.27-2-386/kernel/drivers/usb# ls acm.o CDCEther.o hpusbscsi.o microtek.o rio500.o storage usblcd.o vicam.o aiptek.o dc2xx.o ibmcam.o ov511.o rtl8150.o stv680.o usb-midi.o w9968cf.o audio.o dsbr100.o kaweth.o pegasus.o scanner.o tiglusb.o usbmouse.o wacom.o auerswald.o emi26.o kbtab.o powermate.o se401.o ultracam.o usbnet.o brlvger.o hid.o konicawc.o printer.o serial usbcore.o usbvideo.o catc.o host mdc800.o pwc.o speedtch.o usbkbd.o uss720.o |
Quote:
Was that a 'storage' directory in there? Do a ls -laR this time and lets look inside. It could be hiding in there. Also, do you have the kernel headers installed? That may help. Regards |
Mmmm. ls -laR gives me an enormous list. What exactly am I looking for? There is nothing called storage. The kernel headers are the newest version.
|
There was a folder called 'storage' in your earlier post:
debian:/lib/modules/2.4.27-2-386/kernel/drivers/usb# ls acm.o CDCEther.o hpusbscsi.o microtek.o rio500.o storage usblcd.o vicam.o ^^^^^^ Or at least it appears to be a directory. Take a look inside that. Regards |
Here is the current loaded modules on my Debian Etch system
Code:
it-etch:~# lsmod | grep usb Code:
Oct 18 09:39:02 it-etch kernel: usb 6-7: new high speed USB device using ehci_hcd and address 5 Code:
it-etch:~# mount modprobe usb_storage Also curious, when you are looking in the modules directory it said "debian:/lib/modules/2.4.27-2-386/kernel/drivers/usb#" ? Are you still running a 2.4 kernel ???? (uname -a) I only have 2.6 kernels available on my Etch system so I think you are looking in a modules directory that is left over from Sarge, prior to your upgrade. If not you may want to consider upgrading your kernel at this point.. |
Yes! I love simple solutions..
Perfect, thanks farslayer!
modprobe usb-storage did the trick. Got it to load automaticaaly thanks to another post of yours! Thanks again. By the way, I tried to upgrade the kernel, but that just made matters worse, I tried kernel 2.6.23 with these instructions; http://www.howtoforge.com/kernel_com...on_debian_etch, and, while everything else seemed to work, there was no USB at all. The USB key didn't even light up when I plugged it in. Maybe I'll try again. |
2.6.23 isn't an etch kernel either, 2.6.18 is the latest etch kernel in the repositories..
aptitude update aptitude install linux-image-2.6.18-5-686 should be all that is required to upgrade to the most recent etch kernel. for a version beyond that you would be using a kernel from backports, testing, unstable, or compiling your own. |
All times are GMT -5. The time now is 05:23 PM. |