SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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)
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.
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)
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?
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.
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.
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?
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.