Re: stack smashing detected
On 2/15/23 9:16 PM, Finn Thain wrote:
> On Wed, 15 Feb 2023, Stan Johnson wrote:
>
>>
>> 1) Default Debian kernel (vmlinux-6.1.0-4-m68k, initrd-6.1.0-4-m68k)
>> Default Debian sysvinit scripts
>> Boot time (ABC... to login prompt): 15 min 3 sec
>> NIC not detected, no stack smashing
>>
>
> Did you check whether the NIC module (mac8390) got loaded? I don't see any
> sign of that in the console log. You can find out by running 'lsmod'. You
> should also check whether that module is present on the initrd. The initrd
> contents can be listed with 'zstd -dc < initrd-6.1.0-4-m68k | cpio -t'.
>
thanks
lsmod does not list mac8390:
# lsmod
Module Size Used by
sha1_generic 1844 1
ipv6 348466 14
evdev 8256 0
mac_hid 2141 0
sg 15423 0
ext4 376567 2
crc16 1081 1 ext4
mbcache 3242 1 ext4
jbd2 47872 1 ext4
crc32c_generic 1422 2
sd_mod 33916 4
t10_pi 4839 1 sd_mod
crc64_rocksoft 1667 1 t10_pi
crc64 4836 1 crc64_rocksoft
crc_t10dif 1595 1 t10_pi
crct10dif_generic 1229 1
crct10dif_common 1078 2 crct10dif_generic,crc_t10dif
mac_scsi 10842 3
However, using "modprobe mac8390" (following by restarting the network)
or adding mac8390 to /etc/modules (which was empty) both work.
# zstd -dc < initrd.img-6.1.0-4-m68k | cpio -t | grep 8390
does list mac8390.ko in the initrd:
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390/8390.ko
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390/8390p.ko
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390/apne.ko
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390/ax88796.ko
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390/hydra.ko
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390/mac8390.ko
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390/ne.ko
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390/xsurf100.ko
usr/lib/modules/6.1.0-4-m68k/kernel/drivers/net/ethernet/8390/zorro8390.ko
Reply to: