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

Re: Installing with new Installer-Image



On Mon, 18 Sep 2017, Stefan Niestegge wrote:

> Am 18.09.2017 um 15:11 schrieb John Paul Adrian Glaubitz:
> /sys/block is empty
> 

If I boot Adrian's ISO in the patched QEMU, this is the block device I 
get:

~ # ls -l /sys/dev/block/
lrwxrwxrwx    1 root     root             0 Sep 19 02:42 11:0 -> ../../devices/platform/mac_esp.0/host0/target0:0:2/0:0:2:0/block/sr0
~ # 

I believe that Michael used the falconide module not so long ago. We could 
probably "git bisect" to find the regression.

Michael, do you have an Atari kernel build that might be used to boot an 
installer initrd and test IDE devices?

> /sys/devices/ide0/ contains
> 0.0	0.1	ide_port	uevent
> 
> the file uevent is empty
> 
> 0.0 and 0.1 contain
> drivename media model subsytem unload_heads
> firmware modalias serial uevent
> 
> # cd 0.0
> # cat drivename
> hda
> # cat media
> disk
> # cat model
> (my HDs name, its correct)
> # cd ../0.1
> # cat model
> Optiarc DVD RW AD-7910S
> # cat modalias
> m-cdrom
> # cat uevent
> MEDIA=cdrom
> DRIVENAME=hdb
> MODALIAS=m-cdrom
> # cd subsystem
> (takes me to /sys/bus/ide/)
> # ls
> devices	drivers_autoprobe	uevent
> drivers	drivers_probe
> 

Just out of curiosity, you might try:

~ # find /sys -name hdb

This is what I get:

~ # find /sys -name sr0
/sys/devices/platform/mac_esp.0/host0/target0:0:2/0:0:2:0/block/sr0
/sys/class/block/sr0
/sys/block/sr0
~ # 

Stefan, the photo you posted of /proc/devices shows the major number for 
the ide0 block device is 3, as expected.

So, the kernel knows the name of the IDE device "hdb" and it knows the 
appropriate major number, but failed to instantiate that block device...

-- 

> 
> i really don't know what to look for
> Stefan
> 
> 
> 


Reply to: