[sisyphus] cd-rw и kernel panic

Sergey Bolshakov =?iso-8859-1?q?s=2Ebolshakov_=CE=C1_belcaf=2Ecom?=
Чт Дек 6 18:25:42 MSK 2001


## On Sat, 08 Dec 2001 00:59:46 +0300
## you wrote:
[skipped]
 >>1) перегрузиться
 >>2) lsmod > a
 >>3) cdrecord -scanbus > b
 >>4) lsmod > c
 >>Содержимое a b c в студию.
 >>
 ZD> [root на localhost eugene]# /sbin/lsmod
 ZD> Module                  Size  Used by    Tainted: P
 ZD> sg                     27236   0  (autoclean)
 ZD> ppp_deflate            40064   0  (autoclean)
 ZD> bsd_comp                4000   0  (autoclean)
 ZD> ppp_async               5920   1  (autoclean)
 ZD> ppp_generic 17704 3 (autoclean) [ppp_deflate bsd_comp ppp_async]

 ZD> slhc                    4560   0  (autoclean) [ppp_generic]
 ZD> agpgart                29280   3  (autoclean)
 ZD> NVdriver              714816  20  (autoclean)
 ZD> irlan                  18400   0  (autoclean) (unused)
 ZD> irda                   81217   0  (autoclean) [irlan]
 ZD> emu10k1                52928   0
 ZD> sound                  52992   0  [emu10k1]
 ZD> soundcore               3428   7  [emu10k1 sound]
 ZD> ac97_codec_emu          9248   0  [emu10k1]
 ZD> floppy                 45828   0  (autoclean)
 ZD> serial                 44224   2  (autoclean)
 ZD> isa-pnp                27496   0  (autoclean) [serial]
 ZD> usb-ohci               17472   0  (unused)
 ZD> usbcore                48216   1  [usb-ohci]
 ZD> ide-scsi                7424   0  (autoclean)
 ZD> sr_mod                 13688   0  (unused)
 ZD> cdrom                  27068   0  [sr_mod]
 ZD> reiserfs              144640   1  (autoclean)
 ZD> apm                     9164   2
 ZD> rtc                     5624   0  (autoclean)
 ZD> sd_mod                 10492   0  (unused)
 ZD> scsi_mod               86360   4  [sg ide-scsi sr_mod sd_mod]

 ZD> [root на localhost eugene]# cdrecord -scanbus
 ZD> Cdrecord 1.11a11 (i586-alt-linux-gnu) Copyright (C) 1995-2001 JЖrg Schilling
 ZD> Linux sg driver version: 3.1.20
 ZD> Using libscg version 'schily-0.5'
 ZD> scsibus0:
 ZD>         0,0,0     0) 'HP      ' 'CD-Writer cd12n ' '1.34' Removable CD-ROM
 ZD>         0,1,0     1) *
 ZD>         0,2,0     2) *
 ZD>         0,3,0     3) *
 ZD>         0,4,0     4) *
 ZD>         0,5,0     5) *
 ZD>         0,6,0     6) *
 ZD>         0,7,0     7) *

 ZD> sg                     27236   0  (autoclean)
 ZD> ppp_deflate            40064   0  (autoclean)
 ZD> bsd_comp                4000   0  (autoclean)
 ZD> ppp_async               5920   1  (autoclean)
 ZD> ppp_generic 17704 3 (autoclean) [ppp_deflate bsd_comp ppp_async]

 ZD> slhc                    4560   0  (autoclean) [ppp_generic]
 ZD> agpgart                29280   3  (autoclean)
 ZD> NVdriver              714816  20  (autoclean)
 ZD> irlan                  18400   0  (autoclean) (unused)
 ZD> irda                   81217   0  (autoclean) [irlan]
 ZD> emu10k1                52928   0
 ZD> sound                  52992   0  [emu10k1]
 ZD> soundcore               3428   7  [emu10k1 sound]
 ZD> ac97_codec_emu          9248   0  [emu10k1]
 ZD> floppy                 45828   0  (autoclean)
 ZD> serial                 44224   2  (autoclean)
 ZD> isa-pnp                27496   0  (autoclean) [serial]
 ZD> usb-ohci               17472   0  (unused)
 ZD> usbcore                48216   1  [usb-ohci]
 ZD> ide-scsi                7424   0  (autoclean)
 ZD> sr_mod                 13688   0  (unused)
 ZD> cdrom                  27068   0  [sr_mod]
 ZD> reiserfs              144640   1  (autoclean)
 ZD> apm                     9164   2
 ZD> rtc                     5624   0  (autoclean)
 ZD> sd_mod                 10492   0  (unused)
 ZD> scsi_mod               86360   4  [sg ide-scsi sr_mod sd_mod]

Мда. Вот sd_mod лишний явно - скази-дисков у Вас вроде нету ...
Разве что попробовать кусок:
---
alias block-major-11 scsi_hostadapter
alias scsi_hostadapter ide-scsi
pre-install ide-scsi modprobe sr_mod
---
привести к виду
---
alias block-major-11 sr_mod
pre-install sr_mod modprobe -k ide-scsi
post-install sr_mod modprobe -k cdrom
options cdrom autoeject=1 lockdoor=1 check_media_type=1
---
по крайней мере у меня оно так работает.


-- 
	Трули ерз, Сергей.

"[Open Source] programming is like sex, one mistake and you have to support it
for the rest of your life."  ---  M. Sinz, CBM Inc.




Подробная информация о списке рассылки Sisyphus