Blacklisting hardware??
I have a Canon MP700 Printer , and it is not supported under linux, and until recently I have discovered that it is whats causing me trouble when I am trying to reinstall lilo after a kernel recompile, and so the only way around that I know of is to shut it off before going into linux, of course, thats annoying, so I need to know two things. Under linux how do i tell what port my printer is detected under (it is conntect to a usb2.0 pci card on my pc) , and how do I blacklist it, so that linux doesn't even recognize that there is a printer hooked up.
If you wanted know exactly why it is giving me trouble, it is because this multifunction printer has card slots, and so under linux it shows up as /sda , and when I try to run /sbin/lilo when my printer is on I get an error stating that it was unable to update /dev/sda, and i don't even know why the hell it is even trying to mess with /dev/sda when i don't have any scsi hard drives, only ide. |
I know you can blacklist modules with hotplug in /etc/hotplug/blacklist. and I believe /dev/sda is used for usb storage as well as scsi. I really don't understand what your problem is. when exactly does it give the error? when the system is booting? before you see the penguin? (which is lilo). or maybe doing a hotplug scan? is sda being mounted in /etc/fstab or /etc/mtab??
|
It reads the card slots as mountable drives. Because they're USB, it names them like SCSI drives.
|
I can boot just fine, the only time I get an error is when i try to update lilo , the error is like 'cannot write to /sda , read-only' and there is nothing in my fstab that indicates I have /sda mounted
|
ok this is what is mounted so far when I start up normally
Code:
root@hideyoshi:/home/samurai# mount Code:
root@hideyoshi:/home/samurai# lilo -v Code:
root@hideyoshi:/home/samurai# lilo -v |
what does lilo.conf look like, im curious?
|
Code:
# LILO configuration file |
Oh, I found out where my printer is connected, lsusb (duh jeebizz!!!)
Code:
oot@hideyoshi:/usr/src/linux# lsusb |
what if you tried booting up to 2.6 really quick? i know for a fact that the newer kernel often fixes problems with usb, because of better usb support :)
|
hmm, thats an idea, but how am I supposed to do that, if i can't get /sbin/lilo to update the boot record in the first place? :-P
|
well why don't you unplug the printer? :p just for the second it takes to update lilo.
|
Yeah, unplugging the printer is probably the easiest thing to do. I was going nuts one day trying to reload lilo after a kernel update. The damn thing just worked minutes ago...!
Then I googled and found out lilo has problems reloading when there's a usb-storage device attached. Doohh, reach around the back of the laptop, unplug the flashdrive and I was in business. |
All times are GMT -5. The time now is 05:37 PM. |