PDA

View Full Version : put a cd into dvd drive = freeze



sirbrett
14th September 2005, 06:11 AM
title says it all. if i put a cd in my reg cdrom it doesnt have any problems but if i put it in my NEC DV-5700A it freezes my system when it tries to mount. there are no errors in the logs that i can see. its all on cable select, ive tried putting the drive on master or slave, makes no difference. i installed fedora from this drive, this makes no sense to me at all. help!!!!
-brett

tashirosgt
14th September 2005, 02:49 PM
To stimulate some speculation about your problem, you need to give more specifics. (You'll hit somebody's hotbutton.) Which version of Fedora is this? What is your other hardware? Is the DV-5700A freezing the system when you put in FC4 disk 1? Or are you talking about music cds?

sirbrett
14th September 2005, 03:25 PM
freezes when i put any disk in.

FC 4 x86_64
EPoX 8kda3i nforce 3 250gb chipset
1gb ram
amd64 3000+
SATA 120gb seagate drive
IDE 80gb seagate drive
chaintech geforce fx 5900xt
500watt powersupply


thanks!!
**edit
forgot to mention i have fedora completely updated

tashirosgt
14th September 2005, 04:16 PM
First, Is the 5700A recognized during booting? Do dmesg.
Did FC4 come with hal-device-manager? You could try to use that to find the device.
If it is recognized, I suppose the next step is to figure out whether the automounting is what causes the problems.
We need someone to tell us the simplest way to turn the automounting process off. See if there are forum messages about temporarily disabling udev and hald. Then try a command line mount.

I haven't tried mixing SATA with IDE drives yet. Has that caused anyone problems?

sirbrett
14th September 2005, 08:41 PM
i wasnt exactly sure what im looking for in dmsg but this is what i saw:


ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hdd: _NEC DV-5700A, ATAPI CD/DVD-ROM drive
hdd: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(33)

is automount a service? i could just disable it. ill try that when i get back from class
here is the full dmsg
http://www.cs.colostate.edu/~sawyer/dmsg.txt

tashirosgt
14th September 2005, 09:38 PM
Yes, I think the DVD drive is detected. Perhaps some other forum member has one and can tell us if your messages look right:
....
hdc: ATAPI 32X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(33)
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
...

I don't know if the automounting is controlled by "haldaemon" or "autofs" -- or what might break if you turn them off!

sirbrett
14th September 2005, 11:11 PM
ok i disabled autofs in the services utility. put in a disk then typed


mount /dev/hdd /mnt

and it reported that the disk was mounted as read-only, then froze up. what could that mean?

sirbrett
15th September 2005, 05:56 AM
i booted my knoppix cd from my cdrom and then put a cd into the dvd drive and it mounted just fine no crahses. any ideas?

tashirosgt
15th September 2005, 03:10 PM
One idea is to use the command
lsmod
on Fedora and then on Knoppix and see if the same modules are being used.

sirbrett
15th September 2005, 10:25 PM
ok im not sure what im looking for exactly, but here is the lsmod from knoppix


Module Size Used by
nls_cp437 9600 1
usb_storage 61120 1
nls_iso8859_1 7936 1
snd_pcm_oss 49064 0
via_agp 10624 0
sworks_agp 10784 0
sis_agp 9732 0
nvidia_agp 9628 0
intel_mch_agp 11664 0
intel_agp 19612 0
efficeon_agp 10016 0
ati_agp 10252 0
amd_k7_agp 9612 0
ali_agp 9088 0
autofs 18048 1
snd_mixer_oss 18688 2 snd_pcm_oss
snd_intel8x0 33324 1
snd_ac97_codec 62468 1 snd_intel8x0
snd_pcm 84000 2 snd_pcm_oss,snd_intel8x0
snd_timer 24836 1 snd_pcm
snd_page_alloc 12552 2 snd_intel8x0,snd_pcm
gameport 7680 1 snd_intel8x0
snd_mpu401_uart 9984 1 snd_intel8x0
snd_rawmidi 23488 1 snd_mpu401_uart
snd_seq_device 10248 1 snd_rawmidi
snd 47588 9 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_co dec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi, snd_seq_device
soundcore 11232 2 snd
amd64_agp 12360 1
agpgart 29868 11 via_agp,sworks_agp,sis_agp,nvidia_agp,intel_mch_ag p,intel_agp,efficeon_agp,ati_agp,amd_k7_agp,ali_ag p,amd64_agp
parport_pc 37568 0
parport 36936 1 parport_pc
8250 34480 0
serial_core 22528 1 8250
tsdev 9344 0
evdev 11008 0
joydev 11712 0
usbhid 41920 0
ohci_hcd 22276 0
uhci_hcd 31760 0
ds 17284 0
yenta_socket 20480 0
pcmcia_core 56772 2 ds,yenta_socket
thermal 14352 0
processor 19776 1 thermal
fan 7052 0
button 8984 0
battery 11916 0
ac 7564 0
rtc 14920 0
cloop 14976 1
sbp2 24712 0
ohci1394 33796 0
ieee1394 302008 2 sbp2,ohci1394
usbcore 95840 6 usb_storage,usbhid,ohci_hcd,uhci_hcd
ide_scsi 17156 1


