Results 1 to 9 of 9

Thread: USB flash drive locks/freezes knoppix dead!

  1. #1
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145

    USB flash drive locks/freezes knoppix dead!

    Sorry for the 'shock horror!" subject to this post, but I've never had knoppix lock completely on me before, the mouse pointer freezes and ctrl-alt-F1 doesn't work, only pressing the reset button.

    The device that does this trick is a PQI smartmedia flashcard reader/writer which I'd read was supported and working. It's based on the Alcor AU9350xxx chip (I popped the lid) which claims to be USB bulk storage compatable. I have no idea where to start, I cannot even look at dmesg or use any of the USB commands.....

    I checked it on the same PC/port in W98SE (I was that desperate!) and it seems fine, so it's not a hardware issue.

    I've used other USB flash reader/writers without problems.

    Any ideas? - even how to get some sort of log message?

    Thanks.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    hmmm, make a link from /var/log/messages (and other usefull places) to a floppy and make it write to the floppy with frequent syncing, you might get something out. maby not great but...

  3. #3
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145
    This is frustrating! - If I boot my machine from the knoppix CD instead of the HD install and plug it in it doesn't lock the machine!

    The CD is a later version, but still 3.3 like my HD install, so same kernal.....

    I did get the dmesg stuff from both to compare, but it means little to me, just in case anyone else has the knowledge:-

    Booted from knoppix live CD, plug it in:

    hub.c: new USB device 00:10.2-1, assigned address 2
    usb.c: USB device 2 (vend/prod 0x58f/0x9350) is not claimed by any active driver.
    Initializing USB Mass Storage driver...
    usb.c: registered new driver usb-storage
    usb-uhci.c: interrupt, status 2, frame# 672
    scsi2 : SCSI emulation for USB Mass Storage devices
    usb_control/bulk_msg: timeout
    usb-uhci.c: interrupt, status 2, frame# 1454
    usb-uhci.c: interrupt, status 3, frame# 1185
    WARNING: USB Mass Storage data integrity not assured
    USB Mass Storage device found at 2
    USB Mass Storage support registered.

    Booted from my HD install, plug it in:

    hub.c: new USB device 00:10.2-1, assigned address 2
    usb-uhci.c: interrupt, status 2, frame# 1232
    usb_control/bulk_msg: timeout
    scsi1 : SCSI emulation for USB Mass Storage devices
    usb_control/bulk_msg: timeout
    usb-uhci.c: interrupt, status 2, frame# 969

    then it locks.....

    All I note is "scsi1 or 2: SCSI emulation for USB Mass Storage devices" and maybe it doesn't like interrupt status 3 ?

    Doh!

  4. #4
    Member registered user
    Join Date
    Sep 2003
    Location
    denver, co
    Posts
    72
    I have a similar USB storage problem. If I boot with my USB harddrive plugged it the box will either lock up or continually reboot partway through the boot process.

  5. #5
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145
    More frustration!

    To recap, this flash card reader/writer locks up my HD install of knoppix but not if I boot exactly the same machine from the CD! The question is..... what's the difference?

    I checked what you see in dmesg log related to usb-ohci.o when booting both versions:-

    root@ttyp0[knoppix]# dmesg | grep uhci
    usb-uhci.c: $Revision: 1.275 $ time 20:50:29 Oct 3 2003
    usb-uhci.c: High bandwidth mode enabled
    usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 11
    usb-uhci.c: Detected 2 ports
    usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 10
    usb-uhci.c: Detected 2 ports
    usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 11
    usb-uhci.c: Detected 2 ports
    usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
    usb-uhci.c: ENXIO 80000280, flags 0, urb cdd7a8b0, burb cdd7a730
    usb-uhci.c: ENXIO 80000280, flags 0, urb cdd7a8b0, burb cdd7a730
    usb-uhci.c: ENXIO 80000280, flags 0, urb cdd7a6b0, burb cdd7a8b0

    Booting from HD, dmesg on uhci:

    root@Home:/home/stuart# dmesg | grep uhci
    usb-uhci.c: $Revision: 1.275 $ time 18:09:24 Sep 19 2003
    usb-uhci.c: High bandwidth mode enabled
    usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 11
    usb-uhci.c: Detected 2 ports
    usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 10
    usb-uhci.c: Detected 2 ports
    usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 11
    usb-uhci.c: Detected 2 ports
    usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
    usb-uhci.c: ENXIO 80000280, flags 0, urb cd624260, burb cd624360
    usb-uhci.c: ENXIO 80000280, flags 0, urb cd624360, burb cd624260
    usb-uhci.c: ENXIO 80000280, flags 0, urb cd624260, burb cd624360
    root@Home:/home/stuart#

    Looks like same settings (the urb & burb seem to change each time) - but just in case I replaced the version of usb-ohci with the version from the CD - no change.

    Help!

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    have you tried /var/log/* the logs there are all good to scroll trough for things like tese. and if it was a cd that failed, my solutin should actually work to some extent.

  7. #7
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145
    (OErjan - tried /var/logs/messages - same sort of picture as dmesg)

    The plot thinkens and now I have a "work-around!" - someone MUST be able to help me with this!

    As the ability to plug and unplug these things depends on 'hotplug', I thought I'd try and do some reading on the subject. As an experiment I disabled hotplug by using the 'stop' feature of 'SysV Init Editor' and sure enough plug in the flah R/W and it doesn't get recognised. So I then bring hotplug back into operation by using the 'start' feature...... check my USB scanner works again (yes), bring my USB network connection back up (yes).

    AND NOW!!!..... I can plug and unplug the flash reader/writer without any problems!!!

    What is hotplug doing during boot that is different from a manually restart? - HELP!

    Stu.....

  8. #8
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145
    Okay, I looked at the difference between the USB bits in dmesg from the boot and what happens when hotplug is restarted. The difference is that during boot usb_uhci is used but restarting hotplug uses uhci - so it seems that uhci is the one that works with this device.

    How do I change this to be the case at boot?

  9. #9
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145
    FIXED! subject to some proper testing - yippee (steady on old boy! - not terribly English!)

    I changed the entry in /etc/modules 'usb-uhci' to 'uhci' and it now works and so does my USB scanner and my USB network connection! - An awful lot of luck.

    Aw well, back to the job application letters!

    www.stuartkennedy.org.uk

Similar Threads

  1. Knoppix from a flash drive?
    By jscinoz in forum The Lounge
    Replies: 11
    Last Post: 10-02-2005, 01:35 PM
  2. Permanent home onto Sandisk USB flash drive ruined drive
    By mjman in forum Hardware & Booting
    Replies: 9
    Last Post: 10-25-2004, 09:46 PM
  3. Knoppix on 512MB USB flash drive
    By nd_z in forum Ideas
    Replies: 0
    Last Post: 10-06-2003, 09:40 AM
  4. Booting Knoppix from a USB Flash drive
    By KnoppIXuser in forum Customising & Remastering
    Replies: 4
    Last Post: 03-08-2003, 01:27 AM
  5. Booting Knoppix from USB Flash drive
    By KnoppIXuser in forum Ideas
    Replies: 0
    Last Post: 02-19-2003, 07:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



WD_BLACK 1TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS100T2X0E picture

WD_BLACK 1TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS100T2X0E

$99.99



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A

$79.99



2TB 1TB TYPE-C OTG Stick 4 in 1 USB Memory Photo Stick Android Samsung Pen Drive picture

2TB 1TB TYPE-C OTG Stick 4 in 1 USB Memory Photo Stick Android Samsung Pen Drive

$27.45



Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe picture

Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe

$109.99



1000 GB HHD 2.5

1000 GB HHD 2.5" 1TB Mixed Brands Samsung WD HGST TOSHIBA, Tested Formatted

$14.90



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$580.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.89