New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Using a DVD Drive as HDA

Got problems with Bubba? Then this forum is for you.
Locked
dacc
Posts: 4
Joined: 16 Nov 2009, 19:26

Using a DVD Drive as HDA

Post by dacc »

Hello,

I'd like to turn my intrepid Bubba Server into a kind of network attached DVD drive. I can imagine accomplishing this by either booting from a CD, or from a custom bubba.img that I put on a memory stick.

I can boot the minimal system, and the kernel seems to see the drive:

Code: Select all

Registering ide devices.
Probing IDE interface ide0...
hda: probing with STATUS(0x00) instead of ALTSTATUS(0xfd)
hda: PIONEER DVD-RW DVR-103, ATAPI CD/DVD-ROM drive
hdb: probing with STATUS(0x00) instead of ALTSTATUS(0xfd)
hdb: probing with STATUS(0x01) instead of ALTSTATUS(0x9b)
ide0 at 0xc8810000-0xc8810007,0xc880e000 on irq 26
Registering done.
.. but when I pop a disk in nothing shows up in /proc/partitions:

Code: Select all

# cat /proc/partitions 
major minor  #blocks  name

   7     0       6520 loop0
  31     0         66 mtdblock0
  31     1       1584 mtdblock1
  31     2        462 mtdblock2
   8     0    3909092 sda
   8     1    3909055 sda1
Any thoughts? I can't think of what to try next.

Thanks,

- Daniel
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Using a DVD Drive as HDA

Post by RandomUsername »

Have you tried mounting it?

Something like:

Code: Select all

mkdir /cdrom
mount hda1 /cdrom
dacc
Posts: 4
Joined: 16 Nov 2009, 19:26

Re: Using a DVD Drive as HDA

Post by dacc »

Yeah, no love:

Code: Select all

# mount /dev/hda1 /cdrom/
mount: mounting /dev/hda1 on /cdrom/ failed
# mount -r -t iso9660 /dev/hda1 /cdrom/  
mount: mounting /dev/hda1 on /cdrom/ failed
# tail /var/log/messages
Dec 31 17:00:37 uclibc authpriv.warn dropbear[718]: wtmp_write: problem writing /var/log/wtmp: No such file or directory
Dec 31 17:00:11 uclibc syslog.info syslogd started: BusyBox v1.6.0
Dec 31 17:00:27 uclibc user.debug kernel: buttondriver: got 0x0
Dec 31 17:00:27 uclibc user.debug kernel: buttondriver: got 0x0
Dec 31 17:00:27 uclibc user.debug kernel: buttondriver: got 0x8000
Dec 31 17:00:39 uclibc authpriv.info dropbear[717]: Child connection from 192.168.0.10:59103
Dec 31 17:00:44 uclibc authpriv.notice dropbear[717]: password auth succeeded for 'root' from 192.168.0.10:59103
Dec 31 17:00:44 uclibc authpriv.warn dropbear[718]: lastlog_perform_login: Couldn't stat /var/log/lastlog: No such file or directory
Dec 31 17:00:44 uclibc authpriv.warn dropbear[718]: lastlog_openseek: /var/log/lastlog is not a file or directory!
Dec 31 17:00:44 uclibc authpriv.warn dropbear[718]: wtmp_write: problem writing /var/log/wtmp: No such file or directory

=(
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Using a DVD Drive as HDA

Post by RandomUsername »

Does the /cdrom directory exist? It doesn't on my Bubba Two.
dacc
Posts: 4
Joined: 16 Nov 2009, 19:26

Re: Using a DVD Drive as HDA

Post by dacc »

Yeah, I created the directory. Maybe I'll try replacing the kernel in the minimal image with one from Lenny raw.

Does Excito still respond on these Bubba One forums?
Locked