and here is the lsmod from fedora core 4


Module Size Used by
vfat 13377 1
fat 54621 1 vfat
usb_storage 73225 1
parport_pc 28933 1
lp 13001 0
parport 40585 2 parport_pc,lp
autofs4 29253 2
rfcomm 42333 0
l2cap 30661 5 rfcomm
bluetooth 56133 4 rfcomm,l2cap
sunrpc 167813 1
ipt_REJECT 5569 1
ipt_state 1857 1
ip_conntrack 41497 1 ipt_state
iptable_filter 2881 1
ip_tables 19521 3 ipt_REJECT,ipt_state,iptable_filter
video 15941 0
button 6609 0
battery 9413 0
ac 4805 0
md5 4033 1
ipv6 268097 8
ohci_hcd 26849 0
ehci_hcd 41037 0
i2c_nforce2 6849 0
i2c_core 21569 1 i2c_nforce2
shpchp 94405 0
snd_intel8x0 34689 1
snd_ac97_codec 75961 1 snd_intel8x0
snd_seq_dummy 3653 0
snd_seq_oss 37057 0
snd_seq_midi_event 9153 1 snd_seq_oss
snd_seq 62289 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 8781 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 51185 0
snd_mixer_oss 17857 2 snd_pcm_oss
snd_pcm 100169 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 33605 2 snd_seq,snd_pcm
snd 57157 9 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,sn d_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd _timer
soundcore 10913 2 snd
snd_page_alloc 9669 2 snd_intel8x0,snd_pcm
forcedeth 23745 0
floppy 65269 0
dm_snapshot 17413 0
dm_zero 2113 0
dm_mirror 26029 0
ext3 132553 2
jbd 86233 1 ext3
dm_mod 58101 6 dm_snapshot,dm_zero,dm_mirror
sata_nv 9413 2
libata 47045 1 sata_nv
sd_mod 20545 5
scsi_mod 148105 3 usb_storage,libata,sd_mod

tashirosgt
16th September 2005, 05:07 AM
It's amazing to me how different these two lists are. My knowledge is obsolete, the cdrom used to be associated with ide_cd. If you do ls -l /dev/hdd on Fedora, you should see some numbers associated with the device like 11:36. As I recall the "major number", which is 11 in this example, tells what driver the device uses. So our problem would be to find out which module is associated with 11. It used to be that these numbers were standardized. If that is so, you could check whether Linux and Knoppix were using the same driver that way. How to discover what number is associated with a given module, I don't know tonight. I'll think about it tommorrow.

sirbrett
16th September 2005, 06:17 AM
cool thanks for all your help. should i go on knoppix and see what ls -l /dev/hdd is? this is the output from fedora


[brett@localhost ~]$ ls -l /dev/hdd
brw------- 1 brett disk 22, 64 Aug 15 13:50 /dev/hdd

tashirosgt
16th September 2005, 07:03 PM
I've concluded that I don't know a good way to find out what diver is associated with a device. Drivers for the 2.6 kernel may request that the kernel assign them a major number. I can't find any list of the major numbers that are standardized. And the support for a device may be built into the kernel instead of loaded as a module, so lsmod may not be relevant.

But I did find that one may specify a "driver" for an ide device when booting a kernel. The options hdd=ide-cd and hdd=ide-scsi. I don't know any other options for the dvd writer. Try those two and see if both freeze. You can hit a key when grub comes up and follow the directions to edit the boot options.

steve941
16th September 2005, 07:17 PM
you don't have kernel 2.6.12-1.1390 do you? because I had the similar problem with this kernel version but after updating kernel to 2.6.12-1.1398 or 1.1447 no more problems

sirbrett
17th September 2005, 12:07 AM
awesome!!!! setting hdd=ide-scsi in grub.conf fixed it!! thanks so much for your help tashirosgt!!