Re: SATA+ IDE DVD-Writer crash, and missing /dev/fd0
"J. Grant" <jg@jguk.org> writes:
> [please include my email address in any replies]
>
> Hi Goswin von Brederlow,
>
> Thanks for your quick reply.
>
> [...]
>> Does the floppy module get loaded at all? Any mentioning of floppy in
>> dmesg after boot? Does lsmod show the floppy module?
>
> lsmod did not show the flopppy module, and dmsg did not say anything
> about floppy or fd0 when booting.
>
>> Try modprobe floppy as root.
>
> Ok, this got it. I wonder why it does not load it initialy? Adding it to
> /etc/modules forces it to load.
>
> I expect debian-installer did "modprobe floppy" then, could the 2nd
> stage of the install check if the /etc/fstab device nodes are created so
> that the floppy module can be loaded by /etc/modules ?
There seem to be no way to discover an existing floppy, specificaly if
an actual floppy drive is connected to any port of the floppy
controler. D-I just loads them hoping that people that later do use
the floppy do have one connected as well.
The floppy module could probably be autoloaded just in case in the
installed system as well. You could maybe discuss this with the
discover maintainer.
...
> I do not have a /dev/hda node for my NEC DVD writer, it seems that
> because SATA goes through SCSI code, the SCSI also grabs /dev/hda
No, see below.
...
> scsibus2:
> 2,0,0 200) '_NEC ' 'DVD_RW ND-2500A ' '1.06' Removable CD-ROM
That is the ide-scsi being seen.
>> ...
>>> I would like to get the floppy drive working for emergencies in case I
>>> need to boot. I followed the instructions of dd the stage1 an stage2
>>> onto the fd0 from Mandrake box but it would not boot off it. Do I need
>>> to patch up a menu.lst file? LILO used to work fine with this fd0
>>> drive, also the fd0 drive works fine from MS-Windows.
>>>
>>> Tips, FAQs or assistance appreaciated!
>> apt-get install lilo. You don't have to use grub.
>
> I would like to get Grub working as that is what I have at present. If
> debian-install is only providing one choice there must be a reason grub
> is better than lilo..
Grub builds a special boot floppy image I think. The stage files for
harddisk are different I think. But I must admit I never made a grub
floppy.
>
> Kind regards
> JG
>
> p.s. The relavent part of the dmesg
>
> Any idea why it is deciding to use ide-scsi for /dev/hda?
>
> This causes this erro as well:
> "ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX"
>
>
>
> SCSI subsystem initialized
> libata version 1.02 loaded.
> sata_via version 0.20
> ACPI: PCI interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 185
> sata_via(0000:00:0f.0): routed to hard irq line 10
> ata1: SATA max UDMA/133 cmd 0xEFF0 ctl 0xEFE6 bmdma 0xEF90 irq 185
> ata2: SATA max UDMA/133 cmd 0xEFA8 ctl 0xEFE2 bmdma 0xEF98 irq 185
> ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003
> 88:407f
> ata1: dev 0 ATA, max UDMA/133, 390721968 sectors: lba48
> ata1: dev 0 configured for UDMA/133
> scsi0 : sata_via
> ata2: no device found (phy stat 00000000)
> scsi1 : sata_via
> Using anticipatory io scheduler
> Vendor: ATA Model: ST3200822AS Rev: 3.01
> Type: Direct-Access ANSI SCSI revision: 05
> Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
> SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
> SCSI device sda: drive cache: write back
> /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> EXT3 FS on sda3, internal journal
> hda: _NEC DVD_RW ND-2500A, ATAPI CD/DVD-ROM drive
See, there is your hda.
> hdc: WDC WD2000LB-00EDA0, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX
> as device
And there it gets taken by ide-scsi.
> scsi2 : SCSI host adapter emulation for IDE ATAPI devices
> Vendor: _NEC Model: DVD_RW ND-2500A Rev: 1.06
> Type: CD-ROM ANSI SCSI revision: 02
> sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
> Uniform CD-ROM driver Revision: 3.20
> Attached scsi CD-ROM sr0 at scsi2, channel 0, id 0, lun 0
> Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 5
>
>
> This is my boot config:
>
> title Debian GNU/Linux, kernel 2.6.8-2-k7
> root (hd0,1)
> kernel /vmlinuz-2.6.8-2-k7 root=/dev/sda3 ro
> initrd /initrd.img-2.6.8-2-k7
> savedefault
> boot
The initrd might have the ide-scsi module on it and load it. Or
something loads it later on. Hard to say without watching it boot and
probing the files.
If nothing works to disable it you can compile your own kernel without
ide-scsi support. Or try a newer kernel from etch or sid.
MfG
Goswin
Reply to: