LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-09-2005, 07:28 PM   #1
uah21
LQ Newbie
 
Registered: Aug 2005
Distribution: Knoppix
Posts: 7

Rep: Reputation: 0
Question Knoppix 3.9 / USB (unanswered)




Hello.

I recently downloaded knoppix 3.9 (2005-05-27 release). I'm not that new to linux, but i still have a lot to learn. Everything works fine in knoppix, except one small problem. When i boot from the CD without using any cheat codes, the computer hangs at "Checking for for USB..."

After doing some reading, i've found that i can work around this by typing the "knoppix nousb" cheat code at boot time. Using this cheat code i can sucessfully boot and knoppix works fine. However, I'd like to create a persistant root directory on my USB flash drive, but because I have to enter the "nousb" code, Knoppix doesnt list my usb drive (or any usb other devices) in K-info.

A little bit about my hardware setup (and i think this may be part of the problem): I have a 80GB internal NTFS drive, a cd burner, and a dvd burner. knoppix recognizes all three of these devices. (and both partitions of my NTFS drive). However, i have a USB connected printer, as well as a USB external 80GB hard drive (FAT32). The hard drive is not recognized by Knoppix. I also have a USB mouse, which knoppix does recognize. Lastly, the usb flash drive i'm wanting to create a persistant root directory on is a 1GB drive, with FAT file system.

Any help from all the knoppix gurus out there is greatly appreciated!

Thanks,
uah21

Last edited by uah21; 08-10-2005 at 05:25 PM.
 
Old 08-09-2005, 11:11 PM   #2
uah21
LQ Newbie
 
Registered: Aug 2005
Distribution: Knoppix
Posts: 7

Original Poster
Rep: Reputation: 0
More hardware information

Here are the results of a few commands from the Knoppix terminal (while logged in as root). If more information is needed, I'm more than happy to provide it. Thanks.

Output of "cat /proc/partitions"

Code:
root@0[knoppix]# cat /proc/partitions > temp1.txt 
root@0[knoppix]# lsmod | grep usb > temp2.txt 
root@0[knoppix]# lspci > temp3.txt 
root@0[knoppix]# lsusb > temp4.txt 
root@0[knoppix]# dmesg | grep -A 3 -i usb > temp5.txt 
root@0[knoppix]# lspci -v > temp6.txt
Output of "lspci"

Code:
0000:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
0000:00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 82)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100 IDE Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
0000:01:06.0 Modem: Broadcom Corporation BCM4212 v.90 56k modem (rev 02)
0000:01:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
Output of "dmesg | grep -A 3 -i usb"

Code:
Kernel command line: ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix BOOT_IMAGE=linux nousb wheelmouse
__iounmap: bad address c00fffd9
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
--
PCI0 HUB0 USB0 USB1 USB2 USB3 MODM UAR1 PS2K 
ACPI: (supports S0 S1 S3 S4 S5)
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).


Output of "lspci -v"

Code:
0000:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
	Subsystem: Dell: Unknown device 0147
	Flags: bus master, fast devsel, latency 0
	Memory at e8000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [e4] #09 [1105]

0000:00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03) (prog-if 00 [VGA])
	Subsystem: Dell: Unknown device 0147
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at e0000000 (32-bit, prefetchable) [size=128M]
	Memory at ee000000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [d0] Power Management version 1

0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell: Unknown device 0147
	Flags: bus master, medium devsel, latency 0, IRQ 9
	I/O ports at d800 [size=32]

0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell: Unknown device 0147
	Flags: bus master, medium devsel, latency 0, IRQ 5
	I/O ports at d000 [size=32]

0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell: Unknown device 0147
	Flags: bus master, medium devsel, latency 0, IRQ 3
	I/O ports at d400 [size=32]

0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 02) (prog-if 20 [EHCI])
	Subsystem: Dell: Unknown device 0147
	Flags: bus master, medium devsel, latency 0, IRQ 11
	Memory at ee080000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2

0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 82) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: ec000000-edffffff

0000:00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 02)
	Flags: bus master, medium devsel, latency 0

0000:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100 IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
	Subsystem: Dell: Unknown device 0147
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at <unassigned>
	I/O ports at <unassigned>
	I/O ports at <unassigned>
	I/O ports at <unassigned>
	I/O ports at f000 [size=16]
	Memory at 0ff00000 (32-bit, non-prefetchable) [size=1K]

0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
	Subsystem: Dell: Unknown device 0147
	Flags: medium devsel, IRQ 11
	I/O ports at 0500 [size=32]

0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
	Subsystem: Dell: Unknown device 0147
	Flags: bus master, medium devsel, latency 0, IRQ 17
	I/O ports at e000 [size=256]
	I/O ports at e400 [size=64]
	Memory at ee081000 (32-bit, non-prefetchable) [size=512]
	Memory at ee082000 (32-bit, non-prefetchable) [size=256]
	Capabilities: [50] Power Management version 2

0000:01:06.0 Modem: Broadcom Corporation BCM4212 v.90 56k modem (rev 02) (prog-if 00 [Generic])
	Subsystem: Dell: Unknown device 0001
	Flags: bus master, fast devsel, latency 32, IRQ 3
	Memory at ed002000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at c000 [size=16]
	Capabilities: [40] Power Management version 2

0000:01:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
	Subsystem: Dell: Unknown device 8127
	Flags: bus master, fast devsel, latency 32, IRQ 17
	Memory at ed000000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [40] Power Management version 2
 
Old 08-10-2005, 06:49 PM   #3
uah21
LQ Newbie
 
