Jump to content

No CD/DVD drives support in Buster?


laurentppol

Recommended Posts

I am trying to connect an SATA -> USB DVD-R drive to OPi3, but it fails, K3b complains about "no drive".

Here is syslog:

 

Aug 15 22:12:31 orangepi3 kernel: [34203.588120] usb 3-1.1: new high-speed USB device number 8 using xhci-hcd
Aug 15 22:12:31 orangepi3 kernel: [34203.712687] usb 3-1.1: New USB device found, idVendor=13fd, idProduct=084
0, bcdDevice= 1.14
Aug 15 22:12:31 orangepi3 kernel: [34203.712695] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNu
mber=3
Aug 15 22:12:31 orangepi3 kernel: [34203.712698] usb 3-1.1: Product: External
Aug 15 22:12:31 orangepi3 kernel: [34203.712701] usb 3-1.1: Manufacturer: Generic
Aug 15 22:12:31 orangepi3 kernel: [34203.712704] usb 3-1.1: SerialNumber: 333230383730332036363332
Aug 15 22:12:31 orangepi3 kernel: [34203.713441] usb-storage 3-1.1:1.0: USB Mass Storage device detected
Aug 15 22:12:31 orangepi3 kernel: [34203.715594] scsi host0: usb-storage 3-1.1:1.0
Aug 15 22:12:31 orangepi3 mtp-probe: checking bus 3, device 8: "/sys/devices/platform/soc/5200000.dwc3/xhci-hc
d.3.auto/usb3/3-1/3-1.1"
Aug 15 22:12:31 orangepi3 mtp-probe: bus: 3, device: 8 was not an MTP device
Aug 15 22:12:31 orangepi3 mtp-probe: checking bus 3, device 8: "/sys/devices/platform/soc/5200000.dwc3/xhci-hc
d.3.auto/usb3/3-1/3-1.1"
Aug 15 22:12:31 orangepi3 mtp-probe: bus: 3, device: 8 was not an MTP device
Aug 15 22:12:32 orangepi3 kernel: [34204.737920] scsi 0:0:0:0: CD-ROM            Slimtype DVD A  DS8A9SH   EAA
2 PQ: 0 ANSI: 0
Aug 15 22:12:32 orangepi3 kernel: [34204.738292] scsi 0:0:0:0: Attached scsi generic sg1 type 5

 

there is NO /dev/sr0 after plugging drive. At the same time SATA->USB HDD works w/o problem.

What am I missing? What should I do?

I want to record my motion recordings w/o need to transfer them to laptop.

Link to comment
Share on other sites

root@orangepi3:/var/motion# armbianmonitor -u
System diagnosis information will now be uploaded to gzip: /var/log/armbian-hardware-monitor.log.1.gz: No such file or directory
http://ix.io/2uld
Please post the URL in the forum where you've been asked for.

Here it is. Don't know why there is an error.

Link to comment
Share on other sites

19 hours ago, laurentppol said:

What am I missing? What should I do?

 

If some feature is missing from the kernel but its possible to add it? Build the kernel with that feature and send a changed config upstream that it will not be gone by update.

 

https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi64-current.config#L6518-L6525

I have no idea what else is needed to fire up CDROM. It has been 10y+ since I used it last time :) 

Link to comment
Share on other sites

On 8/16/2020 at 5:19 PM, Igor said:

 

https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi64-current.config#L6518-L6525

I have no idea what else is needed to fire up CDROM. It has been 10y+ since I used it last time :) 

Ok, here it is: "# CONFIG_BLK_DEV_SR is not set"

Not even =M (module)...

 

So I'll try to build my own kernel.

Link to comment
Share on other sites

The config You provided is for building whole Armbian? I need the one for kernel only (I have already kernel sources as I needed to compile "tmon" from there).

Just to put it in kernel source root, "make menuconfig" to change optical drives on, and "make; make install", - how do I update initrd?)

Link to comment
Share on other sites

3 minutes ago, laurentppol said:

 how do I

If you refuse using the build script to create a kernel package for your board (yes, it is possible to build the package only and not a whole image) then you are on your own.

Link to comment
Share on other sites

Ooops, You were right:

[ o.k. ] Preparing [ host ]
[ .... ] Please read documentation to set up proper compilation environment
[ .... ] http://www.armbian.com/using-armbian-tools/
[ error ] ERROR in function prepare_host [ general.sh:935 ]
[ error ] Running this tool on non x86-x64 build host in not supported
[ o.k. ] Process terminated

Problem is that I have only 32bit Linux on x86, and 64bit Armbian....

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines