lost usb/dvd on gutsy->hardy upgrade

Greg Gamble gregg at maths.uwa.edu.au
Sat Jun 28 17:01:45 UTC 2008


Thanks Jonas, Pablo and James

I answer all your queries and give the outputs of your suggestions
below. Is it better to do this in the one email like this? ... or
answer each suggestion/query by reply to each email?

Anyway, thanks ... I feel I'm moving forward a little.

On Fri, Jun 27, 2008 at 11:50:06PM +0200, Jonas Norlander wrote:
> 2008/6/27 Greg  Gamble <gregg at maths.uwa.edu.au>:
> > Thanks for the reply Pablo,
> >
> > $ lsmod | grep usb
> > usb_storage            82496  0
> > libusual               23520  1 usb_storage
> > usbhid                 35296  0
> > hid                    44992  1 usbhid
> > usbcore               169904  6 usb_storage,libusual,usbhid,ehci_hcd,ohci_hcd
> > scsi_mod              178488  5 usb_storage,sg,sr_mod,sd_mod,libata
> >
> > $ lsmod | grep cdrom
> > cdrom                  41512  1 sr_mod
> >
> 
> Hi Greg!
> 
> You say you lost USB but exactly what is it that dont work for you?

Sorry Jonas,

I guess just about everything uses a USB port these days ... I meant
the USB ports for my jump/thumb/flash drive.

> It looks like it has detected and loaded the drivers for your USB. To
> see what USB devices you have connected you can run the lsusb command
> from a console.

Ok... that gives:

$ lsusb
Bus 002 Device 003: ID 0461:4d15 Primax Electronics, Ltd
Bus 002 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 05dc:a410 Lexar Media, Inc. JumpDrive 128MB/256MB
Bus 001 Device 001: ID 0000:0000

> The DVD problem can be related to the bug
> https://bugs.launchpad.net/bugs/223534 i reported after my upgrade to
> Hardy but without more info it's hard to know. There is a fix in the
> bug report you could try in that case. 

Ok ... I removed the file (I took a copy and put in my home directory where
the system wouldn't find it) and rebooted ... but it regenerated the file
exactly the same and I still can't see either the dvd or jump drive mounted
under /media when I insert a DVD or the jump drive ... but given the
correct info of the lsusb command, I'm supposing that's because the hardy
upgrade has screwed up the /dev symlinks, which is why you were asking
for those.

> Can you give us the output from
> this command:
> ls -l /dev/s[cd]*
> ls -l /dev/cd*
> ls -l /dev/dvd*

$ ls -l /dev/s[cd]*
brw-rw----+ 1 root cdrom 11,  0 2008-06-29 00:06 /dev/scd0
brw-rw----  1 root disk   8,  0 2008-06-29 00:06 /dev/sda
brw-rw----  1 root disk   8,  1 2008-06-29 00:06 /dev/sda1
brw-rw----  1 root disk   8,  2 2008-06-29 00:06 /dev/sda2
brw-rw----  1 root disk   8,  5 2008-06-29 00:06 /dev/sda5
brw-rw----  1 root disk   8, 16 2008-06-29 00:18 /dev/sdb
brw-rw----  1 root disk   8, 17 2008-06-29 00:18 /dev/sdb1

$ ls -l /dev/cd*
lrwxrwxrwx 1 root root 4 2008-06-29 00:06 /dev/cdrom -> scd0
lrwxrwxrwx 1 root root 4 2008-06-29 00:06 /dev/cdrw -> scd0

$ ls -l /dev/dvd*
lrwxrwxrwx 1 root root 4 2008-06-29 00:06 /dev/dvd -> scd0
lrwxrwxrwx 1 root root 4 2008-06-29 00:06 /dev/dvdrw -> scd0

On Fri, Jun 27, 2008 at 10:53:09PM +0100, James Tappin wrote:
> The other thing that may be worth doing is running:
> tail -f /var/log/messages
> in a terminal and watching to see if any messages are generated when you
> plug in  device.

Doing this, I see when I insert the jump drive:

Jun 29 00:36:05 banksia kernel: [  899.220250] usb 1-10: new high speed USB device using ehci_hcd and address 6
Jun 29 00:36:05 banksia kernel: [  899.278488] usb 1-10: configuration #1 chosen from 1 choice
Jun 29 00:36:05 banksia kernel: [  899.278712] scsi6 : SCSI emulation for USB Mass Storage devices
Jun 29 00:36:10 banksia kernel: [  901.451016] scsi 6:0:0:0: Direct-Access     LEXAR    JUMPDRIVE        1000 PQ: 0 ANSI: 0 CCS
Jun 29 00:36:10 banksia kernel: [  901.452389] sd 6:0:0:0: [sdb] 252928 512-byte hardware sectors (129 MB)
Jun 29 00:36:10 banksia kernel: [  901.452766] sd 6:0:0:0: [sdb] Write Protect is off
Jun 29 00:36:10 banksia kernel: [  901.454062] sd 6:0:0:0: [sdb] 252928 512-byte hardware sectors (129 MB)
Jun 29 00:36:10 banksia kernel: [  901.454388] sd 6:0:0:0: [sdb] Write Protect is off
Jun 29 00:36:10 banksia kernel: [  901.454396]  sdb: sdb1
Jun 29 00:36:10 banksia kernel: [  901.479620] sd 6:0:0:0: [sdb] Attached SCSI removable disk
Jun 29 00:36:10 banksia kernel: [  901.479656] sd 6:0:0:0: Attached scsi generic sg2 type 0

When I insert a DVD it spins up and after a while gives the message in
/var/log/messages:

Jun 29 00:38:56 banksia syslogd 1.5.0#1ubuntu1: restart.

On Fri, Jun 27, 2008 at 11:18:41PM -0300, Pablo L. Berdaguer wrote:
> Do as Jonas sais, and if you have a /dev/cdrom file (or something like that) 
> put a data cd in you cd drive and try:
> sudo mount /dev/cdrom -t iso9660 /mnt/cd
> replaceing:
> /dev/cdrom with whatever you found that sounded like a cdrom
> /mnt/cd with any empty directory you have... the files in your cd should 
> appair there.

I did:

$ sudo mount /dev/cdrom -t iso9660 /mnt
mount: block device /dev/scd0 is write-protected, mounting read-only
$ ls /mnt
bu-boot-2-2-9.tgz ...

Suffice it to say that worked ok. So I can at least read DVDs that way
if necessary.

So what should the symlinks be to make my DVD and jump drive appear under
/media as they used to with gutsy?

Thanks again for all the help so far.

Regards,
Greg Gamble





More information about the kubuntu-users mailing list