Registered: Aug 2005
Distribution: Knoppix
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy Still no luck with USB flash drive and Knoppix



I still have had no luck mounting this SanDisk "Mini Cruzer" 1.0GB (FAT file system) in Knoppix. Please refer to my previous thread here:

www (dot) linuxquestions (dot) org/questions/showthread.php?s=&threadid=351663

for complete hardware information, and the steps i've take to try and make this work. The primary problem still remains:

I can only boot knoppix if i use the "knoppix nousb" cheatcode at startup. But once i'm succesfully booted, there are no usb devices listed in KInfoCenter (because of the "nousb" directive).

I've found the exact drive i'm trying to mount in the HCL, and i've tried various different approaches. I tried things like

Code:
mount -t vfat 0x0781:0x5150 /mnt/usb
(where 0x0781:0x5150 is the device id from the HCL, and /mnt/usb is a directory i've created as a mount point). This command returns "The special device 0x0781:0x5150 can not be found".

I've also tried using the -L switch as follows:

Code:
mount -t vfat -L USB_DRIVE /mnt/usb
(where USB_DRIVE is the label). This command returns something like "no such partition".

Anyone have any ideas?

Thanks,
uah21
 
Old 08-10-2005, 07:15 PM   #4
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
hey, Welcome to LQ!

connect the usb device and post the output of
Code:
sfdisk -l
that is a lowercase L!
 
Old 08-10-2005, 07:30 PM   #5
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
mount -t vfat -L USB_DRIVE /mnt/usb

What is that???

mount -t vfat /dev/sda1 /mnt/usb

more like it...

if /mnt/usb exists anyway...

KC
 
Old 08-10-2005, 08:17 PM   #6
uah21
LQ Newbie
 
Registered: Aug 2005
Distribution: Knoppix
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you both for the tips.

Nathanael - Here is the output of sfdisk -l

Code:
Disk /dev/hda: 77545 cylinders, 16 heads, 63 sectors/track
Warning: The partition table looks like it was made
  for C/H/S=*/255/63 (instead of 77545/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hda1          0+      3       4-     32098+  de  Dell Utility
/dev/hda2   *      4    4861    4858   39021885    7  HPFS/NTFS
/dev/hda3          0       -       0          0    0  Empty
/dev/hda4          0       -       0          0    0  Empty
kencaz - I probably didnt have the syntax right on that one. I was trying to mount like this:

Code:
mount -t [type] -L [label] [mount directory]
I did try the method you suggested, here is the output:

Code:
root@0[/]# mount -t vfat /dev/sda1 /mnt/usb
mount: /dev/sda1 is not a valid block device
 
Old 08-10-2005, 08:20 PM   #7
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Well, it seems that if youre booting with nousb support then it would be sensable that you would not be able to mount usb devices...

what happens if you boot without the nousb cheatcode???

KC
 
Old 08-10-2005, 08:24 PM   #8
uah21
LQ Newbie
 
Registered: Aug 2005
Distribution: Knoppix
Posts: 7

Original Poster
Rep: Reputation: 0
Thats an excellent question that i should have answered previously. If i boot without using "knoppix nousb", it hangs at

"Checking for for USB..."

(yes, the word "for" is repeated). I've tried booting without nousb, and left the computer for almost half an hour.. when i came back, it still hadn't booted.
 
Old 08-10-2005, 08:27 PM   #9
uah21
LQ Newbie
 
Registered: Aug 2005
Distribution: Knoppix
Posts: 7

Original Poster
Rep: Reputation: 0
btw kencaz... those are some nice screenshots!
 
Old 08-10-2005, 08:31 PM   #10
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
When you boot normaly do you have any USB devices pluged in? If so then maybe try to plug in the usb devices after boot....

Also just for testing purposes, try some other Live Distros and see if you have the same problem... At least you can narrow it down to a hardware or software issue...

KC
 
Old 08-11-2005, 12:14 AM   #11
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Mod Note: please do not start a second thread in order to continue the discussion from a previous thread. Instead, just add any additional comments to the original thread. Thanks

I have merged the two threads together.
-- J.W.
 
Old 08-11-2005, 08:53 PM   #12
uah21
LQ Newbie
 
Registered: Aug 2005
Distribution: Knoppix
Posts: 7

Original Poster
Rep: Reputation: 0
Cool Success!

JW - my apologies, I won't do that again. The reason for starting a new thread is because I made the mistake of posting a reply to my original thread (supplied more HW information), and questions with zero replies are more likely to be answered than questions with 1 or more replies. This is a really great forum, and I've been extremely impressed with the generosity and helpfulness of the members.

kencaz - that was it! the problem must've had something to do with my USB printer. If i boot with that unplugged, i am able to mount both my flash drive and my 80gb external. Thank you so much for the help!

Now, if i can only get Knoppix to recognize this printer i'll be all set...

One more question, does anyone know of a Direct Connect (aka DC++) client that works with Linux/Knoppix? I'm sure that the software forum would be a better place to investigate this further, so i'll try that as well.

Thanks again,
uah
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Drive As HD for Knoppix aeuzent Linux - Newbie 8 03-27-2005 05:01 AM
USB ext hd, Knoppix 3.7 garbageman14 Linux - Hardware 1 01-17-2005 04:26 PM
Knoppix on USB stick gummimann Linux - Hardware 0 01-04-2005 01:41 PM
Need help using a USB drive in Knoppix Orange Sunshine Linux - Software 3 07-20-2004 11:27 PM
USB DiskOnKey on Knoppix assaflavie Linux - Hardware 1 06-07-2004 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration