Civileme,

Thanks much for the info. I can now read from my LS-120 (not sure of the 
settings used to make a boot disk yet though ) and my Teac CDROM seems to  
work ok, even though I get errors listed in 'dmesg'. The big problem is my 
burner won't work. I get 'hda: driver not present'.  I figured out that I 
installed 7.2 w/ BIOS PNP OS set to yes. Could this have caused some of my 
problems ? Also, my Imation CDRW isn't on the supported hardware list. Think 
maybe it'll just never work ? Do I need to reconfigure the Kernel or load 
additional modules ? Thanks again, I'm just about there.  :)

Jeff




On Wed, 27 Dec 2000, civileme wrote:
> Jeffrey Norris was kind enough to send me info on his system, and the
> analysis techniques will serve to illustrate what install wasn't built to
> anticipate.
>
> First, his dmesg output showed the following:
>
> hda --CDRW
> hdb--CDROM
> hdc--LS-120
> hde--8.6G HDD ATA/66
> hdf--13.2GHDD ATA/33  #Ummm, better performance if you move that to another
> channel like hdg or hdd, though it will be a hardly noticeable difference,
> even if you then equip hde with the ATA/66 cable.
>
> Next, here was /etc/fstab
>
> /dev/hdf5 / ext2 defaults 1 1
> none /dev/pts devpts mode=0620 0 0
> /dev/hdf7 /home ext2 defaults 1 2
> /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
> /mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
> /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/hdc 0 0
> /dev/hde1 /mnt/win_c vfat user,exec,umask=0 0 0
> /dev/hdf1 /mnt/win_c2 vfat user,exec,umask=0 0 0
> none /proc proc defaults 0 0
> /dev/hdf6 swap swap defaults 0 0
>
> OK the cdrom* has two drives--normal except the LS-120 shows up only as a
> floppy, and it is tagged as /dev/hdc, properly... but not necessarily---the
> presence of the ide-scsi module may have moved it to /dev/sda
>
> Now, what about the /dev directory?  Where do the symbolic links cdrom and
> cdrom2 point?
>
> Output from ls -l /dev/cdrom*
> lrwxrwxrwx    1 root     root            3 Dec 22 18:12 /dev/cdrom -> hda
> lrwxrwxrwx    1 root     root            8 Dec 22 23:13 /dev/cdrom1
> ->/dev/hdb
>
> EGAD!  Two bad links in one day!
>
> fix it thus, in a console, as root
> rm /dev/cdrom -f
> rm /dev/cdrom1 -f
> ln -s /dev/hda /dev/cdrom
> ln -s /dev/hdb /dev/cdrom2
> chmod a+rwx /dev/cdrom
> chmod a+rwx /dev/cdrom2
>
> then your new output to this  'ls -l /dev/cdrom*' command should be:
> lrwxrwxrwx    1 root     root            3 Dec 22 18:12 /dev/cdrom ->
> /dev/hda lrwxrwxrwx    1 root     root            8 Dec 22 23:13
> /dev/cdrom2 ->/dev/hdb
>
> Next. /etc/lilo.conf looks like
>
> boot=/dev/hde
> map=/boot/map
> install=/boot/boot.b
> default=linux
> keytable=/boot/us.klt
> lba32
> prompt
> timeout=50
> message=/boot/message
> menu-scheme=wb:bw:wb:bw
> image=/boot/vmlinuz
>       label=linux
>       root=/dev/hdf5
>       append=" hda=ide-scsi"
>       vga=788
>       read-only
> image=/boot/vmlinuz
>       label=linux-nonfb
>       root=/dev/hdf5
>       append=" hda=ide-scsi"
>       read-only
> image=/boot/vmlinuz
>       label=failsafe
>       root=/dev/hdf5
>       append=" hda=ide-scsi failsafe"
>       read-only
> other=/dev/hde1
>       label=windows
>       table=/dev/hde
> other=/dev/hdf1
>       label=windows2
>       table=/dev/hdf
>       map-drive=0x80
>          to=0x81
>       map-drive=0x81
>          to=0x80
> other=/dev/fd0
>       label=floppy
>       unsafe
>
> This needs one change so the ls-120 will work
> To change it, open a Konsole
>
> su -
> password:(give te root password)
> # joe /etc/lilo.conf
>
> Once you are in. the editor ctrl-K H brings up a menu of commands  Other
> editors that could be used are kedit, pico, emacs(not easy for newbies),
> cooledit, vi(difficult for newbies), jed, nedit....
>
> Here is the changed file
>
> boot=/dev/hde
> map=/boot/map
> install=/boot/boot.b
> default=linux
> keytable=/boot/us.klt
> lba32
> prompt
> timeout=50
> message=/boot/message
> menu-scheme=wb:bw:wb:bw
> image=/boot/vmlinuz
>       label=linux
>       root=/dev/hdf5
>       append=" hda=ide-scsi hdc=ide-floppy"
>       vga=788
>       read-only
> image=/boot/vmlinuz
>       label=linux-nonfb
>       root=/dev/hdf5
>       append=" hda=ide-scsi hdc=ide-floppy"
>       read-only
> image=/boot/vmlinuz
>       label=failsafe
>       root=/dev/hdf5
>       append=" hda=ide-scsi hdc=ide-floppy failsafe"
>       read-only
> other=/dev/hde1
>       label=windows
>       table=/dev/hde
> other=/dev/hdf1
>       label=windows2
>       table=/dev/hdf
>       map-drive=0x80
>          to=0x81
>       map-drive=0x81
>          to=0x80
> other=/dev/hdc
>       label=floppy
>       unsafe
>
> Almost done...
>
> Now we need to make sure this ide-floppy loads, and we need to figure out
> if we can access the LS-120 as scsi or ide.
>
> First the LS-120, put a dos-formatted disk in the device (a floppy, not an
> LS-120 cartridge) with a file on it. Try this in your Konsole
> # mkdir /mnt/ls120
> # mount -t vfat /dev/sda /mnt/ls120
> If you do not get an error message, then
> # ls /mnt/ls120
> and if you see the file, then change /etc/fstab(with joe or your favorite
> editor) so the line with dev=/dev/hdc is dev=/dev/sda.  If you get an error
> messge or do not see the file, then
> # ls /mnt/floppy
> If you then see the file, the problem is with the floppy icon on your
> desktop.
>
> exit the superuser mode on the console and right-click the floppy icon.
> Select "properties" and then choose the URL tab and make sure the entry
> there is /mnt/floppy.
>
> Please note that supermount will mount ONLY vfat or DOS/Windows formatted
> floppies and ls120 cartridges.  There is a way to change that, but not many
> good reasons to.
>
> You can use mkbootdisk with an option for /dev/hdc as well as the correct
> version designation, and an ls120 cartrudge to make a boot disk for your
> system.  A change in lilo and how it calls the mknod() function is needed
> before a boot floppy can be made with an ls120, and that is a significant
> task for a technically superior but nearly orphan device.  (Technicaslly
> superior as a floppy, that is.  You ZIP fans put down your flamethrowers.)
>
> Now the other item....  Edit the file (as root) called /etc/rc.local and
> put as the last line there
>
> modprobe ide-floppy
>
> There is another place to put it, but, that should do.
>
> Finally, I noticed in your dmesg output that the system was having
> difficulty reconizing your CD-RW, so add this line to /etc/rc.local as well
>
> hdparm -c1 /dev/hda
>
> to turn on DMA for the CDRW so that you won't get interrupted burns.
>
> And when this is in the archives, please point people to it.
>
> Civileme

Reply via email to