LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-02-2003, 10:35 PM   #1
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Rep: Reputation: 0
USB Cd-rom Install?


Hiya.

I have an IBM Thinkpad 560X that doesn't have an internal Cd-rom. I had a PCMCIA cd-rom, but that recently died. I could only find a USB cd-rom to replace it with. After finally chucking Windoze NT 4.0, I was able to get Mandrake 9.1 up an running on it. However, with 96Meg I was wondering why the Hard Drive light was on all the time. Much to my suprise, the physical memory was full. Hence I'm trying to get back to slackware.

However, with the 9.0 (actually I'm using the unofficial 9.1 discs) install, my USB cd-rom is not being detected, and the usb drivers (or modules) graciously unload themselves before I get the the login prompt. Hence I go into SETUP and it can't find a cd-rom. I'm using bare.i, install.1, and install.2 disks.

1.) Can I prevent the USB modules from unloading themselves?
2.) If not, can I reload them at the prompt?
3.) Does Slackware have a USB Cd-rom autodetect option once the USB modules are up and running?

Thanks for your help guys. (Ain't these quirky install configs great?!?)

Once I get this up and running I'll get back to you on sound cards.

Mike Doerner
 
Old 06-03-2003, 01:37 AM   #2
labr@
Member
 
Registered: May 2003
Location: Dallas, TX
Distribution: Slackware. (There are others?)
Posts: 46

Rep: Reputation: 16
couple questions

Have you added the cdrom to your /etc/fstab?

In the kernel config file have you uncommented the usb-module section? If not the bare.i kernel will detect the usb device but will not load the modules.

Add the following to your /etc/fstab
/dev/scd0 /mnt/usbcdrom iso9660 ro,noauto,user 0 0
then:
mkdir /mnt/usbcdrom

do an lsmod to see if usbcore and uhci are loaded

uncomment the usb module section in the kernel config:
CONFIG_USB_STORAGE=m (change to y)

save | close | reboot.
 
Old 06-03-2003, 05:06 PM   #3
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Original Poster
Rep: Reputation: 0
I'll try that and let you know how it goes. Thanks.

Mike Doerner
 
Old 06-03-2003, 06:10 PM   #4
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Well, it still unloads the USB modules. I changed the config file like you suggested, but I cannot modify the fstab file because it may be on one of the compressed disks (I didn't see it on bare.i disk)

I also modified some of the other variables in the Config file from m to y, but it still unloaded on me (although it looks like it is finding something, but doesn't know what to do with it.)

Here's the output I see when I boot from bare.i, then install.1....

proc on /proc type proc (rw)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 mArt 11 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:01.2
usb-uhci.c: USB UHCI at I/O 0x9000, IRQ 11
usb-uhci.c: Detected 2 ports [Why this is I don't know, because I only have one physical port]
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275: USB Universal Host Controler Interface driver
usb.c: registered new driver keyboard
usbkbd.c: USB HID Boot Protocol keyboard driver
usb.c: registered new driver hidev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hub.c: new USB device 00:01.2-1, assigned address 2
usb.c: USB Device 2 (vend/prod 0x5e3/0x701) is not claimed by an active driver.
No USB devices found. Unloading USB subsystem...
usb.c: deregistering driver hidev
usb.c: deregistering driver hid
usb.c: deregistering driver keyboard
usb.c: USB disconnect on device 00:01.2-0 address 1
usb.c: USB disconnect on device 00:01.2-1 address 2
usb.c: USB bus 1 deregistered

etc.....

What else can I do? Mandrake does detect this particular cdrom on it's boot disk. Thanks in advance.

Mike Doerner
 
Old 06-03-2003, 06:17 PM   #5
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Doh! Didn't read the first line....

I'll try uncommenting the usb section, my printer clipped your response between two pages, and of couse, I didn't see the first sentance.

Mike D
 
Old 06-03-2003, 06:20 PM   #6
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Well, they are uncommented. I'll try switching them from m to y.
 
Old 06-04-2003, 10:27 PM   #7
labr@
Member
 
Registered: May 2003
Location: Dallas, TX
Distribution: Slackware. (There are others?)
Posts: 46

Rep: Reputation: 16
did it work?
 
Old 06-10-2003, 01:06 PM   #8
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Original Poster
Rep: Reputation: 0
No it didn't work. Truns out it was my USB card not being seated in the PCI slot correctly.

Now my USB Adaptec card is recognised, but the drive is still not assigned a device so I can mount it. Hre's the output from dmesg....

Freeing unused kernel memory: 136k freed
Real Time Clock Driver v1.10e
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Assigned IRQ 11 for device 00:09.0
usb-ohci.c: USB OHCI at membase 0xc9132000, IRQ 11
usb-ohci.c: usb-00:09.0, NEC Corporation USB
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Assigned IRQ 11 for device 00:09.1
usb-ohci.c: USB OHCI at membase 0xc9134000, IRQ 11
usb-ohci.c: usb-00:09.1, NEC Corporation USB (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Assigned IRQ 11 for device 00:09.2
ehci-hcd 00:09.2: NEC Corporation USB 2.0
ehci-hcd 00:09.2: irq 11, pci mem c913c000
usb.c: new USB bus registered, assigned bus number 3
ehci-hcd 00:09.2: USB 2.0 enabled, EHCI 0.95, driver 2002-Dec-20
hub.c: USB hub found
hub.c: 5 ports detected
usbdevfs: remount parameter error
hub.c: connect-debounce failed, port 2 disabled
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
Adding Swap: 506008k swap-space (priority -1)
hub.c: new USB device 00:09.2-4, assigned address 2
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: new USB device 00:09.2-4, assigned address 3
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=3 (error=-110)
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HP Model: CD-Writer+ 7200 Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
hdc: ATAPI 32X CD-ROM drive, 256kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
inserting floppy driver for 2.4.21-0.13mdk
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 2x/6x writer cd/rw xa/form2 cdda tray
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
lp0: using parport0 (polling).
Splash status on console 0 changed to off
PPP BSD Compression module registered
PPP Deflate Compression module registered


How do I get /proc/scsi/scsi to assign my USB CD-RW a device? (The HP listed is an IDE drive)

Mike Doerner

PS I'm using Mandrake 9.1 (again)

Last edited by mdoerner; 06-10-2003 at 01:08 PM.
 
Old 06-10-2003, 01:11 PM   #9
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
well.... I assume you can boot from Slackware CD if you can see this log. Why don't your try to load the USB by hand... you know, "modprobe usb-uhci" (or anything else you're using) when you get the prompt where you're suppose to type "setup".
then mount the disk and you should be able to install from the mounted directory... no?
 
Old 06-10-2003, 03:46 PM   #10
LNXman
Member
 
Registered: Jul 2002
Location: California (USA)
Distribution: Slackware
Posts: 97

Rep: Reputation: 15
usb-storage?

Did you by any change load the usb-storage module?

If not loaded, and after the machine boots, connect your usb cdrom, modprobe usb-storage, and check the log output in /var/log/messages. The log should let you know what scsi device it assigned to it (something like scdX, where X is a number).

Since I am sure you don't have any other scsi cdroms running, mostlikely your usb cdrom will be assigned to /dev/scd0.

At this point, you should be able to mount and access your usb cdrom as if it where a scsi device.

If loaded, check the output from /var/log/messages, and see what goes on when you plug in your usb-cdrom. Maybe there are some errors you are not seeing.

GL
 
Old 06-11-2003, 10:16 PM   #11
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Good stuff guys, I'll give that a shot. However, the HP cdrom already has /dev/scd0, so the USB cd-rw should be /dev/scd1, but it isn't working like that for some reason. I'll let you guys know.

Mike Doerner
 
Old 06-11-2003, 10:21 PM   #12
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Original Poster
Rep: Reputation: 0
OK guys, here's my problem....

usb-uhci.c: $Revision: 1.275 $ time 15:32:56 Mar 14 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
lp0 off-line
hub.c: new USB device 00:09.2-1, assigned address 4
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=4 (error=-110)
hub.c: new USB device 00:09.2-1, assigned address 5
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=5 (error=-110)


The CD-RW never gets assigned an address, and therefore is never assigned a device name. How do I increase the timeout value, or is there some other problem that would be causing this?

Thanks for the help.

Mike Doerner

Last edited by mdoerner; 06-11-2003 at 10:22 PM.
 
Old 06-12-2003, 08:38 AM   #13
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Original Poster
Rep: Reputation: 0
I have loaded Slackware 9.1 onto my thinkpad, and tried attaching this USB device that way, and it works!!!!!

However, on my desktop, the Adaptec AUA-4000A USB 2.0 card is new. It seems like it's recognised OK, but then I have the above problem. Any ideas guys?

Mike Doerner
 
Old 06-12-2003, 12:41 PM   #14
LNXman
Member
 
Registered: Jul 2002
Location: California (USA)
Distribution: Slackware
Posts: 97

Rep: Reputation: 15
This link can give you an idea of what may be going on.

GL
 
Old 06-12-2003, 09:31 PM   #15
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Original Poster
Rep: Reputation: 0
OK, that is what I will do next. I'll play with the BIOS 1st, look for an updated BIOS second, and lastly move the card around to a different slot.

Thanks for the pointer....

Mike Doerner
 
  


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 cd rom noru2 Linux - Newbie 2 06-09-2005 07:13 PM
distro that can install from usb cd-rom evilchild Linux - Distributions 1 11-13-2004 08:09 AM
How to install Slackware 10.0 from a usb cd-rom Jamez2032 Slackware - Installation 3 07-08-2004 01:02 PM
New install, cd rom and dvd rom do not work sniperhf Linux - Hardware 3 06-08-2004 05:24 PM
slackware usb cd-rom install? Xaul Linux - Laptop and Netbook 1 04-11-2004 02:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:43 PM.

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