[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SATA+ IDE DVD-Writer crash, and missing /dev/fd0 (Was Re: Processed: reassign 300706 to installation-reports)



[Please include my email address in replies]

Hello,

I hope someone will be able to help me solve the two remaining problems from my debian sarge install earlier this year.

On 17/06/05 20:04, Debian Bug Tracking System wrote:
Processing commands for control@bugs.debian.org:

# Automatically generated email from bts, devscripts version 2.8.14
reassign 300706 installation-reports
Bug#300706: debian sarge (debian-installer system) dvdrom and floppy issues
Bug reassigned from package `debian-installer' to `installation-reports'.

Both my Floppy drive and my DVD Writer work fine from MS-Windows. I have used them many times in recent weeks due to these two devices not working with my Debian install :(

I wonder if anyone has any ideas how to get my floppy drive working?  I
have not solved the problem yet.

I do not have an /dev/fd0, although the debian sarge install did add
this to /etc/fstab:

/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

Also, if someone could help me get my DVD-Writer working that would be
great.  Is there any documentation on how to setup an IDE DVD-Writer on
a system with SATA + IDE? (Instalation report attached again)

When I setup ide-scsi:

kernel          /vmlinuz-2.6.8-2-k7 root=/dev/sda3 hda=ide-scsi ro

I get a system wide crash (not even Ctrl+Alt+SysReq works!) during the
write when using dvdrecord.

I also get a system wide crash when using growisofs for a DVD-R from
gnomebaker GUI.

Is the kernel boot commandline ide-scsi method deprecated?  Or is there
a better way to get DVD-R writing working on Debian sarge?

I saw this message:
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX
as device

so i tried this:

title           Test kernel 2.6.8-2-k7
root            (hd0,1)
kernel          /vmlinuz-2.6.8-2-k7 root=/dev/sda3 ide-cd dev=/dev/hda ro
initrd          /initrd.img-2.6.8-2-k7
savedefault
boot

but "ide-scsi=/dev/hda" is requried, so perhaps the args will not get
through? I tried "ide-cd=/dev/hda" as well, unfortunately still scsi grabbed hda :(

Some more info, as I went through experimenting, hopefully someone will notice something:


$ lsmod |grep ide
ide_cd                 42528  0
ide_generic             1472  0
ide_disk               19264  0
cdrom                  40284  2 ide_cd,sr_mod
ide_scsi               17348  0
ide_core              138724  5
via82cxxx,ide_cd,ide_generic,ide_disk,ide_scsi
scsi_mod              124812  5 sr_mod,ide_scsi,sd_mod,sg,libata
[now3d@now2g dev]$ lsmod |grep cd
ehci_hcd               31364  0
uhci_hcd               32784  0
ohci_hcd               21380  0
usbcore               118308  6 ehci_hcd,usblp,uhci_hcd,ohci_hcd
ide_cd                 42528  0
cdrom                  40284  2 ide_cd,sr_mod
ide_core              138724  5
via82cxxx,ide_cd,ide_generic,ide_disk,ide_scsi



$ ll s*
brw-rw----  1 root cdrom 11, 0 2005-07-17 15:10 scd0
brw-rw----  1 root disk   8, 0 2005-07-17 15:05 sda
brw-rw----  1 root disk   8, 1 2005-07-17 15:05 sda1
brw-rw----  1 root disk   8, 2 2005-07-17 15:05 sda2
brw-rw----  1 root disk   8, 3 2005-07-17 15:05 sda3
crw-rw----  1 root root  21, 0 2005-07-17 15:05 sg0
crw-rw----  1 root cdrom 21, 1 2005-07-17 15:10 sg1


What is the difference between "sg0" and "scd0" ? Also sg1 whatever that
is. I only have:


IDE Primary master hda: NEC DVD-Writer

IDE Seconardy master backup drive, comes out as hdc

SATA disc, appears as sda





My friend suggested I try this, however it got stuck in the kernel, no
Oops that I could find.
# rmmod sr_mod

/var/log/syslog

Jul 17 15:37:30 now2g udev[4051]: symlink '/dev/' points to a different
device, skip removal
Jul 17 15:37:30 now2g udev[4051]: removing device node '/dev/scd0


/boot/grub/menu.list for the one i load:

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

Why is sd_mod in /etc/modules after my sarge install?  It triggers the
load of loads of scsi modules like sr_mod and ide_scsi etc..

Is there no way to get a SATA drive to appear as /dev/hde etc? That is how my RAID ATA133 hard drive used to appear on my old machine.

My friend has this in syslog

Jul 17 12:34:29 localhost syslogd 1.4.1#17: restart.
Jul 17 12:34:30 localhost udev[5347]: creating device node '/dev/fd0'
Jul 17 12:34:30 localhost kernel: klogd 1.4.1#17, log source =
/proc/kmsg started.
Jul 17 12:34:30 localhost udev[5366]: creating device node '/dev/ttyS0'
Jul 17 12:34:30 localhost udev[5367]: creating device node '/dev/ttyS1'
Jul 17 12:34:30 localhost udev[5368]: creating device node '/dev/ttyS2'
Jul 17 12:34:30 localhost udev[5369]: creating device node '/dev/ttyS3'
Jul 17 12:34:30 localhost udev[5370]: creating device node '/dev/ttyS4'
Jul 17 12:34:30 localhost udev[5371]: creating device node '/dev/ttyS5'
Jul 17 12:34:30 localhost udev[5372]: creating device node '/dev/ttyS6'
Jul 17 12:34:30 localhost udev[5373]: creating device node '/dev/ttyS7'


I do not get these tty, i get

Jul 17 16:10:05 now2g udev[3663]: removing device node '/dev/vcs1'
Jul 17 16:10:05 now2g udev[3672]: removing device node '/dev/vcsa1'
Jul 17 16:10:05 now2g /usr/sbin/cron[3648]: (CRON) INFO (Running @reboot
jobs)
Jul 17 16:10:05 now2g udev[3682]: creating device node '/dev/vcs1'
Jul 17 16:10:05 now2g udev[3695]: creating device node '/dev/vcsa1'
Jul 17 16:10:05 now2g udev[3703]: creating device node '/dev/vcs2'
Jul 17 16:10:05 now2g udev[3709]: creating device node '/dev/vcs3'
Jul 17 16:10:05 now2g udev[3747]: creating device node '/dev/vcsa2'
Jul 17 16:10:05 now2g udev[3748]: creating device node '/dev/vcsa3'
Jul 17 16:10:05 now2g udev[3779]: creating device node '/dev/vcs5'
Jul 17 16:10:05 now2g udev[3780]: creating device node '/dev/vcs6'
Jul 17 16:10:05 now2g udev[3781]: creating device node '/dev/vcs4'
Jul 17 16:10:05 now2g udev[3782]: creating device node '/dev/vcsa5'
Jul 17 16:10:05 now2g udev[3783]: creating device node '/dev/vcsa6'
Jul 17 16:10:05 now2g udev[3784]: creating device node '/dev/vcsa4'
Jul 17 16:10:05 now2g Xprt_64: No matching visual for __GLcontextMode
with visual class = 0 (32775), nplanes = 8
Jul 17 16:10:14 now2g kernel: eth0: no IPv6 routers present
Jul 17 16:11:00 now2g udev[3813]: creating device node '/dev/vcs7'
Jul 17 16:11:00 now2g udev[3821]: creating device node '/dev/vcsa7'


info from dmesg:

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
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
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
hdc: max request size: 1024KiB
hdc: 390721968 sectors (200049 MB) w/2048KiB Cache, CHS=24321/255/63
 /dev/ide/host1/bus0/target0/lun0: p1




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!

Let me know if you need any more details. (I do not wish to re-install)

I'd like to avoid further complete system crashes if possible..

Kind regards
JG
Debian-installer-version: I got netinst, from the debian site around 2005-01-27
uname -a: Linux now2g 2.6.8-2-k7 #1 Mon Jan 24 03:29:52 EST 2005 i686 GNU/Linux
Date: 2005-01-30 20:00 GMT aprox
Method: <How did you install?  What did you boot off?  If network
      install, from where?  Proxied?>

Machine: ASUS K7T880 custom build
Processor: AthlonXP 3200+ (2.2Ghz)
Memory: 1GB
Root Device: /dev/sda3 SATA drive
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda3       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda2       /boot           ext3    defaults        0       2
/dev/scd0        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0


Output of lspci and lspci -n:

$ lspci -n
0000:00:00.0 0600: 1106:0269 (rev 80)
0000:00:00.1 0600: 1106:1269
0000:00:00.2 0600: 1106:2269
0000:00:00.3 0600: 1106:3269
0000:00:00.4 0600: 1106:4269
0000:00:00.7 0600: 1106:7269
0000:00:01.0 0604: 1106:b198
0000:00:09.0 0200: 11ab:4320 (rev 13)
0000:00:0e.0 0c03: 1045:c861 (rev 10)
0000:00:0f.0 0104: 1106:3149 (rev 80)
0000:00:0f.1 0101: 1106:0571 (rev 06)
0000:00:10.0 0c03: 1106:3038 (rev 81)
0000:00:10.1 0c03: 1106:3038 (rev 81)
0000:00:10.2 0c03: 1106:3038 (rev 81)
0000:00:10.3 0c03: 1106:3038 (rev 81)
0000:00:10.4 0c03: 1106:3104 (rev 86)
0000:00:11.0 0601: 1106:3227
0000:00:11.5 0401: 1106:3059 (rev 60)
0000:00:13.0 0200: 1106:3106 (rev 86)
0000:01:00.0 0300: 10de:0333 (rev a1)


$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0269 (rev 80)
0000:00:00.1 Host bridge: VIA Technologies, Inc.: Unknown device 1269
0000:00:00.2 Host bridge: VIA Technologies, Inc.: Unknown device 2269
0000:00:00.3 Host bridge: VIA Technologies, Inc.: Unknown device 3269
0000:00:00.4 Host bridge: VIA Technologies, Inc.: Unknown device 4269
0000:00:00.7 Host bridge: VIA Technologies, Inc.: Unknown device 7269
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:09.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13)
0000:00:0e.0 USB Controller: OPTi Inc. 82C861 (rev 10)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller(rev 60)
0000:00:13.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV38 [GeForce FX 5950 Ultra] (rev a1)


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:    [O]
Configure network HW:   [O]
Config network:         [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [O]
Install boot loader:    [O]
Reboot:                 [O]

Comments/Problems:

/dev/fd0 missing, and cd/dvd writing not setup.  CD/DVD writer is:
_NEC    ' 'DVD_RW ND-2500A ' '1.06'.
This is an IDE model, which is on /dev/hda, I had to convert it to work as /dev/scd0 to write cds.





Reply to: